:: Re: [DNG] findUUID?
Top Pagina
Delete this message
Reply to this message
Auteur: aitor
Datum:  
Aan: dng
Onderwerp: Re: [DNG] findUUID?
Hi Peter,

On 12/20/25 16:31, Peter via Dng wrote:
> if [ findmnt -nrS UUID=$workingVolume ]; then
>    echo "$workingVolume is not mounted"
> else
>    echo "$workingVolume is mounted"
> fi


if [ -n "$(findmnt -nrS UUID=$workingVolume)" ]; thenecho "$workingVolume is not mounted"
else
echo "$workingVolume is mounted"
fi

HTH,

Aitor.