Gentoo Archives: gentoo-dev

From: Duane Healing <duane@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] HDD Detection
Date: Sun, 13 Jun 2004 09:09:48
Message-Id: 200406130209.06024.duane@psyber.com
In Reply to: Re: [gentoo-dev] HDD Detection by Nathaniel McCallum
1 On Saturday 12 June 2004 14: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 templar:/tmp# ./detect_devices.py
10 Your devices are detected by this script as:
11 Traceback (most recent call last):
12 File "./detect_devices.py", line 76, in ?
13 for device in detect_devices():
14 File "./detect_devices.py", line 52, in detect_devices
15 raise Exception, "invalid major minor in "\
16 Exception: invalid major minor in /sys/bus/ide/devices/0.1/block/dev
17 templar:/tmp# cat /proc/partitions
18 major minor #blocks name
19
20 3 0 337725 hda
21 3 1 20491 hda1
22 3 2 317205 hda2
23 22 0 10022040 hdc
24 22 1 5859472 hdc1
25 22 2 254016 hdc2
26 22 3 3908520 hdc3
27 22 64 6297480 hdd
28 22 65 488061 hdd1
29 22 66 390757 hdd2
30 22 67 5418630 hdd3
31
32 --
33 -Duane
34 I want you to MEMORIZE the collected poems of EDNA ST VINCENT MILLAY
35 ... BACKWARDS!!
36
37 --
38 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] HDD Detection "Aurélien Francillon" <aurelien.francillon@×××××××××××.fr>
Re: [gentoo-dev] HDD Detection Nathaniel McCallum <npmccallum@g.o>