From owner-cvs-all Sun Jan 26 10:24:19 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7398437B401; Sun, 26 Jan 2003 10:24:17 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2690943F1E; Sun, 26 Jan 2003 10:24:17 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 107612A89E; Sun, 26 Jan 2003 10:24:17 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin Makefile In-Reply-To: <200301261219.h0QCJaww013997@repoman.freebsd.org> Date: Sun, 26 Jan 2003 10:24:17 -0800 From: Peter Wemm Message-Id: <20030126182417.107612A89E@canning.wemm.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Poul-Henning Kamp wrote: > phk 2003/01/26 04:19:36 PST > > Modified files: > sbin Makefile > Log: > Make disklabel(8) MD for i386/pc98 and alpha only. We still use it on ia64.. Especially since sysinstall only knows how to create MBR+disklabel. eg: ia64# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s2a 6569116 3288970 2754618 54% / devfs 1 1 0 100% /dev /dev/da0s1 200576 51688 148888 26% /efi ia64# disklabel da0s2 # /dev/da0s2c: type: SCSI disk: QUANTUM label: flags: bytes/sector: 512 sectors/track: 63 ... 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 13346655 4194304 4.2BSD 2048 16384 89 # (Cyl. 261*- 1091*) b: 4194304 0 swap # (Cyl. 0 - 261*) c: 17540959 0 unused 0 0 # (Cyl. 0 - 1091*) On the other hand, if you partition by hand, you can use GPT: pluto.freebsd.org1# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0p2 253678 64188 169196 28% / devfs 1 1 0 100% /dev /dev/da0p4 2026030 209596 1654352 11% /usr /dev/da0p5 253678 3740 229644 2% /var /dev/da0p6 253678 2728 230656 1% /tmp /dev/da0p7 27393772 2353336 22848936 9% /p /dev/da0p1 200576 20236 180340 10% /efi procfs 8 8 0 100% /proc pluto1.freebsd.org# gpt -r show da0 start end size contents 0 0 1 PMBR 1 1 1 Pri GPT header 2 33 32 Pri GPT table 34 401595 401562 GPT part c12a7328-f81f-11d2-ba4b-00a0c93ec93b 401596 925883 524288 GPT part 516e7cb6-6ecf-11d6-8ff8-00022d09712b 925884 9314491 8388608 GPT part 516e7cb5-6ecf-11d6-8ff8-00022d09712b 9314492 13508795 4194304 GPT part 516e7cb6-6ecf-11d6-8ff8-00022d09712b 13508796 14033083 524288 GPT part 516e7cb6-6ecf-11d6-8ff8-00022d09712b 14033084 14557371 524288 GPT part 516e7cb6-6ecf-11d6-8ff8-00022d09712b 14557372 71132926 56575555 GPT part 516e7cb6-6ecf-11d6-8ff8-00022d09712b 71132927 71132958 32 Sec GPT table 71132959 71132959 1 Sec GPT header gpt(8) isn't very friendly yet. It doesn't recognize partition id's and convert them to human readable text. FWIW, the first is EFI, the second is freebsd-ufs, the third is freebsd-swap, and the rest are freebsd-ufs. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message