View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#6
Originally Posted by vi_ View Post
Ay? wut?
Ay! Yep!
It is like that. Even if I plug in USB and mass storage mode should be enabled (calling osso-mm-umount), the MyDocs keeps mounted, so not accesible from PC.

I have investigated and it is definitely the loop mount of the image file.
I have booted with the entry in fstab automatically generated. But not mounted the image. This way enaböing USB works and MyDocs gets unmounted.
Once I mount the image file (creating /dev/loop0), the umount of MyDocs does not work anymore. Even if I umount the image file (/dev/loop0) in advance.

Only solution is 'umount MyDocs -l' manually.
This is lazy unmounting, also referenced in osso-mmc-umount, but not called.

I know how to workaround, but would like to know the reason (and correct solution).

Cheers.

--edit
Originally Posted by vi_ View Post
You sure you are not doing something dumb like leaving your terminal in a directory in MyDocs?
Ay. Yes. I am sure. Also checked with lsof (nothing open) and fuser (do not know if output is correct).
And this behaviour I normally know only from Windoof (and/or DOS) ...

Last edited by peterleinchen; 2011-12-20 at 17:13.