Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't there a max filepath length? Or does find not ever deal with that and just deal in terms of building its own stack of inodes or something like that?


That’s what PATH_MAX is. It’s the size of the buffer used for paths - commonly 4096 bytes. You can’t navigate directly to a path longer than that, but you can navigate to relative paths beyond that (4096 bytes at a time).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: