See below

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Cameron Simpson
Sent: Thursday, November 30, 2006 11:46 PM
To: [email protected]
Subject: [LINUX_Newbies] Re: How to check block size in linux

On 30Nov2006 19:17, Loyal Barber <[EMAIL PROTECTED]> wrote:
| I want to know the block size of my ext3 file system, 
| How can i check this?
| Is there any command to check the block size in linux.
| or anyoher way to get block size.
| Please send details to get all informaion about block size in linux.
| ---------------------------------
| Poor man's way:
| 
| echo "a" > junk.kil
| ls -lk junk.kil
| 
| The size display will be in 1kb blocks. Since the contents of the file 
| should be much smaller than the block size, the file should take up one
| block.

This is an arbitrary 1024 byte "block" count, a figment of "ls"'s
imagination. I'm pretty sure it reveals nothing about the actual block size
of the filesystem.
-- 
Cameron Simpson 
=====================
Cameron,
The 1K block size count is not arbitrary but forced by the -k option.  If
the
block size on the file system was 4096 bytes, the ls command would yield 4
for 
size.  See "man ls" if you need help.

Loyal




To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/LINUX_Newbies/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to