v2v: linux: accept 'scd' devices in fstab

Avoid warnings for another kind of SCSI CD-ROMs in fstab, like it is
done already for other CD devices.
This commit is contained in:
Pino Toscano
2017-03-15 11:07:43 +01:00
parent da4757fd15
commit 2f22f2c469

View File

@@ -922,6 +922,7 @@ let rec convert (g : G.guestfs) inspect source output rcaps =
if not (String.is_prefix device "md") &&
not (String.is_prefix device "fd") &&
not (String.is_prefix device "sr") &&
not (String.is_prefix device "scd") &&
device <> "cdrom" then
warning (f_"%s references unknown device \"%s\". You may have to fix this entry manually after conversion.")
path device;