SVN: geninitrd/trunk/geninitrd
arekm
arekm at pld-linux.org
Fri Mar 11 12:34:25 CET 2011
Author: arekm
Date: Fri Mar 11 12:34:25 2011
New Revision: 12199
Modified:
geninitrd/trunk/geninitrd
Log:
Don't resolve symlink for luks devices. We need non-resolved form.
Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd (original)
+++ geninitrd/trunk/geninitrd Fri Mar 11 12:34:25 2011
@@ -467,7 +467,7 @@
devpath=$(dm_node "$devpath")
fi
- if [ -L "$devpath" ] && ! is_lvm "$devpath"; then
+ if [ -L "$devpath" ] && ! is_lvm "$devpath" && ! is_luks "$devpath"; then
# sanitize things like:
# /dev/block/104:2 -> /dev/cciss/c0d0p2
devpath=$(readlink -f "$devpath")
More information about the pld-cvs-commit
mailing list