From: Amit Uttamchandani <amit.uttam@gmail.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: Can't figure out how to use mnt_table_get_root_fs from libmount
Date: Sun, 16 Sep 2012 17:21:32 -0700 [thread overview]
Message-ID: <20120917002132.GA12037@amit-debian.lg.local> (raw)
In-Reply-To: <20120910082306.GA27276@x2.net.home>
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
prev parent reply other threads:[~2012-09-17 0:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-08 18:07 Can't figure out how to use mnt_table_get_root_fs from libmount Amit
2012-09-08 20:19 ` Amit
2012-09-10 8:23 ` Karel Zak
2012-09-17 0:21 ` Amit Uttamchandani [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120917002132.GA12037@amit-debian.lg.local \
--to=amit.uttam@gmail.com \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).