From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200504132109.j3DL9nJ18827@augusta.math.psu.edu> To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] page fault with lock held In-Reply-To: Your message of "Wed, 13 Apr 2005 08:48:56 -1000." Date: Wed, 13 Apr 2005 17:09:49 -0400 From: Dan Cross Topicbox-Message-UUID: 37955b22-ead0-11e9-9d60-3106f5b1d025 Tim Newsham writes: > > I like the idea of having a way to hook into the bottom of sd from user > > land! > > What about the /dev/sd??/raw file? For scsi devices at least (sdscsi.c) > this calls through to scsirio which directly performs a scsi operation. Isn't that pushing the protocol the opposite direction? You want a way to tell the kernel, ``here's a file descriptor to a SCSI device; talk to it and hook it into devsd.'' Not to send a SCSI command to an existing device that already appears under /dev/sdwhatever. - Dan C.