{"id":249,"date":"2015-05-25T15:10:33","date_gmt":"2015-05-25T15:10:33","guid":{"rendered":"http:\/\/muse.oneshot.in\/?p=249"},"modified":"2015-05-25T15:10:33","modified_gmt":"2015-05-25T15:10:33","slug":"mount-and-unmount-an-existing-iso-cd-rom-image-under-solaris-unix","status":"publish","type":"post","link":"https:\/\/muse.oneshot.in\/?p=249","title":{"rendered":"Mount and Unmount an Existing ISO CD-ROM Image under Solaris UNIX"},"content":{"rendered":"<p>Mounting an Existing ISO CD-ROM Image under Solaris UNIX<\/p>\n<p>If your image name is cd.iso, you can type command:<br \/>\n# lofiadm -a \/path\/to\/cd.iso<\/p>\n<p>Output:<\/p>\n<p>\/dev\/lofi\/1<\/p>\n<p>Please note that the file name argument on lofiadm must be fully qualified and the path must be absolute not relative (thanks to mike for tip).<\/p>\n<p>\/dev\/lofi\/1 is the device, use the same to mount iso image with mount command:<br \/>\n# mount -o ro -F hsfs \/dev\/lofi\/1 \/mnt<br \/>\n# cd \/mnt<br \/>\n# ls -l<br \/>\n# df -k \/mnt<\/p>\n<p>Mount the loopback device as a randomly accessible file system with<br \/>\nmount -F hsfs -o ro \/dev\/lofi\/X \/mnt.<\/p>\n<p>Alternatively, use this combined format:<br \/>\nmount -F hsfs -o ro `lofiadm -a \/path\/to\/image.iso` \/mnt<br \/>\nUnmount and detach the images<\/p>\n<p>Use umount command to unmount image:<br \/>\n# umount \/mnt<\/p>\n<p>Now remove\/free block device:<br \/>\n# lofiadm -d \/dev\/lofi\/1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mounting an Existing ISO CD-ROM Image under Solaris UNIX If your image name is cd.iso, you can type command: # lofiadm -a \/path\/to\/cd.iso Output: \/dev\/lofi\/1 Please note that the file name argument on lofiadm must be fully qualified and the path must be absolute not relative (thanks to mike for tip). \/dev\/lofi\/1 is the device, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-information-technology","category-solaris"],"_links":{"self":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":1,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions"}],"predecessor-version":[{"id":250,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions\/250"}],"wp:attachment":[{"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muse.oneshot.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}