Date: Thu, 10 Jul 2003 17:22:57 -0300 From: "Daniel C. Sobral" <dcs@tcoip.com.br> To: Andrew Kenneth Milton <akm@theinternet.com.au> Cc: FreeBSD-rc@yahoogroups.com Subject: Re: support for mounting md(4) based filesystem at boot [PATCHES] Message-ID: <3F0DCB21.1060704@tcoip.com.br> In-Reply-To: <20030619124850.GI476@zeus.theinternet.com.au> References: <3EF1ABDF.8080605@earthmagic.org> <3135.1056026240@critter.freebsd.dk> <20030619124850.GI476@zeus.theinternet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Andrew Kenneth Milton wrote:
> +-------[ Poul-Henning Kamp ]----------------------
> |
> | I think we need somebody to reconsider how we configure our filesystems
> | in the future, in order to avoid a confusion of config files whose
> | interrelationship users will have no chance of figuring out.
> |
> | We have CCD, GBDE, MD and in the future likely other technologies for
> | configuring the underlying devices, we have FSCK, UFS and NFS and
> | other filesystems to mount.
> |
> | Somebody must be able to come up with some creative stuff here... ?
>
> We want ....
>
> A REGISTRY!
>
> Ni! Ni! Ni! Ni! Ni! Ni!
Bah. Add a prerequisites field to fstab with all the filesystems that
must be mounted before that one can be mounted.
Then just teach mountlocal and mountremote to iterate mounting until no
new filesystems can be mounted.
Maybe we should add a "remote" flag to fstab, and make the rc.d script
read fstab itself instead of relying on mount to know which filesystems
are local and which are remote. The rc.d scripts can then extract that
info and benefit from it in two ways:
1) It will know which filesystems can be mounted before network, and
which require network.
2) The filesystems themselves could be used in BEFORE or REQUIRE.
Mmmmmm.
Either rcorder gets taught about this improved fstab, or we would have
to add a program that reads fstab and then generates rc.d scripts as
appropriate. Not sure I like the latter, but it has the advantage of
keeping rcorder simple.
Just food for thought.
--
Daniel C. Sobral (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
VIVO Centro Oeste Norte
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo@tco.net.br
Daniel.Sobral@tcoip.com.br
dcs@tcoip.com.br
Outros:
dcs@newsguy.com
dcs@freebsd.org
capo@notorious.bsdconspiracy.net
Love means having to say you're sorry every five minutes.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0DCB21.1060704>
