Date: Sat, 25 Feb 2006 05:09:47 +0000 (UTC) From: Craig Rodrigues <rodrigc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount mount.c Message-ID: <200602250509.k1P59lcn068283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rodrigc 2006-02-25 05:09:47 UTC FreeBSD src repository Modified files: sbin/mount mount.c Log: 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. Revision Changes Path 1.82 +7 -11 src/sbin/mount/mount.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602250509.k1P59lcn068283>