I am following the exaple given at http://httpfs.sourceforge.net/ and code used is downloaded from http://sourceforge.net/project/showfiles.php?group_id=171260
What I am trying to do is
I am able to mount but the problem I am facing is that file is mounted as nosuid,nodev, which does not allow further mounting.
$ $ ./httpfs http://www.alien.doesntexist.org/dsl.iso ./test $ mount httpfs on /home/pravin/Etherboot/v2/httpfs/test type fuse.httpfs (rw,nosuid,nodev,user=pravin) $ sudo losetup /dev/loop0 ./test/dsl.iso ./test/dsl.iso: Permission denied $ sudo mount -o loop,ro ./test/dsl.iso mpoint/ ./test/dsl.iso: Permission denied
$ sudo losetup -f /dev/loop0 $ sudo losetup -r /dev/loop0 ./test/dsl.iso ./test/dsl.iso: Permission denied
$ sudo losetup -f /dev/loop0 $ lsmod | grep loop loop 23052 0
Problem was that ./httpfs was not executed as root because of which there were problems Finally, following solution worked
$ sudo su - # ./httpfs http://www.alien.doesntexist.org/dsl.iso ./test # mount httpfs on /home/pravin/Etherboot/v2/httpfs/test type fuse.httpfs (rw,nosuid,nodev) # losetup -r /dev/loop0 ./test/dsl.iso # mount -t iso9660 /dev/loop0 ./mpoint/ # mount httpfs on /home/pravin/Etherboot/v2/httpfs/test type fuse.httpfs (rw,nosuid,nodev) /dev/loop0 on /home/pravin/Etherboot/v2/httpfs/mpoint type iso9660 (ro)