Date: Wed, 22 Dec 1999 16:22:08 +1100 From: Gregory Bond <gnb@itga.com.au> To: John Baldwin <jhb@FreeBSD.ORG> Cc: freebsd-stable@FreeBSD.ORG, Ben WIlliams <williamsl@Home.Com> Subject: Re: Re[2]: SOFTUPDATES Message-ID: <199912220522.QAA09357@lightning.itga.com.au> In-Reply-To: Your message of Tue, 21 Dec 1999 23:51:32 -0500.
next in thread | raw e-mail | index | archive | help
> Err, 'mount -u -o ro /' makes root read-only again :)
Really? This actually works?!!?
sys/kern/vfs-syscalls.c has
/*
* We only allow the filesystem to be reloaded if it
* is currently mounted read-only.
*/
if ((SCARG(uap, flags) & MNT_RELOAD) &&
((mp->mnt_flag & MNT_RDONLY) == 0)) {
vput(vp);
return (EOPNOTSUPP); /* Needs translation */
}
Greg,
no expert in kernel stuff...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912220522.QAA09357>
