Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 1999 17:12:49 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Alexander Maret <maret@axis.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Which /etc-files do I need until vinum is initialized?
Message-ID:  <19990727171249.X62218@freebie.lemis.com>
In-Reply-To: <91DA20EC3C3DD211833400A0245A4EA9BA10A8@erlangen01.axis.de>; from Alexander Maret on Tue, Jul 27, 1999 at 09:32:51AM %2B0200
References:  <91DA20EC3C3DD211833400A0245A4EA9BA10A8@erlangen01.axis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 27 July 1999 at  9:32:51 +0200, Alexander Maret wrote:
> Hi,
>
> I configured vinum (RAID 1) on a 3.2S System. As I want to mirror
> as much as I need to keep the system running (in case of a drive 1
> failure) I mirrored /etc as well. At boot time (until vinum is
> initialized) the system only has the following files:
>
> /etc/defaults/rc.conf
> /etc/rc.conf
> /etc/rc
> /etc/fstab
> /etc/gettytab
> /etc/login.conf
> /etc/ttys
>
> Do I need all of these files or can I put some of them away
> (for example /etc/ttys or /etc/gettytab)? The files
> would of course be available as soon as vinum is initialized
> and /etc mounted.

Interesting question.  In view of the fact that I intend to make the
root file system bootable One Of These Days, I don't think you should
go to too much trouble here: after all, they're only a few kilobytes
each.  But I think you could eliminate these ones:

> /etc/gettytab
> /etc/login.conf
> /etc/ttys

You might find it advantageous to modify /etc/rc to mount /etc (and
anything else you want) immediately after starting Vinum:

   if [ X$start_vinum = XYES ]; then
   	vinum start
	mount /etc
   elif [ -n "$vinum_drives" ]; then
   	vinum read $vinum_drives
	mount /etc
   fi

Greg
--
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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