From: Michael Prokop Date: Sun, 26 Dec 2010 22:44:11 +0000 (+0100) Subject: Fix symlink problem with newer device mapper, patch based on work by Thomas Koehler. X-Git-Tag: v0.20~2 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=cb23919c91d625ebbd3c0b676ca2dce98cf20a05;hp=cb23919c91d625ebbd3c0b676ca2dce98cf20a05;p=grml-crypt.git Fix symlink problem with newer device mapper, patch based on work by Thomas Koehler. Original commit message by Thomas Koehler: Newer device mappers create /dev/mapper/grml-crypt_DEV as a symlink to /dev/dm-X, no longer as a block device. Unfortunately, after mounting, you only see /dev/dm-X in /etc/mtab and /proc/mounts, which broke the "stop" command in grml-crypt. By looping over all /dev/mapper/grml-crypt* files and checking if this is the correct one, this problem can be fixed. Thanks: Thomas Koehler ---