util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Amit Uttamchandani <amit.uttam@gmail.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: Return status of mnt_context_mount when helper is used
Date: Wed, 19 Sep 2012 15:14:27 -0700	[thread overview]
Message-ID: <20120919221427.GA25659@amit-debian.lg.local> (raw)
In-Reply-To: <20120919100638.GC9602@x2.net.home>

On Wed, Sep 19, 2012 at 12:06:38PM +0200, Karel Zak wrote:

[snip]

> 
> docs:
> 
>  * mnt_context_get_status:
>  * @cxt: mount context
>  *
>  * Global libmount status.
>  *
>  * The real exit code of the mount.type helper has to be tested
>  * by  mnt_context_get_helper_status(). The mnt_context_get_status()
>  * only inform that exec() has been successful.
> 

I guess this was implemented after util-linux-2.20.1 since the docs in
that version does not mention it. Also, it is not implemented in the
code.

What would you recommend as a work around? Should I statically link
libmount and bundle it with the application?

Thanks,
Amit

  reply	other threads:[~2012-09-19 22:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 23:08 Return status of mnt_context_mount when helper is used Amit
2012-09-19 10:06 ` Karel Zak
2012-09-19 22:14   ` Amit Uttamchandani [this message]
2012-09-20 10:12     ` Karel Zak

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=20120919221427.GA25659@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).