System and processes

The tune2fs command

Tunes parameters of an ext filesystem and shows its information.

Syntax

sudo tune2fs [-l] [-L etiqueta] <dispositivo>

Most useful options

-lShow the information
-LSet a label

Copy-ready examples

$ sudo tune2fs -l /dev/sda1See information

You can try them in the browser terminal: it does not touch your computer.

Typical mistakes

  • With -l it is read-only; it also sets the label or reserved blocks.

Related commands

FAQ

Learn to actually use it

The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.

Start the free course