From owner-freebsd-questions Thu Apr 15 15:53:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bingsun1.cc.binghamton.edu (bingsun1.cc.binghamton.edu [128.226.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 91AFA14D30 for ; Thu, 15 Apr 1999 15:53:18 -0700 (PDT) (envelope-from bf20761@binghamton.edu) Received: from localhost by bingsun1.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id SAA08799 for ; Thu, 15 Apr 1999 18:50:50 -0400 (EDT) X-Authentication-Warning: bingsun1.cc.binghamton.edu: bf20761 owned process doing -bs Date: Thu, 15 Apr 1999 18:50:49 -0400 (EDT) From: zhihuizhang X-Sender: bf20761@bingsun1 To: freebsd-questions@freebsd.org Subject: Output of disklabel command Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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