git: fdisk(8): Sync TRIM behavior with gpt(8) and clean up code
Aaron LI
aly at crater.dragonflybsd.org
Thu May 8 22:14:11 PDT 2025
commit d06ed68675e34e0b15314383bcf52de9deb142d6
Author: Aaron LI <aly at aaronly.me>
Date: Thu May 8 17:49:48 2025 +0800
fdisk(8): Sync TRIM behavior with gpt(8) and clean up code
The TRIM feature is enabled by default in kernel now, so let fdisk(8)
continue the operation if TRIM if the device doesn't support it, similar
to gpt(8).
Update the man page accordingly.
Summary of changes:
sbin/fdisk/fdisk.8 | 8 +++-----
sbin/fdisk/fdisk.c | 42 ++++++++++--------------------------------
2 files changed, 13 insertions(+), 37 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d06ed68675e34e0b15314383bcf52de9deb142d6
--
DragonFly BSD source repository
More information about the Commits
mailing list