Gentoo Archives: gentoo-dev

From: Sergey Kuleshov <svyatogor@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] HDD Detection
Date: Sun, 13 Jun 2004 10:58:05
Message-Id: 200406131408.35929.svyatogor@gentoo.org
In Reply to: Re: [gentoo-dev] HDD Detection by Nathaniel McCallum
1 On Saturday 12 June 2004 21: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 --
10 (svyatogor@sergey)*(14:02)*(/home/svyatogor)
11 -=>> ./detect_devices.py
12 Your devices are detected by this script as:
13 Traceback (most recent call last):
14 File "./detect_devices.py", line 76, 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 --
20 (svyatogor@sergey)*(14:02)*(/home/svyatogor)
21 -=>> cat /proc/partitions
22 major minor #blocks name
23
24 3 0 78150744 hda
25 3 1 30716248 hda1
26 3 2 19535040 hda2
27 3 3 1 hda3
28 3 4 10241437 hda4
29 3 5 48163 hda5
30 3 6 489951 hda6
31 3 7 9767488 hda7
32 3 8 2931831 hda8
33 --
34
35
36 --
37 Sergey Kuleshov <svyatogor@g.o>
38 Home Page: http://dev.gentoo.org/~sergey
39 Jabber: rohan@××××××.ru
40 ICQ: 158439855
41
42 --
43 gentoo-dev@g.o mailing list