r/linuxfromscratch • u/Intelligent_Comb_338 • Feb 12 '26
Success, LFS without fhs
It took me 5 days trying and it finally worked. The downside is that to compile it you need to patch the paths, configure, etc.
175
Upvotes
15
u/gomez18 Feb 12 '26
I'm curious. To what end? What would avoiding the FHS buy you other than headaches? I'm only aware of Gobo and Nix violating FHS but both are for specific reasons and I believe both create sort of shadow FHS out of symlinks. What's the reason here?
3
u/stvpidcvnt111111 Feb 13 '26
did u end up doing netbsd utils? the filesystem structure also seems interesting.
2
u/transfire Feb 14 '26
I have played with similar ideas (Big fan of Gobo btw, sad it never took off). But I came up with a much more radical layout: users and groups at /. Then all the system directories are in a system base group. Users belong to groups and this gives them access to those group folders as a single seamless view. I never worked out all the details (let alone the technical ones).
7
u/Catenane Feb 13 '26
Cursed but different enough from usual posts to be interesting lol. Congratulations and sorry that happened to you!
1
u/Ok-Bridge-4553 Feb 13 '26
Seems to be tons of work! But you do you.
1
u/Deviling Feb 13 '26
Pretty cool! Would you mind going over your process roughly? I'm interested in doing something similar.
1
u/[deleted] Feb 13 '26
Congrats! What inspired you to do this? It kinda of reminds me of https://gobolinux.org/ with their filesystem layout. They patched the read syscall to hide their symlink hell to achieve what they did. They have a config tool that unhides them as well.
1
u/[deleted] Feb 15 '26
[removed] — view removed comment