Re: Does the SG interface use the buffer cache (therefore for RAW devices)

Leonard N. Zubkoff (lnz@dandelion.com)
Thu, 5 Jun 1997 18:16:35 -0700


Date: Thu, 5 Jun 1997 17:34:51 -0400
From: tzeruch@ceddec.com
X-Sender: nobody@mars.ceddec.com
Precedence: bulk

I remember seeing a long thread about raw devices, but I know that I can
read audio CDs, and they don't have a 2^N buffer size, and that they use
the /dev/sg[a-g] interface.

I was wondering if sending reads and writes via this interface would
avoid the internal caches and thus allow raw devices via a back-door?

It would, but the performance would be poor enough that it's not a viable
solution to the legitimate need for raw devices.

Leonard