Messages in this thread | | | Date | Tue, 21 Nov 2006 19:02:51 +0900 | From | Tejun Heo <> | Subject | Re: How to read/write from/to the HD with out kernel cashing |
| |
Dipti Ranjan Tarai wrote: > Hi all, > I am using fedora core -3 with kernel 2.6.10. I want to read/write > a sector from/to the HD with out kernel caching. Basically my aim is to > communicate directly with the ide drivers so that I can bypass the > kernel cache. Please give some idea regarding this.
man 2 open, then look for O_DIRECT.
-- tejun - 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/
| |