Re: Any tool in s6, to check a mountpoint?

From: Jean Louis <bugs_at_gnu.support>
Date: Wed, 2 Nov 2016 20:03:59 +0200

Thank you for idea.

On Tue, Nov 01, 2016 at 11:18:14AM -0700, Colin Booth wrote:
> On Nov 1, 2016 9:54 AM, <bugs_at_gnu.support> wrote:
> >
> > Is there any tool in s6 that can check for a mountpoint? Or any other
> > method?
> >
> > Jean
> Does mountpoint from util-linux not work for you? I've done the following
> in the past:
>
> foreground { if -n { mountpoint.$SOMEDIR } mount $SOMEDIR } prog...
>
> There isn't anything in s6-linux-utils or s6-portable-utils to cover this,
> but the util-linux option is totally valid.
>
> Cheers!
Received on Wed Nov 02 2016 - 18:03:59 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC