Date: Wed, 14 Jan 2004 13:27:38 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: Vladimir Dozen <vladimir-dozen@mail.ru> Subject: Re: Request for Comments: libarchive, bsdtar Message-ID: <20040114212736.GE4974@Odin.AC.HMC.Edu> In-Reply-To: <29371.1074115322@critter.freebsd.dk> References: <40059DFB.9000904@mail.ru> <29371.1074115322@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZRyEpB+iJ+qUx0kp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 14, 2004 at 10:22:02PM +0100, Poul-Henning Kamp wrote: > In message <40059DFB.9000904@mail.ru>, Vladimir Dozen writes: > >ehlo. > > > >> If you become a bored person requiring entertainment, it might be quite > >> interesting to create a read-only tarfs for use as a root file system > >> loaded in an md device. > > > > I'm just curious: is it possible to write a GEOM class to mount > > a given tar as a FS in R/O mode (using libarchive, I mean)? >=20 > That would be a filesystem, not a GEOM class. >=20 > And yes it would be. Part of the trouble is directory searches > where you need to build some kind of index in order to not have > to run through sequentially all the time. For cases where you know you're going to be using the archive as a file system, you might be able to cheat a bit by creating a special file containing an efficent index of the contents of the archive. That would let you avoid keeping everything in memory and rescanning the disk constantly. -- 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 --ZRyEpB+iJ+qUx0kp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFABbRHXY6L6fI4GtQRAvnLAKChcsMbh8lVpdetpzan8zMB4Z04JQCgr1Fw tKTw/3N6A7dSTWPR70QU2ps= =vSXp -----END PGP SIGNATURE----- --ZRyEpB+iJ+qUx0kp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040114212736.GE4974>