mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user