Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
sysconfig
> sysconfig_mount_parse_UUID.293887.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File sysconfig_mount_parse_UUID.293887.patch of Package sysconfig (Revision 1)
Currently displaying revision
1
,
show latest
Index: sysconfig-0.50.9/scripts/storage/mount.sh =================================================================== --- sysconfig-0.50.9.orig/scripts/storage/mount.sh +++ sysconfig-0.50.9/scripts/storage/mount.sh @@ -30,8 +30,9 @@ HOTPLUG="no" while read dn mp fs opts dump fsck x; do case $opts in *hotplug*) + d=$(echo $dn | sed 's.UUID=./dev/disk/by-uuid/.g;s.LABEL=./dev/disk/by-label/.g') for n in $NODES; do - if [ "$n" == "$dn" ] ; then + if [ "$n" == "$d" ] ; then HOTPLUG="yes" fi done