NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55932: NFS root is not read only
The following reply was made to PR kern/55932; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/55932: NFS root is not read only
Date: Wed, 9 Jun 2021 01:40:08 +0000
On Sat, Jan 16, 2021 at 01:55:01PM +0000, Michael van Elst wrote:
> >and the kernel NFS mountroot code seems to alread mount / as read-write
> >(different than all other file systems mounted as root - this is bug 2).
>
> Bug 2 seems to be intentional:
>
> /*
> * Historical practice expects NFS root file systems to
> * be initially mounted r/w.
> */
> mp->mnt_flag &= ~MNT_RDONLY;
There's no reason to mount an nfs root readonly. Mounting root
readonly is so you can fsck.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index