From owner-freebsd-questions@FreeBSD.ORG Wed Mar 30 19:40:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26A7E16A4CE for ; Wed, 30 Mar 2005 19:40:54 +0000 (GMT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id CECD043D49 for ; Wed, 30 Mar 2005 19:40:53 +0000 (GMT) (envelope-from infofarmer@mail.ru) Received: from [83.237.13.6] (port=4533 helo=[172.17.0.69]) by mx1.mail.ru with esmtp id 1DGj3c-000LpT-00; Wed, 30 Mar 2005 23:40:52 +0400 Message-ID: <424B00C7.6000405@mail.ru> Date: Wed, 30 Mar 2005 23:40:55 +0400 From: "Andrew P." User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Danny Howard References: <424AEFB2.8020001@mail.ru> <424AF4B1.4060403@toldme.com> In-Reply-To: <424AF4B1.4060403@toldme.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected cc: FreeBSD-Questions Questions Subject: Re: Mount a tar archive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: infofarmer@mail.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2005 19:40:54 -0000 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.