[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#4557: Last file on iso9660-image always corrupted



On Tue, 8 Oct 1996, Stephen Early wrote:

> In article <[🔎] Pine.LNX.3.95.961007122053.13562A-100000@dwarf.polaris.net> you write:
> >OK! I patched the iso_write routine in mkisofs to write an additional 16
> >sectors after the last file and this seems to fix the problem with reading
> >from the loop device!
> 
> The correct solution is probably to fix the loop
> device. Unfortunately, there seems to be a general problem in Linux
> with the end of filesystems. This kludge in mkisofs should fix this
> specific case, and is unlikely to cause other problems.
> 
Well, there realy isn't anything broken in the loop device. The problem is
with the lower level kernel driver and it's read-ahead "feature". The
problem is that when the read ahead fails (because for various reasons
there is no sector following the one being read) the successfully read
sector fails to get through.
The same kludge is used by cdwrite, with the -P, --pad option to deal with
this problem. If I can find the time, I will add the same option, so this
"feature" can be used as needed.

Luck,

Dwarf

------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 877-0257
      Flexible Software              Fax:     NONE 
      Black Creek Critters           e-mail:  dwarf@polaris.net

------------ If you don't see what you want, just ask --------------

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: