git: dm_target_crypt - make the next generation (ng) module the default

Michael Neumann mneumann at crater.dragonflybsd.org
Tue Jul 29 12:03:43 PDT 2025


commit f9c79d28d9ec0c95b4e78c6374f774077944db5e
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Tue Jul 29 20:23:45 2025 +0200

    dm_target_crypt - make the next generation (ng) module the default
    
    * The next generation version has been thoroughly tested by me for the
      last few months
    
    * Remove the "legacy" dm_target_crypt code and module
    
    * Rename dm_target_crypt_ng -> dm_target_crypt (in the source tree
      dm/crypt_ng -> dm/crypt)
    
    * Whenever you read "dm_target_crypt_ng" in old commit messages, this
      is now the current module (just named "dm_target_crypt"). Sorry for
      the confusion
    
    * swapon(8) will now pick up the new module, as "dm_target_crypt" is
      hard-coded in it
    
    * Check your /boot/loader.conf and change `dm_target_crypt_ng_load=YES`
      to `dm_target_crypt_load=YES` in case of need
    
    Discussed-with: dillon

Summary of changes:
 sys/dev/disk/dm/Makefile                   |    2 +-
 sys/dev/disk/dm/crypt/Makefile             |    2 +-
 sys/dev/disk/dm/crypt/dm_target_crypt.c    | 1196 ++++++++++------------------
 sys/dev/disk/dm/crypt_ng/Makefile          |    6 -
 sys/dev/disk/dm/crypt_ng/dm_target_crypt.c | 1103 -------------------------
 5 files changed, 401 insertions(+), 1908 deletions(-)
 delete mode 100644 sys/dev/disk/dm/crypt_ng/Makefile
 delete mode 100644 sys/dev/disk/dm/crypt_ng/dm_target_crypt.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9c79d28d9ec0c95b4e78c6374f774077944db5e


-- 
DragonFly BSD source repository


More information about the Commits mailing list