CustomizeLiveInitrd
Attachment 'casper.all-disks.diff'
Download 1 --- casper.orig 2006-08-23 11:58:58.000000000 +0200
2 +++ casper 2006-08-25 14:54:50.000000000 +0200
3 @@ -246,7 +246,11 @@
4
5 is_usb_device() {
6 sysfs_path="${1#/sys}"
7 - if /lib/udev/path_id "${sysfs_path}" | grep -q "ID_PATH=(usb|pci-[^-]*-usb)"; then
8 + if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-[^-]*-usb)"; then
9 + return 0
10 + fi
11 + # Ugly hack, treat all disks as usb disks, so they will be scanned
12 + if /lib/udev/path_id "${sysfs_path}" | grep -q "ID_PATH="; then
13 return 0
14 fi
15 return 1
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.