Re: How to bypass buffer caches?

Valdis.Kletnieks@vt.edu
Thu, 13 Feb 2003 12:37:18 -0500


--==_Exmh_1839908586P
Content-Type: text/plain; charset=us-ascii

On Thu, 13 Feb 2003 12:29:12 EST, Bruno Diniz de Paula <diniz@cs.rutgers.edu> said:

> the kernel. One option would be create a raw device on top of my disk
> partition, but in this case I would have to learn how to map a logical
> file name (/var/tmp/myfile) to a set of block disks. Is there any other

What's wrong with this?

fd = open("/dev/hda7", your_flags_here);

--==_Exmh_1839908586P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQE+S9fNcC3lWbTT17ARAjo1AKC6vkiTMoObjLhQFjBbvk5HRoAuQQCgvO1c
koxNLNed0rfWu6ZiSuNsOgw=
=/FEf
-----END PGP SIGNATURE-----

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