Date: Tue, 26 Mar 2024 09:33:51 +0100 From: Warner Losh <imp@bsdimp.com> To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= <des@freebsd.org> Cc: Mark Saad <nonesuch@longcount.org>, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: TarFS Message-ID: <CANCZdfoCtPMOzOOzQtm1S%2BxQ-vy=utcewWG9mPbuV24xP9OVyQ@mail.gmail.com> In-Reply-To: <867chpg2d2.fsf@ltc.des.dev> References: <CAMXt9NYOA4KJu86gnCwOZeDp31gsxwwrzdb%2Bc6KLsOQxxD6r5A@mail.gmail.com> <86edbyh0od.fsf@ltc.des.dev> <CAMXt9NYNmaCJhSmFg4QAS2d7Lia1oEVAgTeas50w=%2BohsdrwCw@mail.gmail.com> <867chpg2d2.fsf@ltc.des.dev>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Mar 26, 2024, 3:21 AM Dag-Erling Smørgrav <des@freebsd.org> wrote: > Mark Saad <nonesuch@longcount.org> writes: > > Two other questions ( I have not tried to read the code , please > > forgive my assumptions ) behind the scenes are the tarballs extracted > > over some fs, or mounted directly and read ? > > It scans the archive, builds an index of its contents, and reads what > you ask for when you ask for it. No additional disk space is consumed. > This is why compressed archives can be very slow. > > > Second are there any contradictions with tarfs ; can they be nfs > > exported, mounted on a tmpfs etc . > > They can be exported, but I'm not sure what you mean by “mounted on a > tmpfs”. > I think he means does it work witg unionfs. Side question: how hard is it to add and offset of tarball mount option? Warner > DES > -- > Dag-Erling Smørgrav - des@FreeBSD.org > > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 26, 2024, 3:21 AM Dag-Erling Smørgrav <<a href="mailto:des@freebsd.org">des@freebsd.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark Saad <<a href="mailto:nonesuch@longcount.org" target="_blank" rel="noreferrer">nonesuch@longcount.org</a>> writes:<br> > Two other questions ( I have not tried to read the code , please<br> > forgive my assumptions ) behind the scenes are the tarballs extracted<br> > over some fs, or mounted directly and read ?<br> <br> It scans the archive, builds an index of its contents, and reads what<br> you ask for when you ask for it. No additional disk space is consumed.<br> This is why compressed archives can be very slow.<br> <br> > Second are there any contradictions with tarfs ; can they be nfs<br> > exported, mounted on a tmpfs etc .<br> <br> They can be exported, but I'm not sure what you mean by “mounted on a<br> tmpfs”.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I think he means does it work witg unionfs.</div><div dir="auto"><br></div><div dir="auto">Side question: how hard is it to add and offset of tarball mount option?</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> DES<br> -- <br> Dag-Erling Smørgrav - des@FreeBSD.org<br> <br> </blockquote></div></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoCtPMOzOOzQtm1S%2BxQ-vy=utcewWG9mPbuV24xP9OVyQ>
