in reply to Re^2: Perl script to mount iso file
in thread Perl script to mount iso file

Like I said, you can make a symlink, either from the perl script or from the php page. Just make sure that isofile node is a symlink to the file you want to mount before mounting.

See symlink

Replies are listed 'Best First'.
Re^4: Perl script to mount iso file
by BerSerK (Initiate) on Dec 17, 2007 at 19:28 UTC
    ok for the symlink part... I tried adding this to my /etc/fstab /tmp/vdrv0iso /media/vdrv0 iso9660 user,loop 0 0 my /tmp/vdrv0iso symlink points to /home/user/isos/file.iso but I still need root to mount that, I must be missing something. what command do I have to run after creating the symlink ?
        Ok, I managed to get it to work. I put my symlink in /home/user/public_html/tmp/ I modified my /etc/fstab with /home/user/public_html/tmp/symlink /media/vdrv0 iso9660 user,loop 0 0 Then my perl script manage the umounting, mounting and symlinking. Thanks a lot, your help is really appreciated!