[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
du gives wrong size for symlinks
From: |
Padraig Brady |
Subject: |
du gives wrong size for symlinks |
Date: |
Mon Oct 14 22:55:31 2002 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827 |
du (4.1) always says symbolic links are 0 size!
stat gives the correct answer on ext2 anyway
(0 if link is 60 chars or less).
you can test like: ln -sf `seq -w -s "" 1 99` ll
Pádraig.
- du gives wrong size for symlinks,
Padraig Brady <=