Re: Editing-in-place of a large file

Alan Cox
2001-09-03T14:51:53Z

> Sounds like a possibility for the kernel to me. As with most things,

But you have it backwards - things are not "could go in the kernel" things
are "could avoid being in kernel"

> passed around as a target for the video device, a source for a userspace
> program, and a source for DMA to disk) They also have some special
> flags:
> fcentl(fd, F_SETFL, FDIRECT); /* enables direct disk access */
> open(filename, O_DIRECT); /* likewise */
> See this page for details:
> http://reality.sgi.com/cpirazzi_engr/lg/uv/disk.html

Andrea has this working on 2.4 + patches