1 |
Alex Schuster wrote: |
2 |
> Mark Knecht writes: |
3 |
> |
4 |
>> Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a |
5 |
>> copy of the output for bad times. |
6 |
>> |
7 |
>> https://github.com/pturmel/lsdrv |
8 |
> That doesn't work here, and I do not understand why. In line 305 it tries |
9 |
> and fails to create /dev/block, which is already existing. |
10 |
> |
11 |
> if not os.path.exists('/dev/block'): |
12 |
> os.mkdir('/dev/block', 0755) |
13 |
> |
14 |
> Uh, is this a python bug? It works fine with python 2.7, but not with |
15 |
> 3.2. But os.path.exists() is quite a basic function, if that wouldn't |
16 |
> work, I'd expect all things to break, including emerge. |
17 |
> |
18 |
> Nice script. Much similar to lshw I think, but it shows more stuff, like |
19 |
> LVM names and UUIDS. Thanks! |
20 |
> |
21 |
> Wonko |
22 |
> |
23 |
> |
24 |
|
25 |
|
26 |
I'm amd64 and it works here. |
27 |
|
28 |
root@fireball / # equery l python |
29 |
* Searching for python ... |
30 |
[IP-] [ ] dev-lang/python-2.7.3-r2:2.7 |
31 |
[IP-] [ ] dev-lang/python-3.2.3:3.2 |
32 |
root@fireball / # |
33 |
|
34 |
Dale |
35 |
|
36 |
:-) :-) |
37 |
|
38 |
-- |
39 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |