5

Sizes of file

view full story
linux-howto

http://forums.fedoraforum.org – Hello! I created two files 1) # dd if=/dev/zero of=disk.image bs=1M seek=30000 count=1 2) # truncate -s 30G disk.image1 # ls -lh disk* -rw-r--r--. 1 root root 30G Oct 26 14:27 disk.image -rw-r--r--. 1 root root 30G Oct 26 14:27 disk.image1 # du -h disk* 1.0M disk.image 0 disk.image1 Why is shows that size of disk* files is 30 MB but du shows other value? (HowTos)