Subject: Re: sysinst fix
To: Bob Nestor <rnestor@augustmail.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 06/15/2002 23:54:24
At 12:08 Uhr -0500 15.6.2002, Bob Nestor wrote:
>> While I'm doing all that, let me ask you this: what happens if I have
>> two or three ffs partitions, and two or there HFS partitions. Won't
>> the second and third of each be "d" and "e" respectively, displaying
>> two of the same in the menu? Then, of course, they won't match the
>> kernel interpretation -- the kernel doesn't make that mistake -- and
>> sysinstall will then newfs and try to mount the wrong partition. It
>> certainly does that presently -- there's an open PR -- and I'm failing
>> to see where you've addressed that problem in your patch.
>
>The "d" partition isn't used by NetBSD for ffs parts since it is the
>RAW_PART on other ports. The mac68k port uses "c" as the RAW_PART. I
>think this was a change that was made after 1.3 when the disksubr code
>was cleaned up and rewritten. I seem to recall that "d" was usable in
>the mac68k port prior to that change.
You've got that backwards:
[hauke@q700] ~ > uname -a
NetBSD q700 1.5ZB NetBSD 1.5ZB (FG54) #0: Sun Mar 10 04:28:15 CET 2002
hauke@q700.causeuse.org:/usr/src/sys/arch/mac68k/compile/FG54 mac68k
[hauke@q700] ~ > df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd0a 48653 41294 4926 89% /
/dev/sd0d 589898 329177 231226 58% /var
/dev/sd0g 512847 421545 65659 86% /usr
/dev/sd0e 589898 516969 43434 92% /home
/dev/sd0f 974614 884680 41203 95% /local
/dev/sd0h 589898 56219 504184 10% /usr/pkg
kernfs 1 1 0 100% /kern
procfs 4 4 0 100% /proc
pid146@q700:/net 0 0 0 100% /net
pid146@q700:/cd 0 0 0 100% /cd
[hauke@q700] ~ >
The change that Allen made around 1.3 (IIRC) specifically enabled partition
'd'.
hauke
--
/~\ The ASCII Ribbon Campaign "They that can give up essential liberty
\ / No HTML/RTF in email to obtain a little temporary safety
X No Word docs in email deserve neither liberty nor safety."
/ \ Respect for open standards -- Benjamin Franklin, 1759