[Solaris] монтировка iso образов
Добавлено: 23 авг 2010, 12:51
Given an ISO image in /export/temp/software.iso, a loopback file device (/dev/lofi/1) is created with the following command:
The lofi device creates a block device version of a file. This block device can be mounted to /mnt with the following command:
These commands can be combined into a single command:
Код: Выделить всё
lofiadm -a /export/temp/software.iso /dev/lofi/1
Код: Выделить всё
mount -F hsfs -o ro /dev/lofi/1 /mnt
Код: Выделить всё
mount -F hsfs -o ro `lofiadm -a /export/temp/software.iso` /mnt