Bug#352731: An elementary solution of #352731?

Mats Erik Andersson ynglingatal at yahoo.se
Fri Oct 6 15:06:14 CEST 2006


  This bug/deficiency has a trivial solution, in my
view at least. Is there some reason the attached patch
should not be applied to the upstream original? There
is indeed a minute risk that the timing inside the
shell between the actions

        # temp_loop=$(losetup -f)
        # losetup $lo_options $temp_loop $image

might be intercepted by another system request, but 
compared to the risk of fixating the script to always
use /dev/loop1, this must be a lesser hazard.
  It seems, implicitly, that Pierre Pronchery did what
I often do, keep a handful loop-devices. Luckily, I
have never tried to use mkbimage at such occations.

     Best regards
                       Mats Erik Andersson
                       ynglingatal at yahoo.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dev-loop_indep_mkbimage.diff
Type: text/x-patch
Size: 1222 bytes
Desc: 969988943-dev-loop_indep_mkbimage.diff
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20061006/540f939b/dev-loop_indep_mkbimage.bin


More information about the Pkg-grub-devel mailing list