How to change the UUID of a partition via C code? [closed]

2

I am doing a program in C, and for Linux, I have been able to easily "catch" the UUID with the command blkid .

This program needs to know if the disk where it was installed is still the same and allow to change the UUID itself.

Is it possible to programmatically change the UUID of a partition? I do not find anything conclusive researching on the internet.

    
asked by anonymous 11.09.2016 / 09:27

0 answers