Re: How to bypass buffer caches?

From: Andries Brouwer (aebr@win.tue.nl)
Date: Thu Feb 13 2003 - 18:36:42 EST


> 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/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:50 EST