freebsd-nq/sbin/mount
Craig Rodrigues 88e2c33564 If we specify: mount -u (update), without specifying an
additional -r (read-only) flag or or -w (read-write) flag,
then assume we want, mount -u -w.

When doing a mount update, this will implicitly pass a "noro" mount
option down to the VFS layer.
vfs_mergeopts() in vfs_mount.c will then remove the "ro" mount option
if it exists in the mount options for a mounted file system.
This means that "mount -u" works the same as "mount -u -w"
and will convert a read-only mount to read-write.
2006-02-25 05:09:47 +00:00
..
extern.h Remove UFS-specific parts from mount(8). 2005-11-23 23:22:56 +00:00
getmntopts.3 Fix prototype. 2005-11-24 14:27:53 +00:00
getmntopts.c In build_iovec(), if passed in len is -1, check to see if 2005-11-14 17:39:00 +00:00
Makefile Remove UFS-specific parts from mount(8). 2005-11-23 23:22:56 +00:00
mntopts.h Remove unsupported "dev" option from comments of mntopts.h. 2005-12-02 03:55:02 +00:00
mount_fs.c - Make size parameter to build_iovec() a size_t, not an int 2005-11-13 01:27:57 +00:00
mount.8 Update text to reflect that: 2006-02-25 00:47:53 +00:00
mount.c If we specify: mount -u (update), without specifying an 2006-02-25 05:09:47 +00:00
pathnames.h
vfslist.c