How to use trim command ?,Re: How to use trim command ?
Masachika ISHIZUKA
ish at amail.plala.or.jp
Sat Dec 1 11:23:48 UTC 2018
>> I misunderstood trim was equivalent to fstrim in linux.
>> I undotstood that the trim command is the SSD bulk erase tool.
>
> If you want to enable TRIM on a UFS filesystem, tunefs is the command
> you are looking for.
Thank you for mail.
I'm using 'tunefs -t enable /dev/ada0pXX', that is equivalent
to 'discard' in fstab on linux.
> The equivalent to fstrim for UFS is fsck_ffs -E:
I think 'fsck_ffs -E' is not suitable for daily midnight cron
job.
--
Masachika ISHIZUKA
More information about the freebsd-hackers
mailing list