lkml.org 
[lkml]   [2004]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.040 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site