1 |
On Saturday 12 June 2004 22:34, Nathaniel McCallum wrote: |
2 |
> On Sat, 2004-06-12 at 15:05, Nathaniel McCallum wrote: |
3 |
> OK, the script has been rewritten to use sysfs now. Please try it |
4 |
> again. Hopefully scsi detection should work now :). Currently it |
5 |
> should detect anything in /sys/bus/{scsi,ide}/devices. If there is |
6 |
> anything besides scsi and ide that needs to be detected, please let me |
7 |
> know. |
8 |
> |
9 |
> I hope this works... |
10 |
|
11 |
mike@gandalf mike $ python detect_devices.py |
12 |
Your devices are detected by this script as: |
13 |
Traceback (most recent call last): |
14 |
File "detect_devices.py", line 75, in ? |
15 |
for device in detect_devices(): |
16 |
File "detect_devices.py", line 52, in detect_devices |
17 |
raise Exception, "invalid major minor in "\ |
18 |
Exception: invalid major minor in /sys/bus/ide/devices/1.1/block/dev |
19 |
mike@gandalf mike $ ls -lh /sys/bus/ide/devices/1.1/block/dev |
20 |
ls: /sys/bus/ide/devices/1.1/block/dev: No such file or directory |
21 |
|
22 |
|
23 |
dominus root # python detect_devices.py |
24 |
Your devices are detected by this script as: |
25 |
Traceback (most recent call last): |
26 |
File "detect_devices.py", line 75, in ? |
27 |
for device in detect_devices(): |
28 |
File "detect_devices.py", line 52, in detect_devices |
29 |
raise Exception, "invalid major minor in "\ |
30 |
Exception: invalid major minor in /sys/bus/ide/devices/0.1/block/dev |
31 |
dominus root # ls -lh /sys/bus/ide/devices/0.1/block/dev |
32 |
ls: /sys/bus/ide/devices/0.1/block/dev: No such file or directory |
33 |
|
34 |
-- |
35 |
Mike Williams |