On Thu, May 18, 2000 at 10:13:54PM +0200, Pavel Machek wrote:
> > > Is there a way to tell the fs
> > > to force an actual read from the disk?
> >
> > These 2 ioctl()s against disk devices (e.g. sd and hd)
> > look like they could be of interest:
> >
> > BLKFLSBUF [instructs disk subsystem to flush buffers]
>
> It would be nice if some userland utility existed that would do
> this... Or is there one?
Yes, there is. Try
blockdev --flushbufs /dev/foo
(blockdev is found in recent util-linux distributions).
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:18 EST