Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 02:53:35 -0800
From:      steve <schan_ca@geocities.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Soft update questions.
Message-ID:  <3BF7932F.8894FEE9@geocities.com>
References:  <001801c17002$5ce82dd0$3000a8c0@sickness> <3BF76FE3.1A3FC020@geocities.com> <20011118103305.A12483@student.uu.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Dude.

Erik Trulsson wrote:

> On Sun, Nov 18, 2001 at 12:22:59AM -0800, steve wrote:
> > Hello, I have a few questions about soft updates.
> >
> > [1]    I did the following to enable soft updates
> >             - hit space bar during boot up
> >             - boot -s to enter single user mode
> >             - hit enter to accept default shell
> >             - tunefs -n enable /
> >             - tunefs -n enable /usr
> >             - tunefs -n enable /var
> >             - tunefs -n enable /tmp   <--- ***
> >             - reboot
> >
> >         When I do the above, for /tmp, I get:
> >             tunefs: /tmp : not a block or character device
>
> I guess /tmp is not a filesystem but just a normal directory.
> What is the contents of /etc/fstab ?

Oops, you're right. There is no /tmp mount point in /etc/fstab.

>
> >
> > [2]    I read that once tunefs is enabled, it stays enabled
> >         even after reboot. But not after power off/on right?
>
> Yes, it does stay enabled. If softupdates is enabled or not is stored on
> the disk.
>
> >
> > [3]    Where in /etc should I put a script to enable soft updates
> >            during boot up?
>
> Nowhere. It is not necessary.  If in doubt just give the command 'mount'
> which shows all mounted filesystems and is softupdates is enabled it will
> say so.
>

You're right again.

/dev/ad2s2a on / (ufs, local, soft-updates)
/dev/ad2s2f on /usr (ufs, local, soft-updates)
/dev/ad2s2e on /var (ufs, local, soft-updates)

Thanks again.
Steve





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?3BF7932F.8894FEE9>