*BSD News Article 40213


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bruce.cs.monash.edu.au!harbinger.cc.monash.edu.au!msunews!agate!usenet.ins.cwru.edu!gatech!swiss.ans.net!news.dfn.de!news.belwue.de!delos.stgt.sub.org!nadia.s.bawue.de!luva!migieger
From: migieger@luva.lb.bawue.de (Michael Giegerich)
Subject: Re: size of d partition determination is wrong. Why?
Organization: private FreeBSD site
Message-ID: <D1n8Iz.8x@luva.lb.bawue.de>
References: <D1F1Kw.H71@luva.lb.bawue.de> <3dnbr9$bgo@agate.berkeley.edu>
Date: Fri, 30 Dec 1994 21:47:22 GMT
Lines: 35

In article <3dnbr9$bgo@agate.berkeley.edu>,
Jordan K. Hubbard <jkh@violet.berkeley.edu> wrote:
>In article <D1F1Kw.H71@luva.lb.bawue.de>,
>Michael Giegerich <migieger@luva.lb.bawue.de> wrote:
>>
>>Automatic partition of my Fujitsu 1gig drive get's wrong the size for the 
>>d partiton.
>
>Just remove d from the list of partitions if you're editing the disklabel.
>There don't need to be entries for c and d since they're special cased
>anyway.  And yes, we should probably fix the disklabel we write out initially.

Diggin' some further I've seen that disklabeling my disk changes
the in-core label but not the on-disk label :-(
After each reboot the old label is there (staring at me with it's
wrong d partition).

I've disklabeled with:

 disklabel -w -B sd0 m2694s   (m2694s is my disk layout in /etc/disktab)
 disklabel -w -B /dev/rsd0c m2694s
 disklabel -w -B /dev/rsd0d m2694s

 disklabel -w -r -B sd0 m2694s (too with device /dev/rsd0[cd])
 disklabel -w -r -B -b /usr/mdec/sdboot -s /usr/mdec/bootsd sd0 m2694s
  (again with /dev/rsd0[cd] too)

...all to no avail :-(((

What should I do to actually put a new label on-disk?

Desperated,

-- 
Michael Giegerich                              migieger@luva.lb.bawue.de