Get Mount target from path

manty kuma mantykuma at gmail.com
Wed Feb 4 02:23:26 EST 2015


Hi All,

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).

Best Regards,
Sandeep Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150204/04610bd6/attachment.html 


More information about the Kernelnewbies mailing list