Subject: Re: disklabel(8) and machdep on-disk structures issues
To: None <bouyer@antioche.lip6.fr>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 11/01/2003 01:21:56
In article <20031031160704.GC1469@antioche.lip6.fr>
bouyer@antioche.lip6.fr wrote:
> - Fix the sun3 LABELOFFSET, and factor out disksubr.c between sun3, sparc and
> sparc64 (with some compat code to look for a NetBSD disklabel at
> LABELOFFSET=64 in the sun3 case)
Current readdisklabel() on sparc assume BSD disklabel is
located at LABELOFFSET, but isn't it better to change it
to search DISKMAGIC like current readdisklabel() on sun3?
It allows to read disks whose BSD labels are written on other
NetBSD machines.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp