Re: Zero size and zero blocks mountpoint.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/9/24 Jeff Layton <jlayton@xxxxxxxxxx>:

>> how can I fix the directory-size that apache is receiving?
>>
>
> Honestly, that sounds like an apache bug. You may want to report that
> to them.
>
> I asked Stef this question question and didn't get an answer however:
>
> Does POSIX offer any guidance about what the size of a directory should
> represent?

I'm happy to see this question is again an issue.

I do not know about POSIX, but my common sense says that a directory,
even it is a
network directory, never has zero size.

As you mention, it's the space reserved for the directoryobject.

With a network fs (and every virtual fs) the link with the object on
the harddrive isn't there,
but a directory takes always some memory! In C there would be an entry
object allocated, I do not have to explain that. The size will
probably will be much less than the 4Kb with Ext2/3/4,
but my point is it is never zero.

Stef
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux