Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:pravin:journal:httpfsprobs [2009/06/01 19:19]
less1
soc:2009:pravin:journal:httpfsprobs [2009/06/01 19:58] (current)
less1
Line 12: Line 12:
 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. 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.
 <​code>​ <​code>​
-$ ./httpfs http://127.0.0.1/dsl.iso ./test+$ ./httpfs http://www.alien.doesntexist.org/dsl.iso ./test
 $ mount $ mount
 httpfs on /​home/​pravin/​Etherboot/​v2/​httpfs/​test type fuse.httpfs (rw,​nosuid,​nodev,​user=pravin) httpfs on /​home/​pravin/​Etherboot/​v2/​httpfs/​test type fuse.httpfs (rw,​nosuid,​nodev,​user=pravin)
Line 24: Line 24:
  
 </​code>​ </​code>​
 +
 +<​code>​
 +$ sudo losetup -f
 +/dev/loop0
 +
 +$ sudo losetup -r /dev/loop0 ./​test/​dsl.iso
 +./​test/​dsl.iso:​ Permission denied
 +
 +</​code>​
 +
 +<​code>​
 +$ sudo losetup -f
 +/dev/loop0
 +$ lsmod | grep loop
 +loop                   ​23052 ​ 0 
 +</​code>​
 +
 +=== Solution ===
 +Problem was that //​./​httpfs//​ was not executed as //root// because of which there were problems
 +Finally, following solution worked
 +
 +<​code>​
 +$ 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)
 +
 +</​code>​
 +

QR Code
QR Code soc:2009:pravin:journal:httpfsprobs (generated for current page)