FSTRIM(8) fstrim - o fstrim [-v] [-o offset] [-l length] [-m minimum-size] -A|-a|mountpoint fstrim ( ,,") . (SSD) . , fstrim . , . - -A, -a, --fstab, --all. fstrim- , mount -o discard, SSD . . , . , - KiB (=1024), MiB (=1024*1024), GiB, TiB, PiB, EiB, ZiB YiB (,,iB" , ., ,,K" ,,KiB") KB (=1000), MB (=1000*1000), GB, TB, PB, EB, ZB YB. -A, --fstab /etc/fstab- . . , --offset, --length --minimum, . , , - . ,,X-fstrim.notrim" . -a, --all . , --offset, --length --minimum, . , . -n, --dry-run FITRIM ,,ioctl". -o, --offset . , . -l, --length ( ) . , fstrim . . -I, --listed-in ,,fstab" ,,mountinfo" . . - . : --listed-in /etc/fstab:/proc/self/mountinfo. ,,X-fstrim.notrim" ,,fstab"- . -m, --minimum - , . ( .) fstrim (fstrim_range.minlen) . , fstrim- , . , . -t, --types --all --fstab. . mount -t . . ,,no" ,,no" . , ( ,,autofs"). -v, --verbose . fstrim . , ,,FITRIM ioctl" . fstrim , . fstrim_range.len (the --length option). , ,,raid" , LVM , . ,,fstrim_range.len" ( --length). --quiet-unsupported (ioctl) . systemd cron(8) , NTFS , ,,ioctl FITRIM" . fstrim . -h, --help . -V, --version Display version and exit. 0 1 32 64 , fstrim --all 0 ( ), 32 ( ) 64 ( , ). Lukas Czerner , Karel Zak blkdiscard(8), mount(8) For bug reports, use the issue tracker . fstrim ,,util-linux" . util-linux 2.41 2025-03-29 FSTRIM(8)