brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: df -hT shows the filesystem type next to every mount

Linux
~/tips/tip-df-ht-filesystem-type

df -hT

Adds a column with the filesystem type, so you see what is on each mounted disk.

Plain df -h tells you how full a disk is. It does not tell you what is on it.

df -hT

The extra Type column shows ext4, xfs, btrfs, tmpfs, zfs and so on. That helps when you wonder if a path is a real disk or just memory, or why a tool treats a mount differently. Add a path, like df -hT /mnt/user, to see only the mount that holds it. Many of the entries are tmpfs or overlay and can be ignored.

Further reading: df manual page

More Linux tips a2query -m rewrite renice -n 10 -p 4242 cat config.yml | xsel -ib xvfb-run -a your-program --some-flag dpkg --get-selections > packages.txt All Linux tips (261) All topics

Link