[jbglaw@lug-owl.de: Re: [PARPORT] generic parport support ...]


Jan-Benedict Glaw (jbglaw@lug-owl.de)
Tue, 4 Jan 2000 22:07:13 +0100


Hi *!

Sorry, forgot to post this to the list, too...

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB

attached mail follows:


On Tue, Jan 04, 2000 at 08:50:08PM +0000, Tim Waugh wrote: > On Tue, 4 Jan 2000, Jan-Benedict Glaw wrote: > > > simply crashing by this. ...but unfortunately, you can't seek within a > > character device with any other method than reading everythink up to > > the requested position;( > > What's wrong with using llseek? Clearly reading everything below the > desired port isn't right!

Can this be done from command line (eg. "dd" with skip=... etc)? I saw a lot of people (when I was a pupil some time ago) who bought easily buildable inferfaces for their parport (resistor->transistor->relais...) and tried to access it via dd (they never learned C or any usable programming language at all) and _randomly_ crashed their system. So I tested and found the problem in missing seeking capabilities. However, I think that /dev/ports is quite oftenly used this way;(

MfG, JBG PS: I finally showed them how to write "main" and "atoi"...

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB





This archive was generated by hypermail 2.0b3 on Tue 04 Jan 2000 - 16:09:04 EST