Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 15:13:12 +1100
From:      Gregory Bond <gnb@itga.com.au>
To:        Ben WIlliams <williamsl@Home.Com>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Re[2]: SOFTUPDATES 
Message-ID:  <199912220413.PAA05204@lightning.itga.com.au>
In-Reply-To: Your message of Tue, 21 Dec 1999 21:08:34 -0500.

next in thread | raw e-mail | index | archive | help
>    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.





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?199912220413.PAA05204>