Mount a tar archive?

Andrew P. infofarmer at mail.ru
Wed Mar 30 11:40:54 PST 2005


Danny Howard wrote:
> Andrew P. wrote:
> 
>> Hello!
>>
>> I have a 80G tar archive which I have nowhere to
>> extract to. Could I mount it as a filesystem?
>> Read-only would suffice.
> 
> 
> Andrew,
> 
> Short of that solution, why not tar -t to get a list of files in the 
> archive, then you can tar -x the files you actually want.
> 
> You ought to be able to:
> tar -t foo.tar > list.txt
> edit list.txt
> cat list.txt | xargs tar -x foo.tar
> 
> -danny
> 

The archive is actually part of my music collection on
a headless fileserver. I would like to share it with
samba. It's a pity that FreeBSD doesn't have linuxish
arcfs or tarmount, but that sort of thing is not really
needed very often.

Thanks to all for your kind help!
Andrew P.


More information about the freebsd-questions mailing list