Hacker News new | ask | show | jobs
by tom_devref 2242 days ago
I really dislike the way snaps create disk partitions. When I run $ df I want to see what I defined during OS installation, not a dozen nasty snap mounts. An application misusing fundamental system features like this feels like a violation of some UNIX principle.
5 comments

Very much agreed, the fact that nobody at Ubuntu noticed that the extra mount points is a best annoying is kinda impressive.

I’m not blaming Ubuntu, nor Snaps for this issue, but we had a new server come online and our monitoring noticed that two or three partition was already at 100% usage. Those where snap mount point.

I don't use Ubuntu on servers but I imagine snaps would cause monitors like Munin and Logwatch to freak out.
FWIW, you can pass the "-t" parameter to "df" to limit the output to specific filesystem types (e.g., "ext4", "xfs", etc.).
I cannot agree more and I'm actually surprised that I haven't heard this complaint more often/loudly. Perhaps there is something we are missing ?
Couldn't agree more. I have resorted to using an alias:

alias df='df -x"squashfs" -x"tmpfs"'

We must be nearly at the point in the plot when somebody declares that df "never did work properly anyway" and rewrites it.