Summary: how to find block size

From: John Barton <johnbarton58_at_hotmail.com>
Date: Thu Aug 23 2001 - 11:49:06 EDT
Thank you very much, I get 8 responses and they all give me the right 
solution to find what I want! Thank you all for your great help!!
JBarton

Received Reponse from:

HTH
fstyp -v /dev/rdsk/cXtYdAsB | grep bsize  <-- data block size.
-or-
df -g | grep "block size"

Either of those will tell you the file system block size.

prtvtoc /dev/rdsk/cXtYdAsB <-- Will tell you the number of bytes per sector

Changa Anderson
mkfs -m /dev/dsk/c0t0d0s0
bsize=data block size
fragsize=disk block size

Christophe Dupre
Disk block size is always 512 bytes. For the data block size, you can 'fstyp 
-v <raw device>' and look at the 'bsize' line.

Daniel Tate
fstyp -v /dev/dsk/yada/blah/blah/blah..

hmnguyen
You can use two of the basic solutions as follow;
  1) Use df -g
        - This reports the entire file structure described in statvfs

  2) Use fstyp -v <character device file>
        - For HFS, you can use tunefs -v in the same manner

Dietsch, Nathan (London)
fstyp should do the job

Lumpkin, Buddy
Run fstyp -v /dev/rdsk/c0t0d0s0 | egrep '(bsize|fsize)'

Peter Ondruska
data block size: df -g (see block size, value in bytes)
disk block size is 512b for all disks I have seen... not sure how to 
verify...

Sean Quaint
fstyp -v /dev/rdsk/c#t#d#s#|head -19


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on Thu Aug 23 16:49:06 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:25:02 EDT