If I check the file size of a symbolic link by stat()
, then it reports a nonzero file size equal to the link path string. But when I use du
on the link, it reports a size of zero blocks.
Is there a simple explanation for this? Is it correct to interpret symbolic links as requiring no disk space? Where is the symbolic link information being stored?