/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 code.

On Sep 22, 10:06 pm, archieval <archie.brio...@gmail.com> wrote:
> Hello everyone,
>
> Unmounting a busy partition has been quite a problem for me, my
> busybox package v1.16.0 have no lsof, and fuser does not really help
> in determining if a file in the mount point is being used, or opened.
> Does anyone have a workaround for this? I tried to insert an lsof
> binary to the system but everytime I execute it, it returns error that
> it is not found. Is there a proc file or something like that wherein I
> can find whether the mount point is opened and what process is using
> it?
>
> Regards,
> archieval

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to