Re: Storage device enumeration script
From: Roman Mamedov <hidden>
Date: 2011-05-26 05:25:55
Attachments
- signature.asc [application/pgp-signature] 198 bytes
From: Roman Mamedov <hidden>
Date: 2011-05-26 05:25:55
On Wed, 25 May 2011 23:21:52 -0400 Phil Turmel [off-list ref] wrote:
Yeah, should have thought of that first. http://www.turmel.org/other/lsdrv
Traceback (most recent call last):
File "/r/scripts/lsdrv", line 198, in <module>
dev.phy = probe_device(sysclassblock+x+'/device', nodestr)
File "/r/scripts/lsdrv", line 170, in probe_device
vendor=io.FileIO(devpath+'/vendor').read().split("\n",1)[0].strip(),
File "/usr/lib/python2.6/io.py", line 631, in __init__
_fileio._FileIO.__init__(self, name, mode, closefd)
IOError: [Errno 2] No such file or directory:
'/sys/devices/platform/floppy.0/vendor'
--
With respect,
Roman