Re: block devices

2006-10-17 Thread rick
Diez B. Roggisch wrote: > Reading it? Using read? > > f = open("/dev/foo") > f.read(1) > > Diez Wow, I didn't realize it was that simple. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: block devices

2006-10-17 Thread Diez B. Roggisch
rick schrieb: > What's the best way to read a byte of data directly from a block device > (a scsi hard drive) on Linux using Python? Reading it? Using read? f = open("/dev/foo") f.read(1) Diez -- http://mail.python.org/mailman/listinfo/python-list

block devices

2006-10-17 Thread rick
What's the best way to read a byte of data directly from a block device (a scsi hard drive) on Linux using Python? -- http://mail.python.org/mailman/listinfo/python-list