From: Yoann Padioleau <pad@fb.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] mechanism to bind partitions in /dev?
Date: Sat, 18 Jan 2014 22:34:49 +0000 [thread overview]
Message-ID: <0C50289C-23EE-40EB-BA61-360329772313@fb.com> (raw)
In-Reply-To: <CAJQxxwkT8Sy_PbaQuh+A=FSei=yfMTXn74Qhwcezndeh3aph7A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]
Got it, thx a lot.
Just need to do fdisk -p /dev/sdC0/data > /dev/sdC0/ctl
and then prep -p /dev/sdC0/plan9 > /dev/sdC0/ctl
On Jan 17, 2014, at 11:17 PM, Bruce Ellis <bruce.ellis@gmail.com<mailto:bruce.ellis@gmail.com>> wrote:
disk/prep (and it's mates) are what you need for sdC0. man 8 prep.
brucee
On 18 January 2014 17:57, Yoann Padioleau <pad@fb.com<mailto:pad@fb.com>> wrote:
Hi,
Can someone explain how the partitions in /dev/sdC0/xxx are populated? Who
create those device files? I have a small plan9 kernel running a small shell (sh.Z)
in memory and when I do 'bind #S/sdC0 /dev/' I just see the 'data', 'ctl', and 'raw' files.
There is no 9fat or plan9 or whatever partitions there is on this disk. In fact I've
tried to make on MACos via the Utility disk some fat images and when I do
qemu -hdb dosdisk.img I can not access again the fat partition on this disk
(I've tried dossrv and then mount /srv/dos/ /mnt #sdC1/data but it does not work).
I can access it though when it's on a floppy disk (mount /srv/dos /mnt /dev/fd0disk
works). How fd0disk is different from #sdC1/data?
[-- Attachment #2: Type: text/html, Size: 1926 bytes --]
next prev parent reply other threads:[~2014-01-18 22:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-18 6:57 Yoann Padioleau
2014-01-18 7:17 ` Bruce Ellis
2014-01-18 22:34 ` Yoann Padioleau [this message]
2014-01-18 19:33 ` Steven Stallion
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=0C50289C-23EE-40EB-BA61-360329772313@fb.com \
--to=pad@fb.com \
--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).