block size

Hi,

Somehow i have forgotten a comand that displays me the block size of the unix filesystem. Can someone letme know this command

regards
penguin

df -v gives the blocks status of the file system. But what i want to know is, how many bytes make one block in a file system. I hope I have clarified my question. Someone, please respond.

defualit block size for a prtition is 8192 bytes

You set this up using the newfs command

jasmine (SCSA & MCSE)

The above is not true for all filesystems.
ext2, for example (the default on many Linux systems - but not even all of those) is 4096.

What type of system are you using, linuxpenguin?

In linux , sfdisk -l gives the block size of the file system.

Regards
Gambhi.

I am using red hat linux (kernel 2.0)

i calculated the block size in my system using du and du -k
however what i really want is a command (if there is any) that will display me this block size.

the other work around is by writing a small c program.
however i m only interested to know if there is any such command which directly displays me the block size.

rgds
penguin