JAEN

Linux

tune2fs

CautionTune ext filesystems

tune2fs -l <dev>

Inspects/tunes ext filesystems. The classic trick: drop the 5% root reserve (-m 1) to reclaim space.

Examples

  • tune2fs -m 1 /dev/sdb1Shrink the reserved blocks

Syntax

tune2fs -l <dev> / tune2fs [-m percent] [-L label] <dev>

Before you run it

Double-check the target device.

Related commands

  • dfDisk free space
  • fsckCheck filesystem
  • blkidShow device UUIDs

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store