3 ms·
The rules are very much written down. For instance, here are the rules for /opt: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html
by hedora 3y ago
The rules are very much written down. For instance, here are the rules for /opt:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s1-filesystem-fhs#s3-filesystem-opt https://access.redhat.com/documentation/en-us/red_hat_enterp...
There's also a section for /usr.
- teddyh 3y agoI’d start here: • Filesystem Hierarchy Standard <https://www.pathname.com/fhs/ https://www.pathname.com/fhs/> • For Debian (and derivatives): <https://www.debian.org/doc/debian-policy/ch-opersys.html#file-system-hierarchy https://www.debian.org/doc/debian-policy/ch-opersys.html#fil...>
- teddyh 3y agoAnd, of course, hier(7): <https://manpages.debian.org/stable/manpages/hier.7.en.html https://manpages.debian.org/stable/manpages/hier.7.en.html>