Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Mar 2006 18:11:59 +0000
From:      Tofik Suleymanov <tofik@oxygen.az>
To:        MC <rossiya@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Remote tunefs -n enable
Message-ID:  <4409D86F.2000803@oxygen.az>
In-Reply-To: <28a99ba50602212307g48db9a53m322fba44eb315a17@mail.gmail.com>

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

MC wrote:
> Hello again
> 
> I have another issue on the same box.  The bloke who installed FreeBSD 6.0onto
> the machine is a linux man.  He didn't know about softupdates nor apparently
> does
> he know yet about option 4 [read only singule user mode] on the bootloader.
> 
> Consequently he hasn't set softupdates on the main '/' partition
> 
> On Freebsd 4.x from ssh2 I used to:
> 
> mount -fr /dev/ad0s1a /
> tunefs -n enable /dev/ad0s1a
> mount /dev/ad0s1a /
> 
> but attempting this on FreeBSD 6.x immediately locks up the machines when in
> multiuser mode.
> On a workstaion I then tried to sneak tunefs into the first lines of
> /etc/rc.  Unfortunately it seems that
> '/' is read/write mounted before /etc/rc runs, so the tunefs just makes an
> error and the box boots up
> again without softupdates.  My question then is how to go about getting the
> tunefs line in a startup
> script, before the disk is mounted read/write and with realtime access only
> in multiuser mode by telnet/ssh2.
> 
> Or perhaps there is another means, this being BSD?
Hello,
this question should go to questions@freebsd.org list i suppose.

Anyways, you can solve your problem with sysinstall.Enter sysinstall, 
choose configure, then label management.You will see the "Toggle 
softupdates" (or something similar).This should do the trick.




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4409D86F.2000803>