From: Tim T. <t....@co...> - 2004-05-08 19:17:33
|
Friedrich Lobenstock wrote: > Tim Tait wrote on 08.05.2004 19:13 MET: > >> Friedrich Lobenstock wrote: >> >>> >>> Why don't you change the original mount and add the options >>> "ro,noatime" >>> there? >>> >>> Just tried it with my local CD-Rom drive to make sure iso9660 >>> accepts the >>> "noatime" option. >>> >>> # mount /dev/cdrom /mnt/ -o ro,noatime # mount | grep /mnt /dev/sr0 >>> on /mnt >>> type iso9660 (ro,noatime) >> >> >> I thought that mounting it read only from the beginning would break >> the live-update feature, no? > > > Then your patch should also break it too, shouldn't it? No, because I remount it read-only after the update check is finished - ie it will have already copied bootcd.iso.new (if it exists) to bootcd.iso, and thus is ready to continue with the normal mount sequence, which only requires read access. > > >> Tho I suppose if is bootcd.iso.new is detected, it could be remounted >> rw at >> that time. > > > Can you please test that and add the necessary remount's there? I can, though it will mean 2 remounts - one to make it rw for update, then another to make ro when update is done. Should the new diff be done against the original, or the last patched version? I don't see that change in CVS yet. Tim |