[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] cdrom device handling



On Fri, Oct 12, Richard W.M. Jones wrote:

> virt-rescue should come up with the disk and CD-ROM as /dev/sda and
> /dev/sdb respectively.  This should be enough to read the data off the
> CD (/dev/sdb).  What else would you want to do?

I have not tried it, but I can imagine the following can happen:
Depending on the order of devices a disk may come after the first cdrom.
So a disk 'sdb' in the guest may become 'sdc' in the guest. If one does
a chroot into the guest to do some fixup _and_ if something within that
guest is configured to use kernel device names (like sdb) instead of
LABEL/UUID then failures can occur.

So its just about providing some correctness in virt-rescue.

Olaf


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]