Tune2fs
Aus SchnallIchNet
Set/Get UUID of harddisk partition
uuidgen | xargs tune2fs /dev/hdaX -U ; /lib/udev/vol_id /dev/hdaX
- uuidgen ---------------> produces a new UUID
- tune2fs ---------------> sets the new UUID
- /lib/udev/vol_id ------> reads the newly set UUID