This is a patch to fix some problems in the OnStream tape drive support in ide-tape.c. - It implements Early Warning (e.g. retuns ENOSPC) for reaching end-of-tape. This fixes a real nasty problem when writing beyond end-of-tape, rendering the 'backup' more ore less useless. - Includes a workaround for a read error around block 3000. - The module use counts were gone allowing to remove the module while it was still busy. - Support for other IDE OnStream tape drives (e.g. DI-50). - A few cosmetic fixes to improve readability. The 2.4 patch is against linux 2.4.0-prerelease but should work up till at least 2.4.2. The 2.2.18 patch is against linux 2.2.18 with the 1209 patch from Andre Hedrick applied. -Marcel -- ======-------- Marcel J.E. Mol MESA Consulting B.V. =======--------- ph. +31-(0)6-54724868 P.O. Box 112 =======--------- marcel@mesa.nl 2630 AC Nootdorp __==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____ They couldn't think of a number, so they gave me a name! -- Rupert Hine http://www.ruperthine.com/