Re: [RFC][PATCH] inotify 0.10.0

From: Robert Love
Date: Tue Sep 28 2004 - 16:41:34 EST


On Tue, 2004-09-28 at 17:21 -0400, John McCutchan wrote:

> A quick test of 'echo "" > XXXX...XXX' the filename seems to be limited
> to 256.

I think ext3 limits filenames to 255 or 256 characters. Other
filesystems probably have other limits.

The POSIX absolute maximum is PATH_MAX for the entire path, which means
that a legal filename could theoretically be PATH_MAX-1 (a file in the
root directory). But maybe in practice this is never an issue.

We still have the issue where 256 is much larger than the average file.

But, as I have said before, I am _for_ keeping the thing static,
although I acknowledge all the points about going dynamic.

Robert Love


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/