[android-kernel] Re: How do you un-mount a busy partition?

2010-09-23 Thread Chris Stratton
/proc/[procid]/fd/ will be full of symlinks to the target files or devices, you could search that Or you could try to figure out where android implements the "kill anything with an open handle on the sdcard when it gets unmounted" for an example, though it may be done in kernel rather than user co

Re: [android-kernel] Re: Froyo and kernel version

2010-09-23 Thread Dianne Hackborn
We develop each version of Android against a specific version of the kernel, and make little to no attempt to see if it works on earlier versions of the kernel. It seems like more often than not if we try to run a newer version of the platform with the kernel from a previous version that there is

[android-kernel] Re: How do you un-mount a busy partition?

2010-09-23 Thread archieval
I have got a solution now that so far has no apparent bad effects. I used "umount -l" to unmount a busy usb mass storage device mounted on a certain folder. I unmount it while playing a video directly from the usb device, and no fatal effect has been observed. I hope this can also help anyone. =)