3 ms·
Does linux/ext3/ext4 have quirks like this?
by noobermin 11y ago
Does linux/ext3/ext4 have quirks like this?
- tenfingers 11y agoNote that this is likely an issue of PATH_MAX being used, a constant which is often used as the maximum path length when constructing buffers. Different programs might have different limits which are irrespective of the file system itself (and the filesystem has usually a different limit for a single name - PATH_MAX is usually relevant for symlink lookups). linux/limits.h defines it as 4k, which is longer, but you would be surprised that many tools often define their buffer sizes arbitrarily (with 256 being _quite_ too common). Given that each fs might have different limits, it's kind of bad practice to assume some fixed length as the maximum path size (I don't know if linux actually enforces PATH_MATH in vfs as a ceiling for all fses anyway).