Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2000 11:16:42 +0900
From:      KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp>
To:        imp@village.org
Cc:        kato@ganko.eps.nagoya-u.ac.jp, asmodai@bart.nl, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/pc98 Makefile Makefile.inc src/sbin/pc98/fdisk Makefile fdisk.8 fdisk.c 
Message-ID:  <20000320111642P.kato@gneiss.eps.nagoya-u.ac.jp>
In-Reply-To: Your message of "Sat, 18 Mar 2000 11:51:53 -0700" <200003181851.LAA97132@harmony.village.org>
References:  <200003181851.LAA97132@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@village.org> wrote:

> I think kato-san may be right here.  Looks like there are many small
> differences between a pc98 partition table and a pc-at partition
> table.  It is in a different format, there are 8 partitions rather
> than 4, the ID codes for each partition are different, the cyl/sect
> stuff is encoded differently, the basic units of measure are different
> (cyl vs sector) etc.  If this were a c++ program, then it might make
> sense to have a partition base class, and two different derived
> classes.  But C and the structure of the current fdisk program
> conspire to make that *MUCH* harder than it needs to be.

Same problem exists also in libdisk.  The libdisk contains `__alpha__
conditional', so `PC98 conditional' seems to be acceptable.  But the
structure of the partition table of Alphas is very similar to that of
PC-ATs.  On the contrary, the partition table of PC98 is quite
different from that of PC-AT and Alpha.  So, `PC98 conditional' may
easily cause maintenance problem.

The patch for libdisk is available from:
	http://freefall.FreeBSD.ORG/~kato/patches/libdisk.diff

-----------------------------------------------+--------------------------+
KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp>  |        FreeBSD           |
Dept. Earth Planet. Sci, Nagoya Univ.          |    The power to serve!   |
Nagoya, 464-8602, Japan                        |  http://www.FreeBSD.org/ |
                                               |http://www.jp.FreeBSD.org/|
++++ FreeBSD(98) 3.3R-Rev. 01 available!       +==========================+


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000320111642P.kato>