History log of /netbsd-src/sbin/mount_ext2fs/mount_ext2fs.c (Results 1 – 23 of 23)
Revision Date Author Comments
# a0647817 21-Feb-2016 christos <christos@NetBSD.org>

Add MOPT_{REL,NO}ATIME as supported by the underlying filesystems.


# baa8e84b 29-Aug-2011 joerg <joerg@NetBSD.org>

Use __dead


# 99fed726 05-Aug-2008 pooka <pooka@NetBSD.org>

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.

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

show more ...


# 6543a91f 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)


# 704e0753 16-Jul-2007 pooka <pooka@NetBSD.org>

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 s

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.

show more ...


# 7af72065 14-Jul-2007 dsl <dsl@NetBSD.org>

Add additional 'sizeof args' parameter to mount(2).


# 5afd1c0a 16-Oct-2006 christos <christos@NetBSD.org>

use MOPT_NULL


# cf911495 16-Oct-2006 christos <christos@NetBSD.org>

c99 initializer


# 7067dcb9 21-Mar-2006 christos <christos@NetBSD.org>

Always check the results of getmntopts() and free them.


# 2a3e5eeb 23-Sep-2005 jmmv <jmmv@NetBSD.org>

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

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.

show more ...


# 816b5578 05-Feb-2005 xtraeme <xtraeme@NetBSD.org>

Kill __P(), use ANSI function declarations; WARNS=3.


# fdd16c54 31-Jan-2005 erh <erh@NetBSD.org>

Fix PR#3617 and PR#3205: call realpath to convert mount points and paths to
device nodes into absolute paths before using them.


# 276d62f6 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.


# 899bce09 22-Mar-2003 jdolecek <jdolecek@NetBSD.org>

use <> rather than "" for #include mntopts.h


# 9f9ee297 21-Sep-2002 christos <christos@NetBSD.org>

MNT_GETARGS support


# debb6d80 30-Oct-2000 jdolecek <jdolecek@NetBSD.org>

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 compile

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

show more ...


# 48a5c3ef 14-Apr-2000 simonb <simonb@NetBSD.org>

Don't declare 'extern opt*' getopt variables.


# 484162b8 02-Dec-1998 kenh <kenh@NetBSD.org>

Do this for ext2fs as well, because Manuel said so.


# 0db548a9 26-Jul-1998 mycroft <mycroft@NetBSD.org>

const poisoning.


# e5bc90f4 01-Mar-1998 fvdl <fvdl@NetBSD.org>

Merge with Lite2 + local changes


# 8895fa19 16-Sep-1997 lukem <lukem@NetBSD.org>

apply mods from lite-2 vers. of mount/mount_ufs.c (which this is derived from)


# 6a6a54d5 15-Sep-1997 lukem <lukem@NetBSD.org>

* cleanup WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly


# 8f7c2b37 11-Jun-1997 bouyer <bouyer@NetBSD.org>

Add support programs for ext2fs. fsck_ext2fs is derived from fsck_ffs.