Messages in this thread | | | Date | Sat, 27 Nov 2004 20:45:51 +0100 (MET) | From | Jan Engelhardt <> | Subject | Re: Seekable pipes |
| |
>Hello, > >I want to implement an interface for seekable pipes >(and FIFOs) in the Linux kernel. The basic idea of >this is that when the reader issues a seek(), this >information can be passed onto the writer, who will >continue writing from the new location. Since the >reader doesn't have to do anything special, this >allows user-space programs to simulate real files, >providing features such as network filesystems and >database large-objects, all in user space.
Why not simply create two pipes, and use one for the data (from writer to reader) and the other for control (r->w)? Then you would not need to poke with the kernel after all.
Jan Engelhardt -- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - 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/
| |