# HG changeset patch # User Pascal Bellard # Date 1332495545 -3600 # Node ID 244e4aba431e2d2deb718dc17b6db462beafb366 # Parent 1c4fd91d1db5b9b15c41d4546fcd9e2cc84ba5cc bootopts.sh: Use posixovl for /home mount diff -r 1c4fd91d1db5 -r 244e4aba431e etc/init.d/bootopts.sh --- a/etc/init.d/bootopts.sh Thu Mar 22 12:02:05 2012 +0100 +++ b/etc/init.d/bootopts.sh Fri Mar 23 10:39:05 2012 +0100 @@ -93,6 +93,9 @@ [ -d /home/$USER ] && mv /home/$USER /tmp/$USER-files mount /dev/$DEVID /home -o uid=1000,gid=100 2>/dev/null \ || mount /dev/$DEVID /home + case "$(/sbin/blkid | grep /dev/$DEVID:)" in + *\"ntfs\"*|*\"vfat\"*) mount.posixovl /home ;; + esac # Check if swap file must be generated in /home: swap=size (Mb). # This option is only used within home=device. if grep -q "swap=[1-9]*" /proc/cmdline; then