[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Existence of a UUID in a system.



peter@easthope.ca [2025-12-16 15:03:05] wrote:
> How can existence of a given UUID within a system be tested in bash?
> Preferably not restricting to a specific kind of device. Eg. avoiding 
> reference to /dev/disk.

What's wrong with /dev/disk/by-uuid/, exactly?

Nicolas George noted:
> As a general rule, do not check beforehand: do and see if it works.

+1


        Stefan


Reply to: