Remix.run Logo
stonogo 4 days ago

It defaults to one / for it all, but if you tell it not to it will suggest partition sizes for you. Regardless this is definitely self-inflicted.

sgc 4 days ago | parent [-]

Absolutely. I should have verified partition sizing, and I should never have allowed even one flatpak. That doesn't make Debian default sizes and installation process anywhere close to good.

WD-42 4 days ago | parent | next [-]

Why, of all root directories, would you skimp out on /var? It literally stands for variable data.

sgc 4 days ago | parent | next [-]

Ask the Debian maintainers. That was their recommendation, and I trusted them - presuming they would recommend something that would work more than two weeks on a rather standard laptop installation. I will have to re-partition within the next year, because their / partition is too small as well.

guappa 3 days ago | parent | next [-]

But the default is to just use / no? So you did not trust them.

nohup2 3 days ago | parent | next [-]

I think this happens because the default option is “recommended for new users”. So some not-new users believe that the other options are better for them.

That default options reads like this: “All files in one partition (recommended for new users)”

sgc 3 days ago | parent | prev [-]

No, they make more than one recommendation - including which partitions to make and the sizes for each of them should you opt into their separate partition path in the installer. So they have defaults for multiple partitions and partition sizes - and I trusted them to have thought them through.

Two improvements that could be made: 1) Easy: put a brief Note in the installer indicating what might fill up the partitions quickly so people can have a heads-up, do a little research, and make a better decision. 2) moderate: still keep the Note, but also check the disk size and maybe ask which type of workload (server, development, home user), then propose something a bit more tailored.

ThePowerOfFuet 3 days ago | parent | prev [-]

Why not just use the default, instead of separate partitions for everything? This is not a 30-year-old BSD.

sgc 3 days ago | parent [-]

For better control over permissions:

```

/ / ext4 defaults 1 1

/home /home ext4 defaults,nosuid,noexec,nodev 1 2

/tmp /tmp ext4 defaults,bind,nosuid,noexec,nodev 1 2

/var /var ext4 defaults,bind,nosuid 1 2

/boot /boot ext4 defaults,nosuid,noexec,nodev 1 2

```

IshKebab 3 days ago | parent | prev [-]

Because it isn't used for much? It's mostly just logs these days. Most data on most systems goes in /usr or /home. I would say the weird thing here is that Flatpak puts runtimes in /var by default instead of ~/.cache or something like that.

jacobgkau 3 days ago | parent | next [-]

User-mode Flatpaks keep things in ~/.local/share/flatpak. This person simply installed a Flatpak in system-mode, which puts it somewhere other users could also run it (i.e. not your home directory).

guappa 3 days ago | parent | prev | next [-]

Where do you think docker containers are installed?

bmicraft 3 days ago | parent | prev [-]

Libvirt virtual machines are also stored there.

ThePowerOfFuet 3 days ago | parent | prev [-]

>I should never have allowed even one flatpak

I don't think that's the best conclusion: these days, disk is cheaper than it has ever been, and that "foundational" 8 GB will serve all the Flatpaks you want. Installing apps from packages sprays the same dependency shit all over your system; Flatpak was nice enough to contain it, so you immediately noticed it.

Flatpak is a good idea.

sgc 3 days ago | parent [-]

It's at best a mixed bag which makes it harder to fine-tune apps on your system and with limited security benefits (which again become harder to improve yourself).

https://madaidans-insecurities.github.io/linux.html#flatpak