summaryrefslogtreecommitdiff
path: root/selfstrap
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-10-12 10:44:27 -0400
committerAndrew Cady <d@jerkface.net>2020-10-12 10:53:31 -0400
commit996c430fd798598e1ba4d492741fc2fadf1a3a1e (patch)
tree3540d1ac5fb54da15234677625911d70715ec2d5 /selfstrap
parenta50c1bc9ef4d152b8f6262ef281c4a0c510db822 (diff)
Change btfrs uuid all the time
This is a workaround for a kernel bug that happens when you try to mount the image file after creating it with cp. It acts as if the same UUID is already mounted, even though it isn't (anymore). Changing the UUID on the image allows mounting it. Can't use 'btrfstune -m' here because (for the time being) it doesn't work on seed images. So that means that the operation is slow. It is done more than necessary because it is done wherever made necessary by existing code. TODO: Change the actual behavior of the program to wait until the very end to set seed property. Only set -S1 when creating the patchfs or creating the uplevel image.
Diffstat (limited to 'selfstrap')
0 files changed, 0 insertions, 0 deletions