logoalt Hacker News

dapperdraketoday at 5:41 AM2 repliesview on HN

Facetious reply:

> However, GNU software tends to work very hard to avoid arbitrary limits [1].


Replies

Joker_vDtoday at 6:01 AM

Yes? The quote says "tends to", and you still can cd into that directory, albeit not in a single invocation. Windows has similar limitations [0], it's just that their MAX_PATH is just 260 so it's somewhat more noticeable... and IIRC the hard limit of 32 K for paths in non-negotiable.

[0] https://learn.microsoft.com/en-us/windows/win32/fileio/maxim...

nonameiguesstoday at 9:37 AM

It's not a GNU limit. It's in Linux: https://github.com/torvalds/linux/blob/v6.19/include/uapi/li...