Re: How to bypass buffer caches?

Andries Brouwer (aebr@win.tue.nl)
Fri, 14 Feb 2003 00:36:42 +0100


> On Thu, 13 Feb 2003 12:51:19 EST, Bruno Diniz de Paula said:
>
> > But what if "/dev/hda7" already has an ext2 fs set up. How am I supposed
> > to know which phisical blocks in the disk correspond to each of my files
> > in the ext2 mapping, that is, "/var/somefile" or "/usr/local/otherfile"?
>
> The quick answer: Don't do that. ;)

But if you insist, there is the FIBMAP ioctl.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/