Re: Return status of mnt_context_mount when helper is used

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

 



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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux