FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EXT3 Users

 
 
LinkBack Thread Tools
 
Old 11-26-2009, 09:06 AM
lakshmi pathi
 
Default is it 4kb or 4.1kb - dd command?

When I ran dd command ,
#dd if=/dev/zero of=dd.txt bs=4096 count=1
1+0 records in
1+0 records out
4096 bytes (4.1 kB) copied, 0.000445 seconds, 9.2 MB/s

why it's shown as 4.1kB where as 4096 bytes is equal to 4KB?

Thanks for your replies in advance.

--
Cheers,
Lakshmipathi.G
www.giis.co.in

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 
Old 11-26-2009, 09:23 AM
Ralf Hildebrandt
 
Default is it 4kb or 4.1kb - dd command?

* lakshmi pathi <lakshmipathi.g@gmail.com>:
> When I ran dd command ,
> #dd if=/dev/zero of=dd.txt bs=4096 count=1
> 1+0 records in
> 1+0 records out
> 4096 bytes (4.1 kB) copied, 0.000445 seconds, 9.2 MB/s
>
> why it's shown as 4.1kB where as 4096 bytes is equal to 4KB?

1) What does this have to do with ext3?

2) man dd says:

BLOCKS and BYTES may be followed by the following
multiplicative suffixes: c =1, w =2, b =512, kB =1000, K =1024, MB=1000*1000, M =1024*1024, xM =M GB =1000*1000*1000, G=1024*1024*1024, and so on for T, P, E, Z, Y.

Thus: 1kb = 1000bytes


--
Ralf Hildebrandt
Geschäftsbereich IT | Abteilung Netzwerk
Charité - Universitätsmedizin Berlin
Campus Benjamin Franklin
Hindenburgdamm 30 | D-12203 Berlin
Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
ralf.hildebrandt@charite.de | http://www.charite.de


_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users
 

Thread Tools




All times are GMT. The time now is 02:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org