[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] listing sizes of directories..
Will Newton wrote:
> > Barrie> How do I list the size of a directory (instead of getting
> > Barrie> the fake size of 4k)?
> >
> > That's not a "fake size". That is the amount of space occupied by the
> > directory data. It gets bigger for sufficiently large directories
> > (try `ls -ld /dev' for example).
>
> rwxr-xr-x 1 root root 0 Jan 1 1970 /dev
>
> Hmmm? :)
Running 2.4 by any chance? Looked at /proc? They're not on the filing
system, therefore have no size ;)) Look at something more relevant, like
/usr or something. I think Stephen chose a bad example ;))
--
Alex Hudson <hudson [at] ID-PRO.co.uk> * Open Source I.T.
* ID-PRO UK Ltd. * 1 Benjamin Street * London EC1M 5QG
* Tel. +44 (0) 20 7689 8448 * Fax +44 (0) 20 7689 8242
* http://www.id-pro.co.uk/
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.