9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Jonas Amoson" <jonas.amoson@home.se>
To: <9fans@9fans.net>
Subject: Re: [9fans] How to mount a P9 partition?
Date: Fri, 19 Feb 2010 08:55:10 -0800	[thread overview]
Message-ID: <D9904611DDDE419CA775D7C3D88968F4@mail2world.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2340 bytes --]

> 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
>


<P><p><font face="Arial, Helvetica, sans-serif" size="2" style="font-size:13.5px">_______________________________________________________________<BR><a style="font-family: Tahoma, sans-serif; font-size: 12px; color: #00f" href="http://spray.matchaffinity.se/?mtcmk=614114"><strong>SprayAffinity.se</strong> - Tr�ffa bara personer som passar dig!</a></font>

[-- Attachment #2: Type: text/html, Size: 3046 bytes --]

             reply	other threads:[~2010-02-19 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19 16:55 Jonas Amoson [this message]
2010-02-19 17:01 ` erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2010-02-19 17:47 Jonas Amoson
2010-02-19 12:46 Jonas Amoson
2010-02-19 14:48 ` Iruata Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D9904611DDDE419CA775D7C3D88968F4@mail2world.com \
    --to=jonas.amoson@home.se \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).