History log of /src/sbin/mount_ffs/mount_ffs.c |
Revision | | Date | Author | Comments |
1.30 |
| 18-Sep-2021 |
christos | Change the default for ACLs to be posix1e instead of nfsv4 to match FreeBSD. Requested by chuq.
|
1.29 |
| 16-May-2020 |
christos | Add ACL support for FFS. From FreeBSD.
|
1.28 |
| 19-Oct-2012 |
drochner | Implement experimental support to pass notifications that a file was deleted from the filesystem to the disk driver, commonly known as "discard" or "trim". fs/driver support is in ffs and ata wd for now. This is what was posted here: http://mail-index.netbsd.org/tech-kern/2012/02/28/msg012813.html with minor cleanup, and the global switch replaced by a mount option.
|
1.27 |
| 29-Aug-2011 |
joerg | branches: 1.27.2; 1.27.8; Use __dead
|
1.26 |
| 17-Jun-2011 |
manu | Add mount -o extattr option to enable extended attributs (corrently only for UFS1). Remove kernel option for EA backing store autocreation and do it by default. Add a sysctl so that autocreated attriutr size can be modified.
|
1.25 |
| 05-Aug-2008 |
pooka | branches: 1.25.10; 1.25.18; Refactor mount utilities to provide a mount_fs_parseargs() routine. Use this routine both in mount_fs and rump_fs to provide equivalent command line parameters and therefore usage interchangeability. While doing this, combine some common mountgoop to mountprog.h
|
1.24 |
| 31-Jul-2008 |
simonb | Merge the simonb-wapbl branch. From the original branch commit:
Add Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge.
OK'd by core@, releng@.
|
1.23 |
| 20-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. (Tweak some to use a consistent format.)
|
1.22 |
| 16-Jul-2007 |
pooka | branches: 1.22.12; 1.22.16; 1.22.18; Make all mount(2) return value error checks against -1. Some file systems just checked != 0, breaking MNT_GETARGS. Others worked with < 0, but make them check against -1 too for consistency. And sprinkle some stylish line wrapping where appropriate.
|
1.21 |
| 14-Jul-2007 |
dsl | Add additional 'sizeof args' parameter to mount(2).
|
1.20 |
| 16-Oct-2006 |
christos | use MOPT_NULL
|
1.19 |
| 21-Mar-2006 |
christos | Always check the results of getmntopts() and free them.
|
1.18 |
| 23-Sep-2005 |
jmmv | Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
1.17 |
| 05-Feb-2005 |
xtraeme | ll __P(), use ANSI function declarations; WARNS=3.
|
1.16 |
| 31-Jan-2005 |
erh | Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to device nodes into absolute paths before using them.
|
1.15 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
|
1.14 |
| 22-Mar-2003 |
jdolecek | use <> rather than "" for #include mntopts.h
|
1.13 |
| 21-Sep-2002 |
christos | MNT_GETARGS support
|
1.12 |
| 30-Oct-2000 |
jdolecek | make the code includable into other programs: * make static all symbols which do not need to be exported * rename main() to mount_FOO() * new main() now just calls mount_FOO(), main() is only compiled in if MOUNT_NOMAIN is not defined * a_gid(), a_uid() and a_mask() were put into ../mount/fattr.[ch], local versions removed
|
1.11 |
| 15-Jun-2000 |
fvdl | Enable -o softdep.
|
1.10 |
| 14-Apr-2000 |
simonb | branches: 1.10.2; Don't declare 'extern opt*' getopt variables.
|
1.9 |
| 01-Dec-1998 |
kenh | Add support for a new flag: "nodevmtime". This sets the MNT_NODEVMTIME mount flag.
|
1.8 |
| 26-Jul-1998 |
mycroft | const poisoning.
|
1.7 |
| 01-Mar-1998 |
fvdl | Merge with Lite2 + local changes
|
1.6 |
| 16-Sep-1997 |
lukem | apply mods from lite-2 vers. of mount/mount_ufs.c (which this is derived from)
|
1.5 |
| 15-Sep-1997 |
lukem | * update for WARNS=1 * getopt returns -1 not EOF * fix .Nm usage
|
1.4 |
| 30-Jan-1997 |
tls | add support for noatime mount flag
|
1.3 |
| 13-Apr-1996 |
jtc | Add const qualifier to mopts table
|
1.2 |
| 11-Nov-1995 |
mycroft | MOUNT_UFS -> MOUNT_FFS, and remove bogus comment.
|
1.1 |
| 12-Jul-1995 |
cgd | branches: 1.1.2; split FFS mount code out of mount(8). the correct way to name fast file systems is now 'ffs', though 'ufs' is tolerated in fstab for backward compatibility.
|
1.1.2.1 |
| 01-Nov-1995 |
jtc | complete ufs -> ffs change (From John Kohl; PR #1403)
|
1.10.2.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.22.18.2 |
| 28-Jul-2008 |
simonb | Sync with head.
|
1.22.18.1 |
| 10-Jun-2008 |
simonb | Initial commit of Wasabi System's WAPBL (Write Ahead Physical Block Logging) journaling code. Originally written by Darrin B. Jewell while at Wasabi and updated to -current by Antti Kantee, Andy Doran, Greg Oster and Simon Burge.
Still a number of issues - look in doc/BRANCHES for "simonb-wapbl" for more info.
|
1.22.16.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.22.12.1 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.25.18.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.25.10.3 |
| 21-Oct-2010 |
uebayasi | After consideration, put back "xip" mount option.
The internal behavior is totally different between with and without the option; automatic detection and/or fall-through are not user friendly. mount(8) returning the "xip" flag is also informative.
|
1.25.10.2 |
| 28-May-2010 |
uebayasi | Remove the "xip" option from mount_ffs(8) for simplicity.
|
1.25.10.1 |
| 11-Feb-2010 |
uebayasi | Support the "xip" option.
|
1.27.8.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.27.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|