diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2008-04-04 01:50:58 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2008-04-04 01:50:58 +0000 |
commit | d698c6ef567a3b96c01ea7adff77c79aaae7889a (patch) | |
tree | a49ec5ec5de2e27031bfe939a090557f48bb281b /sbin | |
parent | 73796e923cfa788cc9ed7181d3a182388e3b466d (diff) | |
download | FreeBSD-src-d698c6ef567a3b96c01ea7adff77c79aaae7889a.zip FreeBSD-src-d698c6ef567a3b96c01ea7adff77c79aaae7889a.tar.gz |
Add comment about specifying "ro" mount option when
doing an update mount on a read-only file system.
Requested by: yar
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/fsck_ffs/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/main.c b/sbin/fsck_ffs/main.c index 1e6f370..f24d49b 100644 --- a/sbin/fsck_ffs/main.c +++ b/sbin/fsck_ffs/main.c @@ -541,6 +541,10 @@ chkdoreload(struct statfs *mntp) build_iovec(&iov, &iovlen, "errmsg", errmsg, sizeof(errmsg)); build_iovec(&iov, &iovlen, "update", NULL, 0); + /* + * XX: We need the following line until we clean up + * nmount parsing of root mounts and NFS root mounts. + */ build_iovec(&iov, &iovlen, "ro", NULL, 0); if (nmount(iov, iovlen, fflags) == 0) { return (0); |