:: Re: [DNG] findUUID?
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: aitor
Ημερομηνία:  
Προς: dng
Αντικείμενο: 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.