Date: Mon, 5 Mar 2001 15:32:15 +0800 From: Kang-min Liu <gugod@gugod.ath.cx> To: freebsd-questions@FreeBSD.ORG Subject: Re: How can I use tunefs ? Message-ID: <20010305153215.A73611@gugod.ath.cx> In-Reply-To: <000501c0a4df$845f3c30$1401a8c0@zoso>; from otterr@telocity.com on Sun, Mar 04, 2001 at 02:15:46PM -0500 References: <01030503185103.17427@cm61-18-16-156.hkcable.com.hk> <000501c0a4df$845f3c30$1401a8c0@zoso>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <root_fs> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010305153215.A73611>