On Thu, Aug 28, 2008 at 12:01:50AM +0900, YONETANI Tomokazu wrote: > My questions are, is checking st_size of a directory is usual on other > platforms/filesystems? Does anyone know of other filesystems on which > a directory can have st_size of zero?
I don't know any filesystem where the directories have a fixed size of 0. I don't think that should be done, it is helpful for other things. Nevertheless, it should likely check the link count... Joerg