A very nice explanation, Janne, thank you!

On Tue, 13 Feb 2024 14:12:10 +0100
Janne Johansson <[email protected]> wrote:

> A few. The partitioning scheme allow certain parts of the filesystem
> to have different permissions,
> 
> /dev/sd1a on / type ffs (local)
> /dev/sd1e on /home type ffs (local, nodev, nosuid)
> /dev/sd1d on /usr type ffs (local, nodev)
> /dev/sd0a on /usr/local type ffs (local, nodev, wxallowed)
> 
> but also if something decides to log like crazy and fills up /var and
> you have /var ( or /var/log ) as a separate partition, the rest of the
> system is not affected by it going full and it might be lots easier to
> recover from it when the rest of the paths work as expected.
> 
> It's a tradeoff between having to know in advance where data will go
> or not, versus being able to prevent some nasty issues that could
> occur if you let someone else run code on your machine.
> 
> For a throwaway VM that you can reproduce, it would not matter so
> much. For a box you really care about and is meant to run for yeats,
> it matters more.

Reply via email to