Re: [BUG] patch-floppy-image.pl
On Tue, Feb 11, 2003 at 09:35:26AM +0100, Lars Munch wrote:
> Hi
>
> There is a bug in patch-floppy-image.pl. I tried using it as it is
> documented :
>
> ./patch-floppy-image.pl 'root=/dev/hda8' boot-floppy-hfs.img > boot-hfs-hda8.img
>
> but this gave me an image 1 byte smaller than the original. I fixed this
> by deleting 1 space from the line:
>
> my $current = "root=0200 ..... ";
>
> which is 99 character long and not 98. The length was broken in
> version 1.4.
Patched this awful script. Thanks.
--
"The way the Romans made sure their bridges worked is what
we should do with software engineers. They put the designer
under the bridge, and then they marched over it."
-- Lawrence Bernstein, Discover, Feb 2003
Reply to: