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:week2 [2009/06/04 06:00] less1 |
soc:2009:pravin:journal:week2 [2009/06/10 12:33] (current) less1 |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| == Problems with mounting with httpfs == | == Problems with mounting with httpfs == | ||
| - | [[HttpFSProbs]] | + | Check out [[HttpFSProbs]] for details |
| - | 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> | + | |
| - | $ ./httpfs http://127.0.0.1/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 | + | |
| - | + | ||
| - | </code> | + | |
| - | Finally, the problem is solved with leson learned. | + | |
| - | __FUSE allows only the user to see the content of mounted partition who have mounted the partition__ \\ | + | |
| - | The mistake that I was doing was, I was running //./httpfs// without //sudo// but I was trying to mount the partition with //sudo// | + | |
| few worries : | few worries : | ||
| Line 41: | Line 25: | ||
| I guess that, the ISO mounted by root is mounted using normal mount command, and hence should be readable by all. | I guess that, the ISO mounted by root is mounted using normal mount command, and hence should be readable by all. | ||
| and can also support other mount options if needed. \\ | and can also support other mount options if needed. \\ | ||
| - | I have not done this experiment yet, need to confirm before proceeding on this path. | + | I have not done this experiment yet, need to confirm before proceeding on this path.\\ |
| + | Done with this experiment, any user can view files if root remounts the iso file from httpfs with loop. | ||
| === June - 2 === | === June - 2 === | ||
| Line 55: | Line 41: | ||
| - Wrote and sent the patch so that it will be easy to host rom-o-matic on any machine. | - Wrote and sent the patch so that it will be easy to host rom-o-matic on any machine. | ||
| - Patched rom-o-matic is hosted at http://www.alien.doesntexist.org/rom-o-matic/ | - Patched rom-o-matic is hosted at http://www.alien.doesntexist.org/rom-o-matic/ | ||
| + | - Modifying rom-o-matic to support pxeknife [[PxeKnifeRomOMatic]] | ||
| + | |||
| + | === June - 5-6 === | ||
| + | - Done with pxe-generation for both static and dynamic networks | ||
| + | - modified rom-o-matic code to provide user with option to have add inbuilt BKO support. | ||
| + | |||
| + | === June - 9 === | ||
| + | - Getting up rom-o-matic with BKO support on etherboot. done [http://etherboot.org/share/pravin/BKO/rom-o-matic/] | ||
| + | - Because of some wired reason, even original rom-o-matic code is not producing any output. -- solved, the bin/NIC target was not compiled in and error reporting was turned off. | ||
| + | - The latest gpxe code, and gpxe version used by rom-o-matic, both are creating trubble while booting. [[ProbsBKORomOMatic]] | ||
| + | |||
| + | === June - 10 === | ||
| + | - Trying to fix the problem with BKO and Rom-O-Matic integration [[ProbsBKORomOMatic]] | ||
| + | - Adding DSL to pxeknife [[PxeKnifeDSL]] | ||
| + | - Trying to boot it over http. | ||
| ==== Few useful links ==== | ==== Few useful links ==== | ||