On Mon, Sep 10, 2012 at 10:23:06AM +0200, Karel Zak wrote: [snip] > The mnt_table_get_root_fs() is mostly designed for application where > you need to sort mountpoints to a tree. (for example findmnt(8)) > > If you not sure than mnt_table_find_target() is probably better > choice. > Thanks for the reply. mnt_table_find_target works wonderfully. Also, I am currently using libmount from util-linux 2.20.1. Would you recommend this for production? Currently, debian wheezy uses util-linux 2.20.1. Thanks, Amit -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html