projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3411ad6
)
dracut.sh: recognize swap entries in fstab with mountpoint "none"
author
Harald Hoyer
<harald@redhat.com>
Tue, 20 Aug 2013 10:01:17 +0000
(12:01 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 20 Aug 2013 10:01:17 +0000
(12:01 +0200)
dracut.sh
patch
|
blob
|
history
diff --git
a/dracut.sh
b/dracut.sh
index 3ae3874c419c020dc8468f139f2ba9f0d197c161..117f877cf9dfb361a5dc77aa9f27a3fbe9320136 100755
(executable)
--- a/
dracut.sh
+++ b/
dracut.sh
@@
-910,7
+910,8
@@
if [[ $hostonly ]]; then
while read _d _m _t _o _r; do
[[ "$_d" == \#* ]] && continue
[[ $_d ]] || continue
- [[ $_t != "swap" ]] || [[ $_m != "swap" ]] && continue
+ [[ $_t != "swap" ]] && continue
+ [[ $_m != "swap" ]] && [[ $_m != "none" ]] && continue
[[ "$_o" == *noauto* ]] && continue
[[ "$_d" == UUID\=* ]] && _d="/dev/disk/by-uuid/${_d#UUID=}"
[[ "$_d" == LABEL\=* ]] && _d="/dev/disk/by-label/$_d#LABEL=}"