View Single Post
Posts: 37 | Thanked: 1 time | Joined on Feb 2008 @ San Franicsco
#226
Originally Posted by fanoush View Post
Now I got bitten by this too. Workaround is to edit file
/usr/sbin/osso-mmc-umount.sh (as already mentioned here http://www.internettablettalk.com/fo...&postcount=123 )
and change one line 'umount $mp 2> /dev/null' in this loop
Code:
        for mp in $MPS; do
          umount $mp 2> /dev/null
          RC=$?
          if [ $RC != 0 ]; then
            echo "$0: could not unmount $mp"
            exit $RC
          fi
        done
to be
Code:
        for mp in $MPS; do
          if [ "$mp" != "/" ] ; then umount $mp 2> /dev/null ; fi
          RC=$?
          if [ $RC != 0 ]; then
            echo "$0: could not unmount $mp"
            exit $RC
          fi
        done
Which means skip unmounting root filesystem. If you don't write to same filesystem (i.e the active linux partition) over usb, it is safe. Most probably you just want to write to first FAT partition anyway.
how do i save the script back in place. I downloaded a 3rd party file manager just to find the file. I changed it but i am unable to replace it and the notes app (or regular file manager) refuses to let me replace the file.