From owner-freebsd-questions Sun Mar 4 23:34:49 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gugod.ath.cx (dhcp6.csie.ntu.edu.tw [140.112.30.84]) by hub.freebsd.org (Postfix) with ESMTP id DA4E137B718 for ; Sun, 4 Mar 2001 23:34:32 -0800 (PST) (envelope-from gugod@gugod.ath.cx) Received: (from gugod@localhost) by gugod.ath.cx (8.11.3/8.11.3) id f257WGL83208 for freebsd-questions@FreeBSD.ORG; Mon, 5 Mar 2001 15:32:16 +0800 (CST) (envelope-from gugod) Date: Mon, 5 Mar 2001 15:32:15 +0800 From: Kang-min Liu To: freebsd-questions@FreeBSD.ORG Subject: Re: How can I use tunefs ? Message-ID: <20010305153215.A73611@gugod.ath.cx> Reply-To: gugod@intumit.com References: <01030503185103.17427@cm61-18-16-156.hkcable.com.hk> <000501c0a4df$845f3c30$1401a8c0@zoso> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000501c0a4df$845f3c30$1401a8c0@zoso>; from otterr@telocity.com on Sun, Mar 04, 2001 at 02:15:46PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Mar 04, 2001 at 02:15:46PM -0500, Otter wrote: > Softupdates are a beautful thing for optimizing the drive. If you're > running 4.2, it should already be supported in the kernel. All you > need to do is to read the man page for tunefs to see how to use it. > Tunefs is what you'll need to do to set softupdates on your slices. > Once set, they'll stay set until you turn it off. The settings remain > even after a reboot. Here is a *tricky*. Is it posibble to make the root slice soft-updated ? The answer is yes. Just boot into single user mode, and issue this : tunefs -n enable as usual. After so, us 'Ctrl-Alt-Delete' to reboot, don't use 'reboot' or 'halt' commands. And then you'll find that your root slice is soft-updated. my `mount` : /dev/ad0s1a on / (ufs, local, soft-updates) ^^^^^^^^^^^^ devfs on /dev (devfs, local) /dev/ad0s2e on /home (ufs, local, soft-updates) /dev/ad0s2f on /tmp (ufs, local, soft-updates) /dev/ad0s1e on /usr (ufs, local, soft-updates) /dev/ad0s1f on /usr/local (ufs, local, soft-updates) procfs on /proc (procfs, local) -- Kang-ming Liu gugod@gugod.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message