Searched hist:155997 (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/sbin/mount/
H A Dmount.cdiff 155997 Sat Feb 25 03:09:47 MST 2006 rodrigc 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.

Completed in 96 milliseconds