From owner-freebsd-questions Mon May 20 3:27:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by hub.freebsd.org (Postfix) with ESMTP id DB90637B409 for ; Mon, 20 May 2002 03:27:08 -0700 (PDT) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 20 May 2002 11:26:58 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 179kLE-0004va-00; Mon, 20 May 2002 11:24:36 +0100 Date: Mon, 20 May 2002 11:24:35 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: BSD Freak Cc: FreeBSD Questions Subject: Re: Enabling soft updates via SSH In-Reply-To: <5d6cdc5da5b7.5da5b75d6cdc@mbox.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 20 May 2002, BSD Freak wrote: > Hi all, > > I have been able to enable soft updates by booting into single user > mode, But I remotely manage several servers via SSH and need to enable > soft updates on the / file system. A reboot is OK, but since I don't > have console access, single user mode is out of the question. I tried > a "tunefs -n enable /" while logged in via SSH and it gave me the > following, but it didn't work: > > tunefs: soft updates set > tunefs: cannot open /dev/ad0s1a: Device busy > > Any help would be kindly appreciated..... When the system is first booted, / is mounted read-only and is in a suitable state to enable softupdates on. Look at the top of /etc/rc - in particular, /etc/rc.early is what you're after. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 RFC822 jan.grant@bris.ac.uk "No generalised law is without exception." A self-demonstrating axiom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message