* [9fans] disappearing partitions.
@ 2002-05-14 12:12 paurea
0 siblings, 0 replies; 4+ messages in thread
From: paurea @ 2002-05-14 12:12 UTC (permalink / raw)
To: 9fans
I have made a partition in a disk using disk/prep. The partition is called cache
and I made it in /dev/sdC1/cache.
Everything seems to work. I reboot and after that the file cache disappears
from /dev/sdC1. disk/prep sees it, but doesn't appear on an ls.
Doing echo 'part cache 93 182342'> /dev/sdC1/ctl or running prep and writing
gives it back.
Do I have to make anything special for it to persist?.
--
Saludos, Gorka
"Curiosity sKilled the cat"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] disappearing partitions.
2002-05-14 15:48 Russ Cox
@ 2002-05-14 21:47 ` paurea
0 siblings, 0 replies; 4+ messages in thread
From: paurea @ 2002-05-14 21:47 UTC (permalink / raw)
To: 9fans
Russ Cox writes:
> is supposed to create the in-memory partition
> map. Perhaps you are booting a cpu kernel,
> which is missing the code?
>
No I am not, but now I know where they are initialized, I'll look into the issue
(I thought they were there initialized inside the kernel...)
--
Saludos,
Gorka
"Curiosity sKilled the cat"
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] disappearing partitions.
@ 2002-05-14 15:49 Russ Cox
0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2002-05-14 15:49 UTC (permalink / raw)
To: 9fans
What I meant is that cpurc does not contain
those lines. If you boot a cpu kernel you run
cpurc and thus don't initialize the partitions.
The kernel per se has no code to deal with such
horrors as DOS partition tables.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] disappearing partitions.
@ 2002-05-14 15:48 Russ Cox
2002-05-14 21:47 ` paurea
0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2002-05-14 15:48 UTC (permalink / raw)
To: 9fans
This code in termrc
for(disk in /dev/sd??) {
if(test -f $disk/data && test -f $disk/ctl)
disk/fdisk -p $disk/data >$disk/ctl >[2]/dev/null
for(part in $disk/plan9*)
if(test -f $part)
disk/prep -p $part >$disk/ctl >[2]/dev/null
}
is supposed to create the in-memory partition
map. Perhaps you are booting a cpu kernel,
which is missing the code?
Russ
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-05-14 21:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14 12:12 [9fans] disappearing partitions paurea
2002-05-14 15:48 Russ Cox
2002-05-14 21:47 ` paurea
2002-05-14 15:49 Russ Cox
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).