On Tue, Dec 21, 2010 at 8:43 PM, John Mahoney <jmahoney@waav.com> wrote:
b. Also, who generates these UUID - is it a disk property (like, ROM signature or stuff?), or this is some udev magic?
IMHO, this is fixed for every device during manufacturing.
I believe the UUID is created per partition/file system and are created when creating the file system for a partition. If anyone even had their drive changed from /dev/hda to /dev/sda due to linux changing how they labeled ide drives they will know why people use UUID instead of the device name . Also, it is not guaranteed that they drives will always come up in the same order between kernel releases(This is my personal opinion).
I think you are correct, it is assigned when a file system is created. It is a tunable parameter which can be chnaged using tune2fs -U command. A new UUID can be generated using command uuidgen.
-- John