Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Mar 2024 11:48:21 -0400
From:      Mark Saad <nonesuch@longcount.org>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   TarFS
Message-ID:  <CAMXt9NYOA4KJu86gnCwOZeDp31gsxwwrzdb%2Bc6KLsOQxxD6r5A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000988c1a061441c1fc
Content-Type: text/plain; charset="UTF-8"

Hello All,
  I was wondering if anyone has started to play with tarfs in FreeBSD 14 ?
It appears to puke with larger tarballs. For example , if I fetch a copy of
ports or pkgsrc and decompress it to just a posix tar archive I can't get
it to mount.

root@mono:/home/nonesuch # file ports.tar
ports.tar: POSIX tar archive
root@mono:/home/nonesuch #  mount -t tarfs ./ports.tar /tarfs/ports
mount: ./ports.tar: Inappropriate file type or format

root@mono:/home/nonesuch # file pkgsrc.tar
pkgsrc.tar: POSIX tar archive
root@mono:/home/nonesuch #  mount -t tarfs pkgsrc.tar  /tarfs/ports
mount: pkgsrc.tar: Invalid argument

root@mono:/home/nonesuch # ls -alsh ports.tar
585312 -rw-r--r--  1 nonesuch nonesuch  571M Mar 22 01:01 ports.tar
root@mono:/home/nonesuch # ls -alsh pkgsrc.tar
567360 -rw-r--r--  1 root nonesuch  554M Mar 16 01:29 pkgsrc.tar

Before I open a bug here, is this expected ?


-- 
mark saad | nonesuch@longcount.org

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

<div dir=3D"ltr"><div>Hello All,</div><div>=C2=A0 I was wondering if anyone=
 has started to play with tarfs in FreeBSD 14 ? It appears to puke with lar=
ger tarballs. For example , if I fetch a copy of ports or pkgsrc and decomp=
ress it to just a posix tar archive I can&#39;t get it to mount. <br></div>=
<div><br></div><div>root@mono:/home/nonesuch # file ports.tar <br>ports.tar=
: POSIX tar archive<br>root@mono:/home/nonesuch # =C2=A0mount -t tarfs ./po=
rts.tar /tarfs/ports<br>mount: ./ports.tar: Inappropriate file type or form=
at</div><div><br></div><div>
root@mono:/home/nonesuch # file pkgsrc.tar <br>pkgsrc.tar: POSIX tar archiv=
e

</div><div>root@mono:/home/nonesuch # =C2=A0mount -t tarfs pkgsrc.tar =C2=
=A0/tarfs/ports<br>mount: pkgsrc.tar: Invalid argument</div><div><br></div>=
<div>root@mono:/home/nonesuch # ls -alsh ports.tar <br>585312 -rw-r--r-- =
=C2=A01 nonesuch nonesuch =C2=A0571M Mar 22 01:01 ports.tar<br>root@mono:/h=
ome/nonesuch # ls -alsh pkgsrc.tar <br>567360 -rw-r--r-- =C2=A01 root nones=
uch =C2=A0554M Mar 16 01:29 pkgsrc.tar</div><div><br></div><div>Before I op=
en a bug here, is this expected ?</div><div><br></div><div><br><span class=
=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s=
ignature" data-smartmail=3D"gmail_signature">mark saad | <a href=3D"mailto:=
nonesuch@longcount.org" target=3D"_blank">nonesuch@longcount.org</a><br></d=
iv></div></div>

--000000000000988c1a061441c1fc--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMXt9NYOA4KJu86gnCwOZeDp31gsxwwrzdb%2Bc6KLsOQxxD6r5A>