Re: [PATCH] squash4: fix handling of fragments and sparse files

2017-02-19 Thread Carlo Caione
from fragments as > appropriate. > > 2. Support sparse files with zero blocks. > > 3. Fix fragment read - frag.offset is absolute fragment position, > not offset relative to ino.chunk. > > Reported and tested by Carlo Caione <ca...@endlessm.com> > > --- > > @V

Re: Problem with ISO9660 and files stored on multiple extents

2017-02-16 Thread Carlo Caione
On Thu, Feb 16, 2017 at 5:52 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 16.02.2017 19:04, Vladimir 'phcoder' Serbinenko пишет: >> On Thu, Feb 16, 2017, 16:56 Carlo Caione <ca...@endlessm.com> wrote: >> Then it's possible that your patch is correct. I don't kno

Re: Problem with ISO9660 and files stored on multiple extents

2017-02-16 Thread Carlo Caione
On Thu, Feb 16, 2017 at 4:54 PM, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > On Thu, Feb 16, 2017, 14:14 Carlo Caione <ca...@endlessm.com> wrote: >> >> On Thu, Feb 16, 2017 at 2:09 PM, Vladimir 'phcoder' Serbinenko >> <phco...@gmail

Re: Problem with ISO9660 and files stored on multiple extents

2017-02-16 Thread Carlo Caione
On Thu, Feb 16, 2017 at 2:09 PM, Vladimir 'phcoder' Serbinenko <phco...@gmail.com> wrote: > > > On Thu, Feb 16, 2017, 14:04 Carlo Caione <ca...@endlessm.com> wrote: >> >> On Thu, Feb 16, 2017 at 12:37 PM, Carlo Caione <ca...@endlessm.com> wrote: >&g

Re: Problem with ISO9660 and files stored on multiple extents

2017-02-16 Thread Carlo Caione
On Thu, Feb 16, 2017 at 12:37 PM, Carlo Caione <ca...@endlessm.com> wrote: > On Thu, Feb 16, 2017 at 12:32 PM, Thomas Schmitt <scdbac...@gmx.net> wrote: >> Hi, >> >> Carlo Caione wrote: >>> > I think that the problem >>> > h

Re: Problem with ISO9660 and files stored on multiple extents

2017-02-16 Thread Carlo Caione
On Thu, Feb 16, 2017 at 12:32 PM, Thomas Schmitt <scdbac...@gmx.net> wrote: > Hi, > > Carlo Caione wrote: >> > I think that the problem >> > here is that endless.squash has been stored in two extents in the >> > ISO9660 and GRUB doesn't deal fine with

Problem with ISO9660 and files stored on multiple extents

2017-02-15 Thread Carlo Caione
--- 000 269539328 Feb 15 2017 [2110507 00] ENDLESS.SQUASH;1 That is in grub_iso9660_read() we are trying to access the second extent, reading rubbish. Is this theory correct? Thank you, -- Carlo Caione | +39.340.80.30.096 | Endless ___