Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 1999 23:51:32 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Gregory Bond <gnb@itga.com.au>
Cc:        freebsd-stable@FreeBSD.org, Ben WIlliams <williamsl@Home.Com>
Subject:   Re: Re[2]: SOFTUPDATES
Message-ID:  <199912220451.XAA14929@server.baldwin.cx>
In-Reply-To: <199912220413.PAA05204@lightning.itga.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22-Dec-99 Gregory Bond wrote:
>>    How far back is "used to"? I have a 3.2-RELEASE box that I tried
>> booting into single-user mode both via `shutdown now` and 'boot -s'
>> and couldn't get it to enable soft updates on /. 
> 
> Looking at the CVS logs for sbin/tunefs/tunefs.c shows
> ----------------------------
> revision 1.7
> date: 1999/01/20 01:22:39;  author: luoqi;  state: Exp;  lines: +47 -4
> branches:  1.7.2;
> Allow tuning of read-only mounted file system.
> 
> --------- 
> 
> which is (IIUC) before 3.1-R. But there is some other magic to do with
> whether
> the root partition is RO or RW when booting that is (i think) later.
> 
> Note that 'shutdown' is not the same as 'boot -s':  In the latter case, the
> root partition is mounted read-only and has never been mounted writable
> (since
> the last boot).  In the former case, the root partition was mounted writable
> in
> multiuser mode and there is no way to go back to read-only, so the root
> partition is still writable (and hence not tunefs-able) in single-user mode.

Err, 'mount -u -o ro /' makes root read-only again :)

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


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?199912220451.XAA14929>