![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have a question about the use of du. I understand that du reports the number of 512-byte blocks of disk usage used in the directory and below.
However, with only 3 small files (file a is 64 bytes; b is 68 bytes; c is 6 bytes), du seems to tell me that the OS is using 8 blocks x 512-byte to store them. Is there anything wrong with my calculations or I misunderstand anything? When I do a 'du' with no option, it gives me: 8 . When I do a 'du -k', it gives me: 4 . When I do a 'du -a' , it gives me: 2 ./a 2 ./b 2 ./c 8 . |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|