FSTRIM(8) FSTRIM(8) fstrim - fstrim [-v] [-o ] [-l ] [-m -] -A|-a|- fstrim ( <<>>) , . (SSD) . , fstrim . , , . - , ', -A, -a, --fstab --all. fstrim mount -o discard SSD. . , , - . , - KiB (=1024), MiB (=1024*1024) GiB, TiB, PiB, EiB, ZiB YiB ( <> ', , <> , <>) KB (=1000), MB (=1000*1000) GB, TB, PB, EB, ZB YB. -A, --fstab /etc/fstab , . , . , --offset, --length --minimum. , , , , autofs , , . <>, . -a, --all , . , --offset, --length --minimum. , , , , , , . -n, --dry-run , - FITRIM. -o, --offset , . , . -l, --length ( ) . , fstrim . . -I, --listed-in fstab mountinfo . , , . . : --listed-in /etc/fstab:/proc/self/mountinfo. <> fstab . -m, --minimum - , , . ( .) , fstrim , , (fstrim_range.minlen) . , fstrim , . , . -t, --types Specifies allowed or forbidden filesystem types when used with --all or --fstab. The list is a comma-separated list of the filesystem names. The list follows how mount -t evaluates type patterns. Only specified filesystem types are allowed. All specified types are forbidden if the list is prefixed by "no" or each filesystem prefixed by "no" is forbidden. If the option is not used, then all filesystems (except "autofs") are allowed. -v, --verbose . , fstrim . , - FITRIM . fstrim , , . , , RAID, LVM, , . fstrim_range.len ( --length). --quiet-unsupported , (ioctl) . systemd cron(8) , , , NTFS , << >>, , - FITRIM. , fstrim . -h, --help . -V, --version . 0 1 32 64 , - fstrim --all 0 ( ), 32 ( ) 64 ( , ). Lukas Czerner , Karel Zak blkdiscard(8), mount(8) fstrim util-linux, Linux . util-linux 2.41 2025-03-29 FSTRIM(8)