[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 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
	    


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]