From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 21:26:26 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 A8C7D16A401 for ; Mon, 23 Apr 2007 21:26:26 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from smtp2.utdallas.edu (smtp2.utdallas.edu [129.110.10.33]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD3F13C43E for ; Mon, 23 Apr 2007 21:26:26 +0000 (UTC) (envelope-from pauls@utdallas.edu) Received: from utd59514.utdallas.edu (utd59514.utdallas.edu [129.110.3.28]) by smtp2.utdallas.edu (Postfix) with ESMTP id 31C525C177 for ; Mon, 23 Apr 2007 16:26:26 -0500 (CDT) Date: Mon, 23 Apr 2007 16:26:26 -0500 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <4204524346E06B04850B6972@utd59514.utdallas.edu> In-Reply-To: <462D1B2E.8000700@infracaninophile.co.uk> References: <48CA2894022F35F0D83C3AFD@utd59514.utdallas.edu> <20070423191854.GD49993@glitch.rwxrwxrwx.net> <3EC8E3B8930912D6CD250E65@utd59514.utdallas.edu> <462D1B2E.8000700@infracaninophile.co.uk> X-Mailer: Mulberry/4.0.6 (Linux/x86) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=sha1; protocol="application/pkcs7-signature"; boundary="==========D16ACD90E677F4BC98BE==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 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: Mon, 23 Apr 2007 21:26:26 -0000 --==========D16ACD90E677F4BC98BE========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline --On Monday, April 23, 2007 21:46:38 +0100 Matthew Seaman=20 wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Paul Schmehl wrote: > >> Thanks. That's what I was looking for. I wasn't trying to create an >> iso. I wanted to see what was inside one without burning a CD first. >> That works perfectly. >> > > You can just use tar(1) to read the contents of an iso nowadays, no > need to mount anything: > > lack-of-gravitas:~/tmp:% tar -tvf 6.2-RELEASE-i386-disc1.iso | head -20 > drwx------ 0 0 0 6144 Jan 12 13:47 . > dr-xr-xr-x 2 0 0 6144 Jan 12 07:41 bin > dr-xr-xr-x 5 0 0 4096 Jan 12 11:33 boot > dr-xr-xr-x 2 0 0 2048 Jan 12 07:41 boot/defaults > dr-xr-xr-x 2 0 0 61440 Jan 12 10:55 boot/kernel > dr-xr-xr-x 2 0 0 2048 Jan 12 07:38 boot/modules > dr-xr-xr-x 2 0 0 2048 Jan 12 07:38 dev > dr-xr-xr-x 18 0 0 12288 Jan 12 07:42 etc > dr-xr-xr-x 2 0 0 2048 Jan 12 07:38 etc/X11 > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/bluetooth > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/defaults > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/gnats > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/isdn > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/mail > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/mtree > dr-xr-xr-x 2 0 0 2048 Jan 12 07:38 etc/ntp > dr-xr-xr-x 2 0 0 4096 Jan 12 07:42 etc/pam.d > dr-xr-xr-x 6 0 0 2048 Jan 12 07:38 etc/periodic > dr-xr-xr-x 2 0 0 4096 Jan 12 07:42 etc/periodic/daily > dr-xr-xr-x 2 0 0 2048 Jan 12 07:42 etc/periodic/monthly > > lack-of-gravitas:~/tmp:% tar --version > bsdtar 1.2.53 - libarchive 1.2.53 > Good to know. However, I didn't want to just list the contents. I also=20 wanted to view some of the files' contents. Paul Schmehl (pauls@utdallas.edu) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ --==========D16ACD90E677F4BC98BE==========--