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

From: Colin Booth <cathexis_at_gmail.com>
Date: Tue, 1 Nov 2016 11:18:14 -0700

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 Tue Nov 01 2016 - 18:18:14 UTC

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