slitaz-boot-scripts diff etc/init.d/bootopts.sh @ rev 289
bootopts.sh: Use posixovl for /home mount
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 23 10:39:05 2012 +0100 (2012-03-23) |
parents | 28fda57244ee |
children | 0f3d63ac9766 |
line diff
1.1 --- a/etc/init.d/bootopts.sh Sat Mar 03 18:36:31 2012 +0100 1.2 +++ b/etc/init.d/bootopts.sh Fri Mar 23 10:39:05 2012 +0100 1.3 @@ -93,6 +93,9 @@ 1.4 [ -d /home/$USER ] && mv /home/$USER /tmp/$USER-files 1.5 mount /dev/$DEVID /home -o uid=1000,gid=100 2>/dev/null \ 1.6 || mount /dev/$DEVID /home 1.7 + case "$(/sbin/blkid | grep /dev/$DEVID:)" in 1.8 + *\"ntfs\"*|*\"vfat\"*) mount.posixovl /home ;; 1.9 + esac 1.10 # Check if swap file must be generated in /home: swap=size (Mb). 1.11 # This option is only used within home=device. 1.12 if grep -q "swap=[1-9]*" /proc/cmdline; then