From owner-freebsd-stable Tue Dec 21 20:51:46 1999 Delivered-To: freebsd-stable@freebsd.org Received: from server.baldwin.cx (ric-39.freedomnet.com [198.240.105.39]) by hub.freebsd.org (Postfix) with ESMTP id ED8EA15037 for ; Tue, 21 Dec 1999 20:51:42 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id XAA14929; Tue, 21 Dec 1999 23:51:34 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <199912220451.XAA14929@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199912220413.PAA05204@lightning.itga.com.au> Date: Tue, 21 Dec 1999 23:51:32 -0500 (EST) From: John Baldwin To: Gregory Bond Subject: Re: Re[2]: SOFTUPDATES Cc: freebsd-stable@FreeBSD.org, Ben WIlliams Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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