Home | History | Annotate | only in /src/sbin/mount_ext2fs
History log of /src/sbin/mount_ext2fs
RevisionDateAuthorComments
 1.8 05-Aug-2008  pooka 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.7 27-Jun-2005  christos branches: 1.7.20; 1.7.24;
Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
 1.6 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.5 22-Mar-2003  jdolecek move getmntopts(3) to libutil, build and install also it's manpage
bump libutil minor
adjust individual mount_*/Makefile to use libutil getmntopts(3)
 1.4 19-Aug-2002  lukem Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 10-Oct-1997  christos CFLAGS->CPPFLAGS
 1.1 11-Jun-1997  bouyer Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
 1.7.24.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.7.20.1 28-Sep-2008  mjf Sync with HEAD.
 1.16 29-May-2013  wiz De-capitalize `.Nd' macro argument.

From Bug Hunting.
 1.15 22-Feb-2010  tsutsui branches: 1.15.6; 1.15.12;
32 bit UID and GID support on ext2fs has been added since 5.0
so remove description about the limitations from BUGS section.
 1.14 21-Feb-2010  wiz Call the file system "ext2" consistently. Suggested by tsutsui.
 1.13 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.12 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.11 25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.10 16-Nov-2001  wiz Sort sections.
 1.9 16-Nov-2001  wiz Whitespace nits
 1.8 05-Jun-2001  wiz Drop arguments of .Os.
 1.7 28-Jan-2000  bouyer Updates for ext2fs revision 1.
 1.6 07-Mar-1999  mycroft Clean up SYNOPSIS formatting.
 1.5 06-Feb-1998  perry macroize BSD, NetBSD, FreeBSD and misc cleanup
 1.4 15-Sep-1997  lukem * cleanup WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
 1.3 09-Jul-1997  mikel fix typos and other nits
 1.2 12-Jun-1997  bouyer Add a BUGS section, and xref options(4).
 1.1 11-Jun-1997  bouyer Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
 1.15.12.1 23-Jun-2013  tls resync from head
 1.15.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.23 21-Feb-2016  christos Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems.
 1.22 29-Aug-2011  joerg Use __dead
 1.21 05-Aug-2008  pooka 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.20 20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
 1.19 16-Jul-2007  pooka branches: 1.19.12; 1.19.16;
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.18 14-Jul-2007  dsl Add additional 'sizeof args' parameter to mount(2).
 1.17 16-Oct-2006  christos use MOPT_NULL
 1.16 16-Oct-2006  christos c99 initializer
 1.15 21-Mar-2006  christos Always check the results of getmntopts() and free them.
 1.14 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.13 05-Feb-2005  xtraeme Kill __P(), use ANSI function declarations; WARNS=3.
 1.12 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.11 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.10 22-Mar-2003  jdolecek use <> rather than "" for #include mntopts.h
 1.9 21-Sep-2002  christos MNT_GETARGS support
 1.8 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.7 14-Apr-2000  simonb Don't declare 'extern opt*' getopt variables.
 1.6 02-Dec-1998  kenh Do this for ext2fs as well, because Manuel said so.
 1.5 26-Jul-1998  mycroft const poisoning.
 1.4 01-Mar-1998  fvdl Merge with Lite2 + local changes
 1.3 16-Sep-1997  lukem apply mods from lite-2 vers. of mount/mount_ufs.c (which this is derived from)
 1.2 15-Sep-1997  lukem * cleanup WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
 1.1 11-Jun-1997  bouyer Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.
 1.19.16.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.12.1 28-Sep-2008  mjf Sync with HEAD.
 1.1 05-Aug-2008  pooka branches: 1.1.2; 1.1.4;
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.1.4.2 28-Sep-2008  mjf Sync with HEAD.
 1.1.4.1 05-Aug-2008  mjf file mount_ext2fs.h was added on branch mjf-devfs2 on 2008-09-28 11:17:12 +0000
 1.1.2.2 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.2.1 05-Aug-2008  wrstuden file mount_ext2fs.h was added on branch wrstuden-revivesa on 2008-09-18 04:28:26 +0000

RSS XML Feed