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

2017-02-19 Thread Carlo Caione
riate. > > 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 > > --- > > @Vladimir: we need regression tests for both of these

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 wrote: > 16.02.2017 19:04, Vladimir 'phcoder' Serbinenko пишет: >> On Thu, Feb 16, 2017, 16:56 Carlo Caione wrote: >> Then it's possible that your patch is correct. I don't know why the format >>

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 wrote: > > > On Thu, Feb 16, 2017, 14:14 Carlo Caione wrote: >> >> On Thu, Feb 16, 2017 at 2:09 PM, Vladimir 'phcoder' Serbinenko >> wrote: >> > >> > >> > O

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 wrote: > > > On Thu, Feb 16, 2017, 14:04 Carlo Caione wrote: >> >> On Thu, Feb 16, 2017 at 12:37 PM, Carlo Caione wrote: >> > On Thu, Feb 16, 2017 at 12:32 PM, Thomas Schmitt >> >

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 wrote: > On Thu, Feb 16, 2017 at 12:32 PM, Thomas Schmitt wrote: >> Hi, >> >> Carlo Caione wrote: >>> > I think that the problem >>> > here is that endless.squash has been stored in two extents in the

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 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 that (also

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 __