projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
066ce6f
)
Do not pollute the logs when looking for swap partitions.
author
Marco Amadori
<amadorim@vdavda.com>
Thu, 2 Oct 2008 10:34:17 +0000
(12:34 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:02 +0000
(17:48 +0100)
scripts/live-bottom/13swap
patch
|
blob
|
history
diff --git
a/scripts/live-bottom/13swap
b/scripts/live-bottom/13swap
index
1975bd5
..
8fc718c
100755
(executable)
--- 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