Get Mount target from path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux