Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 1999 18:50:49 -0400 (EDT)
From:      zhihuizhang <bf20761@binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   Output of disklabel command
Message-ID:  <Pine.SOL.L3.93.990415184516.8087A-100000@bingsun1>

next in thread | raw e-mail | index | archive | help

My computer is installed with FreeBSD 2.2.8 on the entire hard disk.  The
file systems are installed as defaults.  I want to check the fragment and
block size of the file system are indeed 1024 and 4096 bytes respectively,
so I run the command disklabel.  What I got is as follows: 

myname# disklabel /dev/wd0s1
/dev/wd0s1:
type: ESDI
disk: wd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 15
sectors/cylinder: 945
cylinders: 8939
sectors/unit: 8448237
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    65536        0    4.2BSD        0     0     0 	# (Cyl.    0 - 69*)
  b:   277920    65536      swap                    	# (Cyl.   69*- 363*)
  c:  8448237        0    unused        0     0       	# (Cyl.    0 - 8939*)
  e:    61440   343456    4.2BSD        0     0     0 	# (Cyl.  363*- 428*)
  f:  8043341   404896    4.2BSD        0     0     0 	# (Cyl.  428*- 8939*)

I can not figure out why the columns fsize and bsize have all zeros.  I
add the option -r to disklabel command but it does not help.  All the file
systems are created during the installation by default values.

Thanks for any help.

-------------------------------------------------- 
| Zhihui Zhang, http://cs.binghamton.edu/~zzhang |
| Dept. of Computer Science,  SUNY at Binghamton |
--------------------------------------------------



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?Pine.SOL.L3.93.990415184516.8087A-100000>