9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] formatting of a disk with an nvram partition.
@ 2003-04-16 19:24 ron minnich
  2003-04-16 19:32 ` rsc
  0 siblings, 1 reply; 2+ messages in thread
From: ron minnich @ 2003-04-16 19:24 UTC (permalink / raw)
  To: 9fans



I have a CF device, which looks like IDE. I want to put a plan9 partition
on it and then have an nvram section on the Plan 9 partition. I have to
write the CF from linux. Is there some simple way to do the equivalent of
disk/prep on a file and create a 16 MB image which I can dd onto the CF?

ron



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] formatting of a disk with an nvram partition.
  2003-04-16 19:24 [9fans] formatting of a disk with an nvram partition ron minnich
@ 2003-04-16 19:32 ` rsc
  0 siblings, 0 replies; 2+ messages in thread
From: rsc @ 2003-04-16 19:32 UTC (permalink / raw)
  To: 9fans

You could use the undocumented aux/disksim:

	aux/disksim
	echo geometry 32768 512 0 0 0 >/dev/sdXX/ctl

and then configure /dev/sdXX as you want, and then
copy /dev/sdXX/data once you're done.

I just fixed a bug and updated sources, so you need to
pull a new one.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-16 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-16 19:24 [9fans] formatting of a disk with an nvram partition ron minnich
2003-04-16 19:32 ` rsc

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