Add comment about specifying "ro" mount option when
doing an update mount on a read-only file system. Requested by: yar
This commit is contained in:
parent
73796e923c
commit
d698c6ef56
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user