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

Bug#587377: debian-policy: Decide on arbitrary file/path names limit



Jonathan Nieder <jrnieder@gmail.com> writes:

> E.g., what filesystem?

As I recall, I was running reiser3 at the time.

> Now I'm starting to worry that it might have been the length of the
> filename rather than the pathname that triggered Bug#587440.  But the
> filename was only 234 characters, which should certainly be safe, even
> on filesystems like ubifs.  Ideas?

Quite likely, in retrospect; path-name limits are filesystem-independent
and relatively large, and 234 does in fact exceed reiser3's limit of 226
(per http://en.wikipedia.org/wiki/Comparison_of_filesystems).  It might
also be appropriate to worry about files whose names exceed the ISO 9660
180- or 207-character limit; the longest current filename appears to be
debian_2kwwidgets-examples_2usr_2share_2doc_2kwwidgets-examples_2examples_2Cxx_2FileBrowserDialog_2vtkKWMyFileBrowserDialog_8h_source.html
(in usr/share/doc/kwwidgets-doc/html), 138 characters long, so such a
limit should pose little trouble in practice.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



Reply to: