Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soc:2009:pravin:journal:httpfsprobs [2009/06/01 19:25] less1 |
soc:2009:pravin:journal:httpfsprobs [2009/06/01 19:58] (current) less1 |
||
---|---|---|---|
Line 33: | Line 33: | ||
</code> | </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> | ||
+ |