Thread (41 messages) 41 messages, 10 authors, 2011-06-01

Re: Storage device enumeration script

From: Roman Mamedov <hidden>
Date: 2011-05-26 17:54:15

On Thu, 26 May 2011 13:46:59 -0400
Phil Turmel [off-list ref] wrote:
if you just want the latest script:

https://github.com/pturmel/lsdrv/raw/HEAD/lsdrv
I already reported this earlier, but still in this version:

Traceback (most recent call last):
  File "./lsdrv", line 274, in <module>
    probe_block('/sys/block/'+x)
  File "./lsdrv", line 226, in probe_block
    dev.phy = probe_device(blkpath+'/device', nodestr)
  File "./lsdrv", line 193, in probe_device
    vendor=fileline1(devpath+'/vendor'),
  File "./lsdrv", line 49, in fileline1
    fh = open(filename, 'r')
IOError: [Errno 2] No such file or directory:
'/sys/devices/platform/floppy.0/vendor'

-- 
With respect,
Roman

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help