|
From: Tim T. <t....@co...> - 2004-01-08 02:51:18
|
Heiko Zuerker wrote: > Tim Tait wrote: > >> >> Tim Tait wrote: >> >>> >>> I made what I think is a few enhancements to the linuxrc script... >>> now this is my 1st attempt at any real script mods, so I may not >>> have it all correct. >>> >>> First is simple, I have it check floppies for a config 1st, thus >>> allowing someone to temporarily test new configs by overiding one >>> stored on a HD. Probably be good to check other removeable media >>> list USB 1st too but thats trickier. I don't think this raises a >>> security risk, cause if someone can put floppies into your machine >>> they can do a lot worse too. >>> >>> 2nd, if you have multiple possible sources of the configuration >>> file, if it's not on the first one, it halts the boot to prompt if >>> you want to write a default one to it. This is really bad, because >>> it hangs the system on an unattended reboot. So I tweaked the script >>> to check all media 1st, then if none was found do a 2nd pass to look >>> for blank media. Of course lastly it still checks the CDROM. Is it >>> possible to pass the config source from grub as option, like it >>> works for "root=/dev/hda1"? >> >> >> >> 2nd try with "unified diff" attachment. I couldn't get the cvs diff >> -run to work, sorry. > > > The patch is in CVS now, I did some more cleanup and you forgott a > "umount /floppy". > > Heiko Yes, I found that out last night :( Sorry. I was testing out some more changes I mind and was hoping to submit a new patch but my build machine is misbehaving, seems to be a well documented issue with APIC on nForce2 motherboards:(( Causes it to lockup when there is a lot of interrupts like IDE r/w during a big build #@$!@$%$#%. Anyhow thanks for fixing and including it! Tim |