lkml.org 
[lkml]   [2004]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH] inotify 0.10.0
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2011 Jasper Spaans