diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-28 19:52:56 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-28 19:52:56 +0100 |
commit | 6be2f369ac9756ff257b11cd7b4fe8f23c9510c3 (patch) | |
tree | aede1e184b713062f504e94cb0fb38da1c27f7e8 /shutdown | |
parent | 47b5d5ef4eb6c2803e61890949fd7e9ab2164796 (diff) | |
download | mkinitcpio-6be2f369ac9756ff257b11cd7b4fe8f23c9510c3.tar.gz mkinitcpio-6be2f369ac9756ff257b11cd7b4fe8f23c9510c3.tar.xz |
shutdown: leave a comment about cryptsetup v. dmsetup
Remind myself why we can't merge these so I'm not tempted to do this
again in the future.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Diffstat (limited to 'shutdown')
-rw-r--r-- | shutdown | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,8 @@ stop_device() { devtype=$(lsblk -drno TYPE "/dev/$1" 2>/dev/null) || return 1 case $devtype in crypt) + # dmsetup could be used here, but we don't know that it + # exists. read devname <"$1/dm/name" cryptsetup remove "$devname" ;; |