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:
34769a1
)
98usrmount/mount-usr.sh: ignore comments in fstab
author
Harald Hoyer
<harald@redhat.com>
Tue, 28 Feb 2012 11:54:01 +0000
(12:54 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 28 Feb 2012 11:54:01 +0000
(12:54 +0100)
modules.d/98usrmount/mount-usr.sh
patch
|
blob
|
history
diff --git
a/modules.d/98usrmount/mount-usr.sh
b/modules.d/98usrmount/mount-usr.sh
index
3e23b15
..
f9d049e
100755
(executable)
--- a/
modules.d/98usrmount/mount-usr.sh
+++ b/
modules.d/98usrmount/mount-usr.sh
@@
-39,6
+39,7
@@
mount_usr()
local _dev _mp _fs _opts _rest _usr_found _ret _freq _passno
# check, if we have to mount the /usr filesystem
while read _dev _mp _fs _opts _freq _passno; do
+ [ "${_dev%%#*}" != "$_dev" ] && continue
if [ "$_mp" = "/usr" ]; then
case "$_dev" in
LABEL=*)