Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA628 ; Sat, 06 Feb 93 08:00:24 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!cs.weber.edu!terry From: terry@cs.weber.edu (A Wizard of Earth C) Subject: Re: Device Drivers Message-ID: <1993Feb4.035711.24791@fcom.cc.utah.edu> Sender: news@fcom.cc.utah.edu Organization: Weber State University (Ogden, UT) References: <1993Feb1.165559@axion.bt.co.uk> Date: Thu, 4 Feb 93 03:57:11 GMT Lines: 26 In article <1993Feb1.165559@axion.bt.co.uk> lessen@axion.bt.co.uk (Lee Essen) writes: > >I've just been trolling through some of the source for 386bsd, specifically >the floppy driver and the VFS code. > >I'm aware of the standard *open, *close, *read etc routines, but what >is the function of the *strategy routines? The strategy routine is used for block device drivers; "read" and family are for character drivers. Generally, the VFS code uses the paged memory routines to cause I/O to be scheduled (bread/bwrite) rather than doing the I/O itself. Terry Lambert terry@icarus.weber.edu terry_lambert@novell.com --- Any opinions in this posting are my own and not those of my present or previous employers. -- ------------------------------------------------------------------------------- "I have an 8 user poetic license" - me Get the 386bsd FAQ from agate.berkeley.edu:/pub/386BSD/386bsd-0.1/unofficial -------------------------------------------------------------------------------