I have experienced a problem with the ubd device where it would not
change the location of the backing file after I renamed it. I stumbled
upon the cause of this problem after I created an empty file with the
old name just to see what it would do. With the fake backing file, UML
saw it and then switched to the real backing file in its new location,
as I originally specified on the command line. This problem occurs when
stat fails for the old backing, causing the function same_backing_files
to return 1 as if the old backing file and new backing file are the
same. This causes UML to keep the old location. The attached patch
changes the return value from 1 to 0 when the stat fails.
Get latest updates about Open Source Projects, Conferences and News.