git: DragonFly_RELEASE_6_4 fdisk(8): Sync TRIM behavior with gpt(8) and clean up code

Aaron LI aly at crater.dragonflybsd.org
Fri May 9 01:03:02 PDT 2025


commit 3547abb1ae89f7a5350c73d9c80f03c6ce32bc8a
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/3547abb1ae89f7a5350c73d9c80f03c6ce32bc8a


-- 
DragonFly BSD source repository


More information about the Commits mailing list