From owner-freebsd-current Fri Jan 8 16:43:04 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA19038 for freebsd-current-outgoing; Fri, 8 Jan 1999 16:43:04 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zippy.dyn.ml.org (pm3-7.ppp.wenet.net [206.15.85.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA19029 for ; Fri, 8 Jan 1999 16:43:00 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@zippy.dyn.ml.org [127.0.0.1]) by zippy.dyn.ml.org (8.9.1/8.8.8) with ESMTP id QAA01647; Fri, 8 Jan 1999 16:45:16 -0800 (PST) (envelope-from garbanzo@hooked.net) Date: Fri, 8 Jan 1999 16:45:15 -0800 (PST) From: Alex Zepeda X-Sender: garbanzo@zippy.dyn.ml.org To: David Bushong cc: rwl@gymnet.com, freebsd-current@FreeBSD.ORG Subject: Re: boot single with new loader? In-Reply-To: <199901081719.JAA14533@soda.CSUA.Berkeley.EDU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 8 Jan 1999, David Bushong wrote: > You can't enable soft updates from single user; the disk has to be completely > unmounted. Either boot from a floppy, and run it on the hard disk, or do > what I did (being to lazy to make a floppy), and boot the machine; run > tunefs on the live disk, type sync 5 times, and smack the power switch. Uh no. I just enabled softupdates on a box today. Rebooted into single user mode (plus I did an installworld and new kernel b4 that so I figured what the hell), tunefs -n enable /dev/rwd0s1a; reboot. Worked like a charm. No fuss, no muss, and rm -rf /usr/obj was MUCH quicker :) > After all, it's not actually that the disk must be unmounted; it's > that the act of unmounting it would reset the tunefs flag in the > superblock; erasing what you did. If you were to set it on a mounted > filesystem and reboot normally, it would unmount the fs normally, > undoing your work. As for how to boot into single user; minimizing > the danger of powercycling the machine; Eh yes sorta. If you unmount first, it's fine. If you boot into single user mode (which by default only mounts /, and r/o at that) you're fine. You can usu hit reset from single-user mode and not worry about dirty filesystems for that reason. > I don't know, sorry; I haven't tried it since I switched to the new > boot blocks. Well duh. - alex | "Contrary to popular belief, penguins are not the salvation of modern | | technology. Neither do they throw parties for the urban proletariat." | | Powered by FreeBSD http://www.freebsd.org/ | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message