Gentoo Archives: gentoo-dev

From: Peter Ruskin <Peter.Ruskin@×××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] HDD Detection
Date: Sat, 12 Jun 2004 21:09:15
Message-Id: 200406122209.12295.Peter.Ruskin@dsl.pipex.com
In Reply to: [gentoo-dev] HDD Detection by Nathaniel McCallum
1 On Saturday 12 Jun 2004 20:05, Nathaniel McCallum wrote:
2 > I need as many people as possible to test (for the Gentoo installer
3 > project) the following python script on your system:
4 > http://dev.gentoo.org/~npmccallum/detect_devices.py This is
5 > especially important if you have scsi, hardware raid, or otherwise
6 > funky setups.
7 >
8 $ detect_devices.py
9 Your devices are detected by this script as:
10 Traceback (most recent call last):
11 File "./detect_devices.py", line 58, in ?
12 for device in detect_devices():
13 File "./detect_devices.py", line 38, in detect_devices
14 if is_partitionable_device(device_name):
15 File "./detect_devices.py", line 16, in is_partitionable_device
16 media_type = open("/proc/ide/"+device_name+"/media").read()
17 IOError: [Errno 2] No such file or directory: '/proc/ide/hde16/media'
18
19 $ cat /proc/partitions
20 major minor #blocks name
21
22 33 0 199145439 hde
23 33 1 4241128 hde1
24 33 2 48195 hde2
25 33 3 10811745 hde3
26 33 4 1 hde4
27 33 5 21278060 hde5
28 33 6 10578769 hde6
29 33 7 5325514 hde7
30 33 8 6345642 hde8
31 33 9 33559753 hde9
32 33 10 2184808 hde10
33 33 11 1052226 hde11
34 33 12 2104483 hde12
35 33 13 4233096 hde13
36 33 14 2104483 hde14
37 33 15 4200966 hde15
38 33 16 2104483 hde16
39 33 17 2104483 hde17
40 33 18 6297448 hde18
41 33 19 1052226 hde19
42 33 20 4200966 hde20
43 33 21 26973103 hde21
44 33 22 48339553 hde22
45 33 64 199148544 hdf
46 33 65 40131 hdf1
47 33 67 1 hdf3
48 33 69 9430123 hdf5
49 33 70 1052226 hdf6
50 33 71 1052225 hdf7
51 33 72 1052225 hdf8
52 33 73 186514618 hdf9
53 34 0 199148544 hdg
54 34 1 199141708 hdg1
55
56 --
57 Peter
58 ========================================================================
59 Gentoo Linux: Portage 2.0.50-r8. kernel-2.6.7-rc2.
60 i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.3.
61 KDE: 3.2.3. Qt: 3.3.2.
62 ========================================================================
63
64 --
65 gentoo-dev@g.o mailing list