On Thu, May 22, 2008 at 2:09 PM, Prasanna David G
<[EMAIL PROTECTED]> wrote:
> On Thu, May 22, 2008 at 11:22 AM, Kapil Hari Paranjape
> <[EMAIL PROTECTED]> wrote:
>>
>> If the block device block size is what you want then the command is
>>
>>        blockdev --getsize64 /dev/hda1
>>
>> Here the answer is also in bytes for the device /dev/hda1. Note that
>> block-devices usually (always?) work with a sector size of 512-bytes.
>
> Did you mean blockdev --getbsz /dev/hda1 ?
>
> Here is another trick.  Don't know if it will always work.
>
> echo "a" > test
> du -h test
>
> regards,
> Prasanna David
>

Sorry, I didn't notice that you have written "device block size".

Prasanna David
_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to