[Bug 217145] Feature request: I need very long directory and file names

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=217145

Andreas Dilger (adilger.kernelbugzilla@xxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adilger.kernelbugzilla@dilg
                   |                            |er.ca

--- Comment #4 from Andreas Dilger (adilger.kernelbugzilla@xxxxxxxxx) ---
The problem with "long filename is a description of the video" is that 1-3KiB
today may grow to 4KiB or 16KiB in the future, so fixing the filename length to
allow 1KiB or 3KiB names (out of a full 4KiB PATH_MAX) is only a short term
solution.  Changing ext4 or XFS to support 3KiB or 4KiB *filenames* would be a
lot of effort for very marginal benefit. 

I think the right solution is to put the "full description" into a separate
xattr on the file (which can be up to 64KiB in modern ext4) and then restrict
filenames to 255 bytes. That allows very long descriptions without impacting
interoperability.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux