Skip to content

Blocky on NixOS cannot write logs to certain directory #1638

Answered by ThinkChaos
archvisions asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, yes the root filesystem is read-only so you can't just create a directory there.

Putting stuff at the root is anyways not a good practice, the filesytem layout actually follows something called the Filesystem Hierarchy Standard (FHS). It's common to put things at the root for containers, but that's generally an ugly hack if you ask me.

In the NixOS community you might see people mention the FHS because NixOS doesn't strictly follow it since it puts most things in the Nix store and then symlinks only some of them at the more standard path. This breaks a lot of programs, for instance running all prebuilt dynamically linked binaries since those binaries hardcode a path to the dynamic li…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@archvisions
Comment options

Answer selected by archvisions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants