knorrie / python-btrfs

Python Btrfs module
GNU Lesser General Public License v3.0
112 stars 22 forks source link

How can I change the UUID of a snapshot? #37

Closed ceremcem closed 2 years ago

ceremcem commented 2 years ago

Hi. I can't find a proper function to change the UUID of a snapshot. How can we change the UUID of a snaphot?

knorrie commented 2 years ago

Hi ceremcem,

There is no kernel API function for a running file system to change the UUID of a subvolume, so the fact that you cannot find it is right.

Hans

ceremcem commented 2 years ago

Okay, thanks for the answer. I'll request this feature in the mailing list.