1 |
Mark Knecht writes: |
2 |
|
3 |
> Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a |
4 |
> copy of the output for bad times. |
5 |
> |
6 |
> https://github.com/pturmel/lsdrv |
7 |
|
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 |