From owner-freebsd-questions Mon Jul 10 20:17: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by hub.freebsd.org (Postfix) with SMTP id 6824937B763 for ; Mon, 10 Jul 2000 20:17:03 -0700 (PDT) (envelope-from reader@newsguy.com) Received: (qmail 2642 invoked from network); 11 Jul 2000 03:17:00 -0000 Received: from adsl-117-113.ln.networkone.net (HELO reader.ptw.com) (209.144.117.113) by mail.networkone.net with SMTP; 11 Jul 2000 03:17:00 -0000 Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id UAA16373; Mon, 10 Jul 2000 20:16:50 -0700 To: freebsd-questions@FreeBSD.ORG Subject: disklabel output confusing or meaningless From: Harry Putnam Date: 10 Jul 2000 20:16:50 -0700 Message-ID: Lines: 43 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Coming from a linux background I'm used to using fdisk to get important info such as what device names are attache to what partition. Linux fdisk gives a clear precise output, formated in a sensible easy to read fashion. Usable to write fstab or create mount commands etc. FreeBSD's `fdisk' gives a poorly formatted jumble of information most of which is nearly useless since it is not related to any device names. Just uses a numbering system, completely different than used by the OS. Someone told me to use `disklabel' to get information about disks. Using disklabel -r /dev/ad0s4e ( a recently created `anex' partition) I see what appears to be at best confusing and at worst nonsense information. [...] snip 8 partitions: # size offset fstype [fsize bsize bps/cpg] c: 3213000 0 unused 0 0 # (Cyl. 0 - 199) e: 3213000 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 199) root@satellite / This is one partition but it is reported as 8. Apparentluy two of those 8 are displayed, but wait, they are both at the same offset, span the same cylinders and are the same size. That size is twice what I partitioned. Wait again, one is unused and the other is 4.2bsd. Hopeless gibberish apparently. Is there an aftermarket or ported or whatever util that gives usabel readable information about the disk setup? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message