Interview Prep/Linux/Storage & Memory

What does `mount -o remount` do, and common mount options?

IntermediateConceptStorage & Memory
Answer

remount changes options of a mounted filesystem without unmounting.

sudo mount -o remount,ro /data
sudo mount -o remount,rw /

Common options: ro/rw, noatime, nodev, nosuid, noexec (security hardening for /tmp, /home), nofail, _netdev, discard (online TRIM; periodic fstrim.timer is usually preferred).

All Linux questions Roadmap: Linux

More on Storage & Memory