From owner-freebsd-stable Tue May 14 18:35:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id C2D0237B403 for ; Tue, 14 May 2002 18:35:37 -0700 (PDT) Received: from gw.tex.bogus (195-23-206-66.nr.ip.pt [195.23.206.66]) by pt-quorum.com (Postfix) with ESMTP id 54E23EC0A; Wed, 15 May 2002 02:34:42 +0100 (WEST) Received: by gw.tex.bogus (Postfix, from userid 1001) id C9971229; Wed, 15 May 2002 02:33:53 +0100 (WEST) Date: Wed, 15 May 2002 02:33:53 +0100 From: Nuno Teixeira To: Ian Cc: freebsd-stable Subject: Re: enable/disable softupdates in rc init idea Message-ID: <20020515013353.GA31063@gw.tex.bogus> References: <20020514143551.A2055@palomine.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Operating-System: FreeBSD 4.6-PRERELEASE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, May 14, 2002 at 12:46:04PM -0600, Ian wrote: > >> I'm talking about those who don't have console access and their system > >> was installed without softupdates on. > > > > I just stick the appropriate tunefs lines at the top of /etc/rc, reboot, and > > then take the lines out again. > > > > Chris > > > > That strikes me as a much more sensible way to handle the problem than the > original proposal, considering that enabling is very much a one-shot thing. > > -- Ian > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message Hi Ian, Yes. This is what I'm looking for. Suppose that when we do a: 1. tunefs -n enable||disable (any filesystem, any state rw, ro ,etc) 2. tunefs puts a "softupdate" bit on that filesystem 3. reboot, so that bit "softupdate" take effect I think this is a very "cool" solution but I don't know the complications with `tunefs' C code. As you say, this is a "one-shot thing". There is the problem with including this in /rc/ (like I said): "It works ok but this method is *stupid* because we need to activate softupdates *only once* and not every time that we reboot/start the machine. Thanks very much for your and all replies, Nuno Teixeira -- /* PGP fingerprint: C6D1 06ED EB54 A99C 6B14 6732 0A5D 810D 727D F6C6 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message