Tuesday, September 30, 2008

ISO mount

Under Solaris

Make the block device with lofiadm:

lofiadm -a /path/to/image.iso /dev/lofi/1

Mount the image as a read-only hsfs filesystem:

mount -F hsfs -o ro /dev/lofi/1 /mountpoint

Under Linux

mount -o loop image.iso /mountpoint

No comments: