*BSD News Article 12582


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!spool.mu.edu!decwrl!rtech!amdahl!JUTS!cd.amdahl.com!gab10
From: gab10@cd.amdahl.com (Gary A Browning)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Disklabel/newfs -
Message-ID: <eeB602cH395D01@JUTS.ccc.amdahl.com>
Date: 9 Mar 93 17:17:15 GMT
References: <1993Mar4.062419.18727@oz.plymouth.edu> <1993Mar4.172411.28968@coe.montana.edu> <CGD.93Mar4205238@eden.CS.Berkeley.EDU> <1993Mar6.050223.2665@runx.oz.au>
Sender: netnews@ccc.amdahl.com
Organization: Amdahl Corporation
Lines: 21

In article <1993Mar6.050223.2665@runx.oz.au>, bde@runx.oz.au (Bruce
Evans) writes:
[ deleted ] 
> Not quite.  Under 386BSD, disklabel needs the 'd' partition and
> doesn't
> need the 'c' partition.  Where it should use the 'c' partition (for
> the
> offset of the label), it uses the 'a' partition.  If you have a "DOS"
> disk
> without an 'a' partition, the offset defaults to 0 and disklabel
> trashes
> the master boot record by writing the label over it (after prompting,
> but
> the default action is trashing).

Is this a Bug?  Should it be fixed?

-- 
Gary Browning        | Exhilaration is that feeling you get just after a
gab10@cd.amdahl.com  | great idea hits you, and just before you realize
                     | what is wrong with it.