Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 13:58:21 -0500
From:      Jake Burkholder <jake@locore.ca>
To:        Harti Brandt <brandt@fokus.gmd.de>
Cc:        sparc@FreeBSD.ORG
Subject:   Re: disklabel
Message-ID:  <20021127135821.A4948@locore.ca>
In-Reply-To: <20021127114225.I900-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Wed, Nov 27, 2002 at 11:46:20AM %2B0100
References:  <20021127114225.I900-100000@beagle.fokus.gmd.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Apparently, On Wed, Nov 27, 2002 at 11:46:20AM +0100,
	Harti Brandt said words to the effect of;

> 
> Hi all,
> 
> So, how does edit the disklabel on a sparc?
> 
> harti

Use the label editor in sysinstall for now.  Sysinstall creates sun disklabels,
not bsd disklabels, which disklabel(8) doesn't understand.  I have a replacement
for disklabel(8) which understands sun labels, I just need to commit it.

Jake

> 
> 531 [root] (catssrv) /usr # disklabel ad0
> disklabel: ioctl DIOCGDINFO: Operation not supported by device
> 532 [root] (catssrv) /usr # disklabel -r ad0
> disklabel: bad pack magic number (label is damaged, or pack is unlabeled)
> 533 [root] (catssrv) /usr # mount
> /dev/ad0a on / (ufs, local)
> devfs on /dev (devfs, local)
> /dev/ad0g on /home (ufs, local, soft-updates)
> /dev/ad0f on /opt (ufs, NFS exported, local, noatime, soft-updates)
> /dev/ad0e on /usr (ufs, local, noatime, soft-updates)
> /dev/ad0d on /var (ufs, local, noatime, soft-updates)
> 534 [root] (catssrv) /usr # sysctl kern.geom.conftxt
> kern.geom.conftxt: 0 DISK ad0 9115287552 512 hd 16 sc 63
> 1 SUN ad0g 3475390464 512 i 6 o 5638864896 sc 63 hd 16 alt 2
> 1 SUN ad0f 3221471232 512 i 5 o 2417393664 sc 63 hd 16 alt 2
> 1 SUN ad0e 1073995776 512 i 4 o 1343397888 sc 63 hd 16 alt 2
> 1 SUN ad0d 537255936 512 i 3 o 806141952 sc 63 hd 16 alt 2
> 1 SUN ad0c 9114255360 512 i 2 o 0 sc 63 hd 16 alt 2
> 1 SUN ad0b 537255936 512 i 1 o 268886016 sc 63 hd 16 alt 2
> 1 SUN ad0a 268886016 512 i 0 o 0 sc 63 hd 16 alt 2
> 
> 535 [root] (catssrv) /usr #
> -- 
> harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private
>               brandt@fokus.gmd.de, brandt@fokus.fhg.de
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-sparc" in the body of the message

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




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