Operating System - HP-UX
1825739 Members
2658 Online
109687 Solutions
New Discussion

Loopback Filesystem for Mounting ISO Images Equiv on HPUX?

 
Alzhy
Honored Contributor

Loopback Filesystem for Mounting ISO Images Equiv on HPUX?

Is there one? On Solaris/Linux, I can create ISO images of CD's and then mount them up:

# Create ISO Image
dd if=/dev/sr0 of=companion_cd.iso

# The I mount it:
lofiadm -a `pwd`/companion_cd.iso /dev/lofi/1
mount -t hsfs /dev/lofi/1 /mnt

This way, whenever Iget new ISO images of software, I do not have to burn them CD and mount them..

Hakuna Matata.
3 REPLIES 3
James A. Donovan
Honored Contributor

Re: Loopback Filesystem for Mounting ISO Images Equiv on HPUX?

HP-UX does indeed support loopack file systems. Take a look at the man page for details.

$ man mount_lofs

example:
mount -F lofs /some/dir/to/mount /tmp/mount

Remember, wherever you go, there you are...
Floyd Curtis
Frequent Advisor

Re: Loopback Filesystem for Mounting ISO Images Equiv on HPUX?

Not to interject too much for Nelson, but I believe he is wanting mount a raw iso cd image as though it were a filesystem. (The file that you could use to burn a CD using Disk at once writing - I think this is like a red book audio cd). The loopback "driver" mechanism is different from a loopback filesystem. It evidenly lets you mount this raw iso image, reads the directory structure and allows it to be mounted, even though it doesn't exist in that format.- its just a big binary file.

Loopback Filesystems - LOFS allows access to existing directories or file systems using alternate path names ( I got that from the man page).

fwc
Alzhy
Honored Contributor

Re: Loopback Filesystem for Mounting ISO Images Equiv on HPUX?

Thanks for the clarification Floyd.

The reason I am asking this question is that I wanted to make a virtual CD jukebox (VCDJ) served out on an HPUX boxen. Since disk storage is so cheap these days, am planning to create ISO images of all our CD's (iso9660,RR's, Joliet -- all UNIX/Windows data, apps cd's) so all are always available. Using a loopback mechanism to allow me tomount those ISO images and SAMBA (CIFS/9000 Server) and automounter, I should be able to create a jukebox server but the stumbling block I am facing is I don't know if there is such a loopback mechanism on HPUX.

I am able to do this on Linux and Solaris systems -- with the latter having somewhat a major problem of not totally supporting Joliet (Microsoft Long filenames..) standards.

Hakuna Matata.