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

Will te UUID or blkid of a device change?



Hi folks, 

just aquestion. 

I am booting a lie system from USB-stick. In this live system I am creating an 
ISO-file, which I then want to dd onto another USB-stick.

As I am doing this with a script, I want to make sure, that the correct USB-
stick is used. 

Thus I can do by using the UUID of the target stick like 

dd if=/path/to/myfile.iso of=UUID="123456-abcd-............"

This is working. Now my question:

Whenever I dd to the target stick, does the UUID change? I know, the UUID of 
the partitions are changing, but what is with the device itself?

Or is there a better way? Maybe by using a label? I read also about blkid, but 
does this change, too when dd to the device?

At all, is my idea possible at all or are ALL UUIDs changing, whenever I do a 
dd? If yes, then how can this be prohibited, if any.

Thanks for any help.

Best

Hans

 



Reply to: