Package: initscripts
Version: 2.88dsf-43

/lib/init/mount-functions.sh does not handle quoted LABEL= or UUID= names in fstab. mount -a (and findfs) works with quoted names in fstab.

Debian no longer supports the /dev/root symlink which forces users to use an fstab with either LABEL= or UUID=.

Attached is a patch to correct the problem. The script is made consistent with the behaviour of mount.

--


David Burgess
<dburg...@spinifex.com.au>

--- usb/lib/init/mount-functions.sh     2013-07-15 06:57:26.000000000 +1000
+++ /lib/init/mount-functions.sh        2013-09-30 10:12:45.288456118 +1000
@@ -61,7 +61,7 @@
                                  LABEL=*|UUID=*)
                                        if [ "$MTPT" = "/" ] && [ -x 
/sbin/findfs ]
                                        then
-                                               DEV="$(findfs "$DEV")"
+                                               DEV="$(eval findfs "$DEV")"
                                        fi
                                        ;;
                                  /*)

Reply via email to