Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2002 14:35:51 -0400
From:      Chris Johnson <cjohnson@palomine.net>
To:        Nuno Teixeira <nunotex@pt-quorum.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: enable/disable softupdates in rc init idea
Message-ID:  <20020514143551.A2055@palomine.net>
In-Reply-To: <20020514183018.GE284@gw.tex.bogus>; from nunotex@pt-quorum.com on Tue, May 14, 2002 at 07:30:18PM %2B0100
References:  <20020514173651.GA284@gw.tex.bogus> <20020514182042.874C75D06@ptavv.es.net> <20020514183018.GE284@gw.tex.bogus>

next in thread | previous in thread | raw e-mail | index | archive | help

--d6Gm4EdcadzBjdND
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 <nunotex@pt-quorum.com>
> > > Sender: owner-freebsd-stable@FreeBSD.ORG
> > >=20
> > >=20
> > >     Hello to all,
> > >    =20
> > >     I'm looking for a solution to enable/disable softupdates without:
> > >    =20
> > >     	1. using single user mode
> > >     	2. changing filesystem status, e.g.:
> > >    =20
> > >     		mount -ufo ro <filesystem>
> > >         	tunefs -n enable <filesystem>
> > >         	mount -ufo rw <filesystem>
> > >    =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
> > >    =20
> > >    =20
>=20
>     <snip>
>    =20
>    =20
> >=20
> > 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.
> >
>     Hi,
>    =20
>     I'm talking about those who don't have console access and their syste=
m=20
>     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

--d6Gm4EdcadzBjdND
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE84VkGyeUEMvtGLWERAl1VAJwJi8rXvI23O1UiA7ZXavb9EewPaQCfZrC4
ySXb3erEQnVpKLJ68yQD0hw=
=b4lw
-----END PGP SIGNATURE-----

--d6Gm4EdcadzBjdND--

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?20020514143551.A2055>