> fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil'

Thanks for the advice! It complained about security, and
have yet to learn how it works, but adding the option -A
after 'srv' made it happier. So what I wrote was:

fossil/fossil -f /dev/sdD0/fossil -c 'srv -A fossil'
mount /srv/fossil /n/olddisk

This seemed to work out very fine, but I soon relised that
the content of /n/olddisk now was the filesystem on sdC0,
instead of sdD0 as one might have expected?

/Jonas

<-----Ursprungligt Meddelande----->
  From: Iruata Souza [iru.muzgo@gmail.com]
Sent: 19/2/2010 3:48:35 PM
To: 9fans@9fans.net
Subject: Re: [9fans] How to mount a P9 partition? 

fossil/fossil -f /dev/sdD0/fossil -c 'srv fossil'

this should post /srv/fossil as you want. then you can proceed to
mounting as you did with the cd.

On 2/19/10, Jonas Amoson wrote:
> Hello!
>
> I am trying to access files that I have on a harddrive
> on which the Plan 9 installation refuses to boot. I am
> now booting from a new harddisk (sdC0) and would like
> to mount the file system of the problematic disk (now
> sdD0) in a directory (say /n/olddisk). I have succeeded
> to mount CD:s (sdD1) by starting 9660srv and mounting
> it from /srv:
>
> 9660srv -f /dev/sdD1/data
> mount /srv/9660 /n/cdrom
>
> My guess is that I have to start a file server in a similar
> fashion, and it does not complain when I write:
>
> fossil/fossil -f /dev/sdD0/fossil
>
> I was expecting some new entry named /srv/fossil that I
> could mount in a directory, but that does not seem to
> how it works. Running "ls /dev/sd*" gives the following:
>
> /dev/sdC0/9fat
> /dev/sdC0/ctl
> /dev/sdC0/data
> /dev/sdC0/fossil
> /dev/sdC0/nvram
> /dev/sdC0/plan9
> /dev/sdC0/raw
> /dev/sdC0/swap
> /dev/sdD0/9fat
> /dev/sdD0/ctl
> /dev/sdD0/data
> /dev/sdD0/fossil
> /dev/sdD0/nvram
> /dev/sdD0/plan9
> /dev/sdD0/raw
> /dev/sdD0/swap
> /dev/sdD1/ctl
> /dev/sdD1/raw
> /dev/sdctl

_______________________________________________________________
SprayAffinity.se - Tr�ffa bara personer som passar dig!