Date: Mon, 10 Jul 2000 22:05:54 -0600 From: Chris Fedde <chris@fedde.littleton.co.us> To: Harry Putnam <reader@newsguy.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: disklabel output confusing or meaningless Message-ID: <200007110405.e6B45sI49289@fedde.littleton.co.us> In-Reply-To: <m2bt058ifx.fsf@reader.ptw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 10 Jul 2000 20:16:50 -0700 Harry Putnam wrote: +------------------ | 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 / +------------------ FreeBSD has a much longer history than Linux, because of this it sometimes reports in what appear to be odd ways. There is a section somewhere in the handbook that goes over this but here is the short of it. Partitions on a disk are named using a letter from "a" to "g". By convention partition c is the whole disk. Size and offset are quoted in blocks of 512 bytes. Fstype is looked up in a table that is defined in /usr/include/sys/disklabel.h. The other columns have to do with file allocation specifics on the disk. Hope this helps chris -- Chris Fedde 303 773 9134 If it's not in the book, and it was not covered in the lecture, then we'll cover it on the test. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007110405.e6B45sI49289>