Monday, 25 April 2016

Mount a iso without using lofiadm

We usually mount an iso in Solaris using lofiadm.

Apparently we can skip the lofiadm steps & mount the iso directly as an hsfs file system as follows:

bash-3.2# pwd
/iso
bash-3.2# ls
sol-10-u9-ga-sparc-dvd.iso
bash-3.2#

To mount the iso run the following command:

mount -F hsfs /iso/sol-10-u9-ga-sparc-dvd.iso /mnt

The 'df -h' output will look like as follows:

/iso/sol-10-u9-ga-sparc-dvd.iso
                       2.1G   2.1G         0K   100%    /mnt

1 comment:

Using capture groups in grep in Linux

Introduction Let me start by saying that this article isn't about capture groups in grep per se. What we are going to do here with gr...