From owner-freebsd-stable@FreeBSD.ORG Wed Feb 22 07:07:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8601116A420 for ; Wed, 22 Feb 2006 07:07:42 +0000 (GMT) (envelope-from rossiya@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7285443D46 for ; Wed, 22 Feb 2006 07:07:41 +0000 (GMT) (envelope-from rossiya@gmail.com) Received: by nproxy.gmail.com with SMTP id h2so871600nfe for ; Tue, 21 Feb 2006 23:07:40 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=ZxLg+mXKZXA+GiqYHbOWofzruO7fv8kRoCPfe3Mf4RRIGAtAczaK9+qJYNw/mZWduV20UNHp20Tv7i0RjHYvCb+u+t0Tr/JGHElKXGz1/6NgSLecI+3t9zc6mD1JzZJKKiOcBzXPyIpnGMKU6BUfpENfIHmmY5dgNFXlp6AX1Us= Received: by 10.48.238.20 with SMTP id l20mr1749243nfh; Tue, 21 Feb 2006 23:07:36 -0800 (PST) Received: by 10.48.219.4 with HTTP; Tue, 21 Feb 2006 23:07:36 -0800 (PST) Message-ID: <28a99ba50602212307g48db9a53m322fba44eb315a17@mail.gmail.com> Date: Tue, 21 Feb 2006 23:07:36 -0800 From: MC To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Remote tunefs -n enable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 07:07:42 -0000 Hello again I have another issue on the same box. The bloke who installed FreeBSD 6.0o= nto the machine is a linux man. He didn't know about softupdates nor apparentl= y 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 i= n 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?