Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000017520606148c270d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 26, 2024, 3:21=E2=80=AFAM Dag-Erling Sm=C3=B8rgrav <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 =E2=80=9Cmounted =
on a
> tmpfs=E2=80=9D.
>


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=C3=B8rgrav - des@FreeBSD.org
>
>

--00000000000017520606148c270d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Tue, Mar 26, 2024, 3:21=E2=80=AFAM Dag-Erling Sm=C3=
=B8rgrav &lt;<a href=3D"mailto:des@freebsd.org">des@freebsd.org</a>&gt; wro=
te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">Mark Saad &lt;<a href=3D"mailto=
:nonesuch@longcount.org" target=3D"_blank" rel=3D"noreferrer">nonesuch@long=
count.org</a>&gt; writes:<br>
&gt; Two other questions ( I have not tried to read the code , please<br>
&gt; forgive my assumptions ) behind the scenes are the tarballs extracted<=
br>
&gt; 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.=C2=A0 No additional disk space is consumed=
.<br>
This is why compressed archives can be very slow.<br>
<br>
&gt; Second are there any contradictions with tarfs ; can they be nfs<br>
&gt; exported, mounted on a tmpfs etc .<br>
<br>
They can be exported, but I&#39;m not sure what you mean by =E2=80=9Cmounte=
d on a<br>
tmpfs=E2=80=9D.<br></blockquote></div></div><div dir=3D"auto"><br></div><di=
v dir=3D"auto"><br></div><div dir=3D"auto">I think he means does it work wi=
tg unionfs.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Side questio=
n: how hard is it to add and offset of tarball mount option?</div><div dir=
=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto"><div cl=
ass=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
DES<br>
-- <br>
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org<br>
<br>
</blockquote></div></div></div>

--00000000000017520606148c270d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoCtPMOzOOzQtm1S%2BxQ-vy=utcewWG9mPbuV24xP9OVyQ>