Re: support for mounting md(4) based filesystem at boot [PATCHES]

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Thu, 10 Jul 2003 17:22:57 -0300
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_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

Love means having to say you're sorry every five minutes.
Received on Thu Jul 10 2003 - 11:23:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC