Jump to content


pmanu

Member Since 4 Feb 2012
Offline Last Active 07 Jan 2018 15:34
-----

Posts I've Made

In Topic: USB HDD Problem after todays update :(

19 September 2012 - 12:03

Hi,
There is a syntax error in the /etc/mdev/mdev-mount.sh file (line 45) :
--- /etc/mdev/mdev-mount.sh.old
+++ /etc/mdev/mdev-mount.sh
@@ -42,7 +42,7 @@
			 fi
		 fi
		 # first allow fstab to determine the mountpoint
-		if ! mount /dev/$MDEV > /dev/null 2>& ; then
+		if ! mount /dev/$MDEV > /dev/null 2>&1 ; then
			 # no fstab entry, use automatic mountpoint
			 REMOVABLE=`cat /sys/block/$DEVBASE/removable`
			 readlink -fn /sys/block/$DEVBASE/device | grep -qs 'pci'