How to use trim command ?,Re: How to use trim command ?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Dec 1 21:23:55 UTC 2018
--------
In message <CANCZdfqsVo_mk4TqJy8pmp+DQvDSg-cgwxM03+xgT5_Y+VKvnA at mail.gmail.com>, Warner Losh writes:
>On Sat, Dec 1, 2018 at 4:41 AM Masachika ISHIZUKA <ish at amail.plala.or.jp>
>wrote:
>> I think 'fsck_ffs -E' is not suitable for daily midnight cron job.
>
>FreeBSD doesn't have an equivalent of a daemon that runs and trims blocks
>after a while of being idle (trimd on linux I think).
Why would you run 'fsck_ffs -E' in cron anyway ?
If the file-system is has TRIM enabled, it would be a no-op, unless
there are bugs in the fs ?
As for command name: bio_delete(8) would be my suggestion, but I'm biased.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list