Mark Knecht writes: > Check out the very nice 'lsdrv' script by Phil Turmel. Run it, save a > copy of the output for bad times. > > https://github.com/pturmel/lsdrv
That doesn't work here, and I do not understand why. In line 305 it tries and fails to create /dev/block, which is already existing. if not os.path.exists('/dev/block'): os.mkdir('/dev/block', 0755) Uh, is this a python bug? It works fine with python 2.7, but not with 3.2. But os.path.exists() is quite a basic function, if that wouldn't work, I'd expect all things to break, including emerge. Nice script. Much similar to lshw I think, but it shows more stuff, like LVM names and UUIDS. Thanks! Wonko