|
From: Heiko Z. <he...@zu...> - 2004-03-04 15:29:26
|
> This is the weirdest problem I've seen in a long time. > >> Log Message: >> Fixed problem of /floppy not umount'ing when new config copied to media. >> >> >> Index: linuxrc > >> mount -n -t auto $CFG_SRC /floppy >/dev/null 2>&1 || continue >> cp -i /cdrom/config/etc.tar.bz2 /floppy/ || continue >> + umount /cdrom >> sync >> DL_CONFIG_SOURCE=$CFG_SRC >> continue 2 > > Without the above umount of /cdrom , the following umount /floppy would > fail every time. (the above code only gets run when a new config is > copied to a blank media) It took me a half day of trial & error to get > this bug fixed!!! Could it be a problem with busybox? This means the system will now search 2 times for the CD-ROM. But since this is only the case during the initial setup of the box, I don't see a problem there. >> # unmount config media >> -umount /floppy &> /dev/null >> +umount /floppy > > BTW, /dev/null removed so we can see if error if it occurs again. OK -- Regards Heiko Zuerker http://www.devil-linux.org |