DIGIT-ARC read-only archive · snapshot: July 23, 2026

Unix : CentOS 5 : File name length

2 posts · originally from https://geek.digit.in/community/threads/unix-centos-5-file-name-length.103620/

S
srbharadwaj Original post #1
Dec 4, 2008 at 11:46 PM
The max length of a file name is 255 characters.
is there a way in which we can increase this, say double it?
QwertyManiac
Dec 5, 2008 at 1:40 PM
Nope. Almost all FS (EXT, JFS, etc) have their limits set to 255 chars/bytes. And the ones which allow beyond that limit are limited by Linux's VFS to 255. For example, ReiserFS supports over 4k bytes but the VFS does not allow that to be.

You could change your approach perhaps?