Blkid или id партиции

Материал из support.qbpro.ru

copy id from blkid

# blkid -t "LABEL=test" -o device
/dev/loop0
/dev/loop1

To fix this, one should add option "-l" to blkid:

# blkid -l -t "LABEL=test" -o device
/dev/loop1