Get Mount target from path
mantykuma at gmail.com
Wed Feb 4 02:23:26 EST 2015
I would like to know the mount target for a given directory. In kernel, is
there an API to get the information?
Ex: /system/bin -> /system
/system/bin is a directory its mount partition is /system. Similarly, I
would like to get the target for a given path(Parsing is not right as a
target can be mounted to anywhere).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies