TarFS

From: Mark Saad <nonesuch_at_longcount.org>
Date: Fri, 22 Mar 2024 15:48:21 UTC
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