Changes between Version 5 and Version 6 of PluggingIn


Ignore:
Timestamp:
Mar 20, 2012 1:55:25 PM (13 years ago)
Author:
mikeryan
Comment:

file systems

Legend:

Unmodified
Added
Removed
Modified
  • PluggingIn

    v5 v6  
    6161
    6262== File Systems ==
     63
     64Guest OSes expect to be able to read:
     65
     66 * {{{/users}}}
     67 * {{{/proj}}}
     68 * {{{/groups}}}
     69 * {{{/share}}}
     70
     71If your system can directly access parts of the host file system then you're done! For an example of this, see view-os lightweight processes.
     72
     73If not, you should probably use the npfs implementation currently being used by qemu. The npfs server is launched from {{{launch/qemu}}} just before inner-nodes are booted. This will likely need to move to a more general location.
     74
     75Linux 9P support is excellent starting from the 2.6.20's series. Here's an example fstab entry, assuming the host machine's IP is {{{192.168.1.1}}}:
     76{{{
     77192.168.1.1 /users 9p _netdev,aname=/users 0 1
     78}}}
     79
     80For more bread crumbs look in {{{setup/qemu/40_file_systems.py}}} and {{{setup/qemu/50_root_fs.py}}} (look for 'fstab' in the latter).