Mount an iso image?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Apr 23 20:46:55 UTC 2007
-----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
Cheers,
Matthew
- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGLRsu8Mjk52CukIwRCKfuAJ9DblEUgpu5eCEsdBWVFX8TgOiY+wCgj0rQ
tAlswF71TKS2CoEqs/kkqq0=
=2ME7
-----END PGP SIGNATURE-----
More information about the freebsd-questions
mailing list