From owner-freebsd-stable Tue May 14 12:16: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mail.lambertfam.org (www.lambertfam.org [216.223.196.6]) by hub.freebsd.org (Postfix) with ESMTP id E7BAB37B400 for ; Tue, 14 May 2002 12:16:03 -0700 (PDT) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.inch.com (Postfix) with ESMTP id 99D4B3501C for ; Tue, 14 May 2002 15:13:53 -0400 (EDT) Received: from laptop.lambertfam.org (TC2-dial-34-195.oldslip.inch.com [216.223.195.34]) by mail.lambertfam.org (Postfix) with ESMTP id 29D673501A for ; Tue, 14 May 2002 15:13:27 -0400 (EDT) Received: by laptop.lambertfam.org (Postfix, from userid 1000) id F3B9D28B09; Tue, 14 May 2002 15:15:30 -0400 (EDT) Date: Tue, 14 May 2002 15:15:30 -0400 From: Scott Lambert To: freebsd-stable@freebsd.org Subject: Re: enable/disable softupdates in rc init idea Message-ID: <20020514191530.GA3325@laptop.lambertfam.org> Reply-To: freebsd-stable@freebsd.org Mail-Followup-To: freebsd-stable@freebsd.org References: <20020514173651.GA284@gw.tex.bogus> <20020514182042.874C75D06@ptavv.es.net> <20020514183018.GE284@gw.tex.bogus> <20020514143551.A2055@palomine.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20020514143551.A2055@palomine.net> User-Agent: Mutt/1.3.28i 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 02:35:51PM -0400, Chris Johnson wrote: > On Tue, May 14, 2002 at 07:30:18PM +0100, Nuno Teixeira wrote: > > On Tue, May 14, 2002 at 11:20:42AM -0700, Kevin Oberman wrote: > > > > Date: Tue, 14 May 2002 18:36:52 +0100 > > > > From: Nuno Teixeira > > > > Sender: owner-freebsd-stable@FreeBSD.ORG > > > > =20 > > > > I'm looking for a solution to enable/disable softupdates withou= t: > > > > =20 > > > > 1. using single user mode > > > > 2. changing filesystem status, e.g.: > > > > =20 > > > > 1. is problematic for those who don't have console access to=20 > > > > machine/server > > > > =20 > > > > 2. can result in several errors in filesystems like /var > > > > > > OK. I'm a bit confused. Why do you need to be doing this? Turn on > > > softupdates on the various file systems when you install the > > > system. If it's already built, live with a single drop to single-user > > > mode and turn softupdates on. > > >=20 > > > The softupdates attribute is non-volatile. Turn it on and it stays on > > > until it's turned off. > > =20 > > I'm talking about those who don't have console access and their sys= tem=20 > > was installed without softupdates on. >=20 > I just stick the appropriate tunefs lines at the top of /etc/rc, reboot, = and > then take the lines out again. As an alternative, you may want to man rc.early on a 4-STABLE box. Rc.early is run very early in the startup process, immediately before = the filesystem check. I believe this was added for just this type of problem. I would prefer to create and remove /etc/rc.early rather than take a =20 chance of buggering /etc/rc. --=20 Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org http://www.lambertfam.org/~lambert/resume.html 3 years Sr. SysAdmin experience with FreeBSD in small & medium size ISPs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message