Re: Wrong size with ls

2002-12-09 Thread Prakash Countcham
Thanks ! I understand know why the file lastlog takes only 24 1k-block instead of 6306. That's because there are a lot of zeros it. 24 -rw-rw-r--1 root utmp 6456412 Dec 7 20:59 lastlog Prakash ___ [EMAIL PROTECTED] (Bob Proulx) writes: Disk blocks used and size of files a

Re: Wrong size with ls

2002-12-07 Thread Alan Shutko
[EMAIL PROTECTED] (Bob Proulx) writes: > Disk blocks used and size of files are related only in that the latter > will always be less than the former on an uncompressed filesystem. Not quite. Files on (most) Unix filesystems can contain "holes". If there's a large block of zeros in a file, and

Re: Wrong size with ls

2002-12-07 Thread Bob Proulx
Prakash Countcham <[EMAIL PROTECTED]> [2002-12-07 21:23:36 +0100]: > > I've just installed a Debian Woody (stable) and I encourtered something > strange in my '/var/log' directory. > When using both the '-l' and '-s' options of 'ls', the sizes given are > incoherent. > For information, 'du -k' g