projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f4004
)
Adding support for Virtio vd[a-z] drives.
author
Ben Voui
<intrigeri@boum.org>
Thu, 7 Aug 2008 17:54:49 +0000
(19:54 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Wed, 9 Mar 2011 16:48:01 +0000
(17:48 +0100)
scripts/live
patch
|
blob
|
history
diff --git
a/scripts/live
b/scripts/live
index
867efc0
..
54b43fb
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-561,6
+561,9
@@
is_nice_device ()
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
return 1