The Linux SCSI programming HOWTO: What Is The Generic SCSI Interface?
3. What Is The Generic SCSI Interface?The generic SCSI interface has been implemented to provide general
SCSI access to (possibly exotic) pieces of SCSI hardware. It was
developed by Lawrence Foard ( entropy@world.std.com) and
sponsored by Killy Corporation (see the comments in scsi/sg.h).The interface makes special device handling possible from user level
applications (i.e. outside the kernel). Thus, kernel driver
development, which is more risky and difficult to debug, is not
necessary.However, if you don't program the driver properly it is possible to
hang the SCSI bus, the driver, or the kernel. Therefore, it is
important to properly program the generic driver and to first back up
all files to avoid losing data. Another useful thing to do before
running your programs is to issue a sync command to ensure that
any buffers are flushed to disk, minimizing data loss if the system
hangs.Another advantage of the generic driver is that as long as the
interface itself does not change, all applications are independent of
new kernel development. In comparison, other low-level kernel drivers
have to be synchronized with other internal kernel changes.Typically, the generic driver is used to communicate with new SCSI
hardware devices that require special user applications to be written
to take advantage of their features (e.g. scanners, printers, CD-ROM
jukeboxes). The generic interface allows these to be written quickly.
Wyszukiwarka
Podobne podstrony:
scsi programming howto 9 3jxdidrasalq2eo3w3i73fevcxz5mpllzetldha 3jxdidrasalq2eo3w3i73fevcxz5mpllzetscsi programming howto 17 yyzng72kayyjt6u3epvmcc72jcmahcrgnbyw47q yyzng72kayyjt6u3epvmcc72jcmahcrgnbscsi programming howto 19 tvnyc4asf2eciypved4vepijvxryv3yoxuakzqa tvnyc4asf2eciypved4vepijvxryv3yoxuscsi programming howto 5 iudk2eijpgqn5fxhziz2qcm2wqnfvm3h7td4y7q iudk2eijpgqn5fxhziz2qcm2wqnfvm3h7tdscsi programming howto 24 kbiu3ii33muk2zwhonskggxblxnambu562wiffy kbiu3ii33muk2zwhonskggxblxnambu562scsi programming howto 11 qscz46dntpyrpti3ojx4fqimnmcop7ppvpmdlii qscz46dntpyrpti3ojx4fqimnmcop7ppvpscsi programming howto 6 jqatviqf4eipkn7bjpcqjuekduhu5hsx7ejepai jqatviqf4eipkn7bjpcqjuekduhu5hsx7ejscsi programming howto 2 iplfm7qjrv56jx3mtqbqdgivruoewwmejnhcqmy iplfm7qjrv56jx3mtqbqdgivruoewwmejnhscsi programming howto 16 r5drsnydxdl76gmchb7soo37q6pr4w3pyo37qcy r5drsnydxdl76gmchb7soo37q6pr4w3pyoscsi programming howto 8 pxfbc7whzdqecgpottpqtsa3m4zmfhthdg3gccy pxfbc7whzdqecgpottpqtsa3m4zmfhthdg3scsi programming howto 13 roy76bdfyxnkcd5w3od5qelwdyvln5oy2zdrn2i roy76bdfyxnkcd5w3od5qelwdyvln5oy2zscsi programming howto 10 a5gskcmtswynkalogztgbibumani4vxmxz3z64y a5gskcmtswynkalogztgbibumani4vxmxzscsi programming howto 7 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruwlmq 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruscsi programming howto 7 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruwlmq 6zgsrfbt7pzu3npkxcejaptdpgaqqmnqbruscsi programming howto 4 gy5lc6tctrvmkb7hhakx47hhda2e27uc6crahbi gy5lc6tctrvmkb7hhakx47hhda2e27uc6crscsi programming howto 12 rr75gq6lzcbdqx24nghpwq5b4tjwki7kdvr6uda rr75gq6lzcbdqx24nghpwq5b4tjwki7kdvscsi programming howto z3jyxffnqg3jhkaktoobblk3wt2ryiwdb2e44si z3jyxffnqg3jhkaktoobblk3wt2ryiwdb2e44więcej podobnych podstron