From owner-freebsd-sparc Wed Nov 27 10:45:20 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6052137B401 for ; Wed, 27 Nov 2002 10:45:18 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id A465643ECD for ; Wed, 27 Nov 2002 10:45:17 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id gARIwMxQ010325; Wed, 27 Nov 2002 13:58:22 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id gARIwL4x010324; Wed, 27 Nov 2002 13:58:21 -0500 (EST) Date: Wed, 27 Nov 2002 13:58:21 -0500 From: Jake Burkholder To: Harti Brandt Cc: sparc@FreeBSD.ORG Subject: Re: disklabel Message-ID: <20021127135821.A4948@locore.ca> References: <20021127114225.I900-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021127114225.I900-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Wed, Nov 27, 2002 at 11:46:20AM +0100 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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