From: Cyrille Chepelov Subject: Re: FIFO files Date: Tue, 17 Jun 2003 19:07:20 +0200 Message-ID: <20030617170720.GC14124@chepelov.org> References: <20030617162127.GA14124@chepelov.org> <3EEF40B3.6000300@gmx.net> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: <3EEF40B3.6000300@gmx.net> List-Id: Content-Type: text/plain; charset="iso-8859-1" To: reiserfs-list@namesys.com Le Tue, Jun 17, 2003, =E0 06:24:19PM +0200, Carl-Daniel Hailfinger a =E9cri= t: > This facility has been present in linux for years. Just google for "sparse > files". Yes sparse files would do. However, after a sizeable use of the facility, you'd end up with a giant hole at the beginning, whatever queued data, and EOF.=20 What I want to do is the ability to just remove the hole in front (just as when there is no point in having a hole at the end of the file, you just truncate that hole out), so that seek(SEEK_BEGIN,0) positions me at the beginning of useful data (or EOF if my queue is empty). -- Cyrille --=20