Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 17:16:14 BST
From:      Michael Searle <searle@longacre.demon.co.uk>
To:        questions@freefall.freebsd.org
Subject:   Async/ro partitions, command timer
Message-ID:  <mE463D07C@longacre.demon.co.uk>

next in thread | raw e-mail | index | archive | help
My system has /usr, /home, /var and / partitions, set up in the standard way
except for /tmp being linked to /var/rtmp (not /var/tmp, so that isn't
cleared at boot.) What I want to do is mount / and maybe /usr read-only, to
reduce the chance of FS damage when crashing, and mount /var async for
better speed with temporary files.

Are there any problems with this? (as in things that have to be r/w in / or
/usr. I know async is less reliable, which is why I only want to do it to
/var, not /home.) I can mount read-only, but how exactly do I mount async?

Also, is there some way of running timed commands (in a similar way to
cron), but if at the time specified FreeBSD is not running, then the command
will be run at boot time? (My system is dual-boot, and could be in DOS at
any given time. It is never running at all overnight when cron looks for
/etc/*ly.)

It wouldn't matter if this only ran once, at boot, rather than every minute,
as it would only be used for things like /etc/*ly and I boot at least once
every day. At the moment, I usually forget about them for a long time, then
do /etc/daily; /etc/weekly; /etc/monthly, which isn't very useful. The only
other way without this timer would be to run all three at boot, which would
be slow.

-- 
Michael Searle - searle@longacre.demon.co.uk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?mE463D07C>