lofiadm
- administer files available as block devices through lofi
Add iso file as a block device
# lofiadm -a image.iso /dev/lofi/1
Mount the block device
# mount -F hsfs -o ro /dev/lofi/1 /mnt
Alternatively, use this combined format:
mount -F hsfs -o ro `lofiadm -a image.iso` /mnt
Unmount and detach the device
Use umount command to unmount image:
# umount /mnt
Now remove/free block device:
# lofiadm -d /dev/lofi/1
Monday, December 14, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment