[Ilugc] command - Finding block size

  • From: cyborg4k@xxxxxxxxx (Shakthi Kannan)
  • Date: Fri Mar 18 13:34:05 2005

Hi,

--- carti <carti@xxxxxxxxxxxxxx> wrote:

How to find the blocksize of any filesystem.

It is defined in the filesystem header file.

ext2 for example:
http://lxr.linux.no/source/include/linux/ext2_fs.h
 
Some of the filesystems supported and used by ramdisk
are included in do_mounts_rd.c:
http://lxr.linux.no/source/init/do_mounts_rd.c

But, root can override it in BLKGETSIZE.

Regards,

K Shakthi

--------------------------------------------------------------------------
Shakthi Kannan, MS
Software Engineer, Specsoft (Hexaware Technologies)
http://www.geocities.com/shakthimaan

Indian Linux User's Group (ILUGC), Chennai - Events:
http://www.chennailug.org/wiki/Events

LinuxForum.com Links:
http://www.linuxforum.com/linux_sites.php
--------------------------------------------------------------------------

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com ;

Other related posts: