Mark Saad
2024-03-22 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.
***@mono:/home/nonesuch # file ports.tar
ports.tar: POSIX tar archive
***@mono:/home/nonesuch # mount -t tarfs ./ports.tar /tarfs/ports
mount: ./ports.tar: Inappropriate file type or format
***@mono:/home/nonesuch # file pkgsrc.tar
pkgsrc.tar: POSIX tar archive
***@mono:/home/nonesuch # mount -t tarfs pkgsrc.tar /tarfs/ports
mount: pkgsrc.tar: Invalid argument
***@mono:/home/nonesuch # ls -alsh ports.tar
585312 -rw-r--r-- 1 nonesuch nonesuch 571M Mar 22 01:01 ports.tar
***@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 ?
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.
***@mono:/home/nonesuch # file ports.tar
ports.tar: POSIX tar archive
***@mono:/home/nonesuch # mount -t tarfs ./ports.tar /tarfs/ports
mount: ./ports.tar: Inappropriate file type or format
***@mono:/home/nonesuch # file pkgsrc.tar
pkgsrc.tar: POSIX tar archive
***@mono:/home/nonesuch # mount -t tarfs pkgsrc.tar /tarfs/ports
mount: pkgsrc.tar: Invalid argument
***@mono:/home/nonesuch # ls -alsh ports.tar
585312 -rw-r--r-- 1 nonesuch nonesuch 571M Mar 22 01:01 ports.tar
***@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 | ***@longcount.org
mark saad | ***@longcount.org