Device UUIDs are commonly used when configuring
/etc/fstab mount points, when setting up bootloaders like
systemd-boot and for many administrative tasks. Those identifiers are painful to deal with if you are logged to console without copy-paste capabilities. So here is quick way to inject them into configs:
Open file in nano editor:
Navigate to point where you want to insert UUID, press Control+T and write command:
blkid --match-tag UUID --output value /dev/enter_your_device_name_here
Press Enter and it will insert UUID at your cursor. F2 to save file and done.
Latest comments (0)