[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-3-17-gd309d37
Marco Amadori
amadorim at vdavda.com
Sun Oct 12 08:27:29 UTC 2008
The following commit has been merged in the master branch:
commit 1109d9d85afdd8cfb65fb58e7ddeaef3b4b0a26e
Author: Marco Amadori <amadorim at vdavda.com>
Date: Thu Oct 2 12:34:17 2008 +0200
Do not pollute the logs when looking for swap partitions.
Signed-off-by: Marco Amadori <amadorim at vdavda.com>
diff --git a/scripts/live-bottom/13swap b/scripts/live-bottom/13swap
index 1975bd5..8fc718c 100755
--- a/scripts/live-bottom/13swap
+++ b/scripts/live-bottom/13swap
@@ -41,7 +41,7 @@ do
continue
fi
- /lib/udev/vol_id ${device%%[0-9]*} | grep -q "^ID_FS_USAGE=raid" && continue
+ /lib/udev/vol_id ${device%%[0-9]*} 2>/dev/null | grep -q "^ID_FS_USAGE=raid" && continue
magic=$(/bin/dd if="${device}" bs=4086 skip=1 count=1 2>/dev/null | /bin/dd bs=10 count=1 2>/dev/null) || continue
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list