Date: Tue, 9 Aug 2005 15:40:32 -0700 From: Brooks Davis <brooks@one-eyed-alien.net> To: Jeremie Le Hen <jeremie@le-hen.org> Cc: drvince@anonymnet.net, freebsd-current@freebsd.org Subject: Re: More into /etc/rc.d/jail Message-ID: <20050809224032.GC15004@odin.ac.hmc.edu> In-Reply-To: <20050809220526.GD45385@obiwan.tataz.chchile.org> References: <N1-uLBXxM-zn8@Safe-mail.net> <20050809214330.GZ45385@obiwan.tataz.chchile.org> <20050809215939.GA15004@odin.ac.hmc.edu> <20050809220526.GD45385@obiwan.tataz.chchile.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--+xNpyl7Qekk2NvDX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 10, 2005 at 12:05:26AM +0200, Jeremie Le Hen wrote: > Hi Brooks, >=20 > > > This was recently discussed in some thread. The problem with this > > > approach is that file backed md(4) devices are too slow to make it > > > standard. This is why this won't go into FreeBSD, IMHO. > >=20 > > Nonsense. Integrating support for mounting file backed MD file systems > > at boot would be quite logical even if md(4) devices are slow. In a > > large portion of cases, the overhead isn't relevent compared to the > > administrative freedom granted by using files instead of partitions. >=20 > Ok. Then Stefan Bethke's script (see his mail in this thread) might be > a better solution since it is a more generic. However it is not > explicitely bound to jails has initially requested, so a note in jail(8) > manpage would be worth in this case. I'm of two minds about a more generic solution. On hand jails aren't the only logical consumers of file backed mds. On the other hand, there's a fair bit of value in being able to start and stop a jail with "/etc/rc.d/jail start|stop <jailname>". The answer here might be to have an mdmount (or something) script that runs fairly early in the boot process, but also supports a "mdmount start|stop <path>" form. Code could then be hooked into the jail script to use that to mount and unmount jail drives during the start/stop process. I'm not sure what hte best approach is. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --+xNpyl7Qekk2NvDX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFC+TDeXY6L6fI4GtQRAvRRAJ9Pac+jJf7wY3foUgZ76WYubcnPPQCeO79V /8sJpTUFFgDzoXRwM85BuTQ= =PT4J -----END PGP SIGNATURE----- --+xNpyl7Qekk2NvDX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050809224032.GC15004>