diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2006-02-25 05:09:47 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2006-02-25 05:09:47 +0000 |
commit | c8955355a02aa63f0ebd72c62440a93dec70fb91 (patch) | |
tree | beaf208ef7dd3ae9ed901cb35a7473e4daa830db /usr.bin/tsort | |
parent | 8a3d42569d0d408904949119bc454be2f044272e (diff) | |
download | FreeBSD-src-c8955355a02aa63f0ebd72c62440a93dec70fb91.zip FreeBSD-src-c8955355a02aa63f0ebd72c62440a93dec70fb91.tar.gz |
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.
Diffstat (limited to 'usr.bin/tsort')
0 files changed, 0 insertions, 0 deletions