:: Re: [DNG] findUUID?
Top Page
Delete this message
Reply to this message
Author: peter
Date:  
To: dng
Subject: Re: [DNG] findUUID?
Bill & all,

From:    "Wm. Moss" <bill.m.moss@???>
Date:    Tue, 16 Dec 2025 10:18:19 -0500

> findmnt -P -o source,target,uuid | grep -Ee'REGEX4UUID'


Thanks. This combined with another test might also work.
# blkid -U 40d81969-8f9d-4964-b214-87bcf273192a
/dev/sdb3

Might be something more direct. Parallel to this.
if findmnt -rn -s UUID=40d81969-8f9d-4964-b214-87bcf273192a ; then

I don't want to test whether mounted. Test only existence.

Thanks,                       ... P.


-- 
mobile:  +1 778 951 5147 <= still working
VoIP:    +1 778 508 0020 <= new & working
projects: en.wikibooks.org/wiki/User:PeterEasthope