|
From: Heiko Z. <he...@zu...> - 2010-11-26 13:32:25
|
Great idea. I added it to CVS, it'll be included in the next build. -- Regards Heiko Zuerker http://www.devil-linux.org -----Original Message----- From: Andrzej Odyniec [mailto:an...@ma...] Sent: Monday, November 22, 2010 6:37 PM To: dev...@li... Subject: [Devil-linux-develop] mount_cdrom suggestion Dear Heiko, I have suggestion about finding proper cdrom in mount_cdrom script. When I have more, than one device with bootable DL image, sometime improper media is found as CD-rom, because the only criterion is presence of file DEVIL_LINUX. But if wrong media with different kernel version will be accepted, then boot proces can be impossible. When machine is in remote place, there is no method to solve problem. This situation is probable, when I remotely upgrade image, but new version is hot, risky and will not boot, so revert to previous image will be impossible. In this situation writing new, hot image as bootcd.*.new is risky and the only solution is to install-on-usb new image version on other USB device and change remotely via SOL boot sequence in BIOS. When new version will not work at all, we can revert to old boot sequence without working OS, but... this old version from now will find new media (or this new will find old media). So maybe better is to modify CD test in mount_cdrom from: [ -e ${mountpoint}/DEVIL-LINUX ] to [ -e ${mountpoint}/DEVIL-LINUX ] && [ "`cat ${mountpoint}/DEVIL-LINUX`" == "`cat VERSION`" ] and like this in other place. But after this change initrd must be always from this same build (and builds from this same date will be still undistinguishable, because in version is no hour). What do You think about this? Regards Andrzej Odyniec ---------------------------------------------------------------------------- -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Devil-linux-develop mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devil-linux-develop |