From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 14:30:51 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7C33C16A407 for ; Wed, 25 Apr 2007 14:30:51 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1623113C44C for ; Wed, 25 Apr 2007 14:30:40 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.13.8) id l3PEUYXH052397; Wed, 25 Apr 2007 09:30:34 -0500 (CDT) (envelope-from dan) Date: Wed, 25 Apr 2007 09:30:34 -0500 From: Dan Nelson To: Howard Jones Message-ID: <20070425143034.GE50353@dan.emsphone.com> References: <48CA2894022F35F0D83C3AFD@utd59514.utdallas.edu> <20070423191854.GD49993@glitch.rwxrwxrwx.net> <3EC8E3B8930912D6CD250E65@utd59514.utdallas.edu> <20070423204514.GD50353@dan.emsphone.com> <462F0FFE.70205@thingy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <462F0FFE.70205@thingy.com> X-OS: FreeBSD 6.2-STABLE User-Agent: Mutt/1.5.15 (2007-04-06) Cc: Paul Schmehl , freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] Mount an iso image? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Apr 2007 14:30:51 -0000 In the last episode (Apr 25), Howard Jones said: > Dan Nelson wrote: > > If that's all you need, there's an even easier way: "tar tvf > > mycd.iso", since libarchive understands the iso9660 filesystem > > format :) > > That's a useful trick! > > Is there an equivalent for ufs filesystems? I'd like to be able to > extract files from a floppy image without needing root privs... I'm > writing a script to prepare a PXE-install environment from a set of > release ISOs. You could try using a "dump -f - ufsfs.img | restore -if -" pipeline; dump to read the filesystem and restore -i to give you a simple navigation interface. Libarchive only handles the iso9660 format because it happens to be readable sequentially with no seeking. -- Dan Nelson dnelson@allantgroup.com