Skip to content

Commit

Permalink
Adding support for Virtio vd[a-z] drives.
Browse files Browse the repository at this point in the history
  • Loading branch information
intrigeri authored and daniel-baumann committed Aug 7, 2008
1 parent 26efb1a commit d271431
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/live
Expand Up @@ -559,6 +559,9 @@ is_nice_device ()
sysfs_path="${1#/sys}"

if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-[ide|scsi|usb])"
then
return 0
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
then
return 0
fi
Expand Down

0 comments on commit d271431

Please sign in to comment.