Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Maxim Sobolev
Never mind - people are inheretedly error prone creatures. ;-) In your case shell has been passing file descriptor of the open file, not pipe, so that seeking has been working properly. Anyway, I think that your patch is useful, since it should allow using disk devices. -Maxim Peter Pentchev wr

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Maxim Sobolev
bject: Re: Creating Compressed Loop FS from stdin Date: Fri, 17 Dec 2004 17:14:48 +0200 From: Maxim Sobolev <[EMAIL PROTECTED]> Organization: Porta Software Ltd To: Matteo Riondato <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> This is not going to work by design unfortu

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Maxim Sobolev
sage nor my follow-up in which I had forwarded mail delivery error message got through. -Maxim Original Message ---- Subject: Re: Creating Compressed Loop FS from stdin Date: Fri, 17 Dec 2004 17:14:48 +0200 From: Maxim Sobolev <[EMAIL PROTECTED]> Organization: Porta Software

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 04:55:43PM +0200, Peter Pentchev wrote: > On Thu, Dec 30, 2004 at 04:20:16PM +0200, Maxim Sobolev wrote: > > You don't check return code of the second lseek - I bet it fails. This > > probably leads to creation of seemingly valid loop fs (i.e. with valid > > header), but f

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 04:20:16PM +0200, Maxim Sobolev wrote: > You don't check return code of the second lseek - I bet it fails. This > probably leads to creation of seemingly valid loop fs (i.e. with valid > header), but filled with zeroes or some random junk. I said I'd tested it before post

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread ari edelkind
[EMAIL PROTECTED] wrote: > > It will not help, since AFAIK you can't seek stdin anyway, or even if I > > am wrong and you can seek it to the end you will be unable to seek it > > backward. > > I tested the patch before posting it, fully expecting to find that stdin > really cannot be seeked (so

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
ve already replied to this message, but Matteo has some very strange > settings of his smtp relay so that neither my original message nor my > follow-up in which I had forwarded mail delivery error message got through. > > -Maxim > > Original Message >

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Thu, Dec 30, 2004 at 01:28:28PM +0100, Matteo Riondato wrote: > Il giorno Gio, 30-12-2004 alle 12:34 +0200, Peter Pentchev ha scritto: > > This could be fixed by the following patch. I'm CC'ing Maxim Sobolev, > > the author of mkuzip(8); Maxim, do you have any objections to this patch? > > Tha

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Matteo Riondato
Il giorno Gio, 30-12-2004 alle 12:34 +0200, Peter Pentchev ha scritto: > This could be fixed by the following patch. I'm CC'ing Maxim Sobolev, > the author of mkuzip(8); Maxim, do you have any objections to this patch? Thank you for the answer and fo the patch! I hope Maxim will commit it soon.

Re: Creating Compressed Loop FS from stdin

2004-12-30 Thread Peter Pentchev
On Wed, Dec 29, 2004 at 11:15:40PM +0100, Matteo Riondato wrote: > Hi folks! > > I think you know what FreeSBIE > is and that we use compressed loop filesystems for /usr and /var > directories on our LiveCD. > At the moment, to create compressed filesystems, we rely on > sysutils/cloop-utils, but