Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 12:12:39 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        zhihuizhang <bf20761@binghamton.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Output of disklabel command
Message-ID:  <Pine.BSF.4.03.9904201212060.1514-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.SOL.L3.93.990415184516.8087A-100000@bingsun1>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Apr 1999, zhihuizhang wrote:

> 
> 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: 
> 
> 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.

They always do.  I think those fields are ignored, and are set using
newfs(8) or tunefs(8) instead.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



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.BSF.4.03.9904201212060.1514-100000>