Subject: Re: CVS commit: src/sys/sys
To: None <firstname.lastname@example.org>
From: Izumi Tsutsui <email@example.com>
Date: 11/14/2003 21:19:33
In article <20031114113254.O4919@snowdrop.l8s.co.uk>
> sys/disklabel could be in src/tools/compat/sys - but you still need to
> stop in going after machine/* since you don't know 'machine'.
You could create symlinks which points to files in proper machine dirs.
> I used MAXPARTITIONS because that is the value that sys/disklabel.h
> needs from machine/disklabel.h
I think what you want to do exactly is
"including declarations of struct disklabel and struct pattitions
without including <machine/disklabel.h>", right?
Then using MAXPARTITIONS or _MACHINE_DISKLABEL_H_ is
not correct even if it works for now.
It's still better to add declarations into sys/bootblock.h
to define info about target machines.