> the code would need to determine the requirements and adapt to the > particular device it was being used on now But how would you achieve that? Given your analogy to accessing terminals, you would need an equivalent of termcap. Or, more reasonably, ioctls telling you the constraints (alignment, max/min size, size quantisation etc.) of the device in question.
- Re: write alignment matters? Erik Fair
- Re: write alignment matters? Michael van Elst
- Re: write alignment matters? Thor Lancelot Simon
- Re: write alignment matters? Michael van Elst
- Re: write alignment matters? David Laight
- Re: write alignment matters? Robert Elz
- Re: write alignment matters? der Mouse
- Re: write alignment matters? David Holland
- Re: write alignment matters? der Mouse
- Re: write alignment matters? Robert Elz
- Accessing raw devices (was: write alignment matters?) Edgar Fuß
- Re: write alignment matters? Johnny Billquist
- Re: write alignment matters? David Holland
- Re: write alignment matters? Erik Fair
- "hot swap" storage devices Erik Fair
- Re: "hot swap" storage devices Masao Uebayashi
- Re: "hot swap" storage devices Matthew Mondor
- UNIX kernel notification system Erik Fair
- Re: UNIX kernel notification system Mouse
- Re: UNIX kernel notification system Emmanuel Dreyfus
- Re: UNIX kernel notification system Erik Fair