>  have a plan9/linux dual boot on my machine. Is there any way I can
> access (i.e: read and/or write) the fossil partition of my plan9
> install from 9vx on linux?
> Actually, is there any way at all I can access that partition from
> linux?

You should be able to start fossil from inside 9vx,
though you will have to copy in some disk-related
binaries from a Plan 9 install CD, since I threw out a lot
of stuff to make the 9vx tree small (see next mail).

Then you should be able to do

        echo loop rw '#Z/dev/sda' > /dev/sdctl
        disk/fdisk -p /dev/sd00/data >/dev/sd00/ctl
        disk/prep -p /dev/sd00/plan9 >/dev/sd00/ctl
        ls -l /dev/sd00/ctl

You should see your fossil partition there.
Then you can start fossil manually:

        fossil/fossil -f /dev/sd00/fossil -c 'srv -A fossil' -c 'srv -p fscons'
        mount /srv/fossil /n/fossil

I haven't tried this, but it, or something like it, should work.
Also you might need to replace /dev/sda with whatever
Linux calls the appropriate hard disk.

One could also build a 9vx binary that included the things
a typical pcf kernel does and set up #S with the local disks
automatically, so that you could run "9vx -b" and tell it
you wanted to boot from local!#S/sd00/fossil.
There are lots of possibilities, and I hope some people
will explore in those dirctions and tell us what they find!

Russ


Reply via email to