> -----Original Message----- > From: Bob Miller [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2001 11:37 AM > To: [EMAIL PROTECTED] > Subject: [EUG-LUG:604] Re: LFS progress #4 (follow-up)
<snip> > But then you don't have / in /etc/mtab. > > > 'cat "" > /etc/mtab' > > Maybe you meant, 'true > /etc/mtab'? The command you wrote leaves > mtab empty, but prints an error message: "cat: : No such file or > directory" and has a nonzero exit status. it's a really inelegant solution right now. i just tried 'true' in cygwin and it does a lot better job. thanks for the tip! now that you mention it, the mtab should be cleared before mounting / read-write for the last time. i wasn't sure if / was supposed to be in mtab... > That shouldn't be necessary. You should have /etc/rc.d/init.d/dhcpcd > symlinked to both /etc/rc.d/${runlevel}/S${number}dhcpcd and > /etc/rc.d/${runlevel}/K${number}dhcpcd. The K??dhcpcd symlink invokes > the script with a "stop" argument at system shutdown time, which > should kill the daemon and clean up the files. the dhcpcd script i wrote (because i had to) has the aforementioned command in the stop) case. so essentially, it is doing exactly what you say. i was just relating the hows and whys of what i was doing in the boot scripts (and some of the things i am finding i have to do...) writing boot scripts is hard work! > (I used RedHat paths. I know you changed the paths, so adjust > accordingly.) i never really liked the /etc/rc#.d/ directory scheme and all it's symlinks. too much of a hassle and besides, it just clutters up /etc. i am also really fond of DOS, so i think of my rc.sysinit script as a sort of "config.sys" and the rc.2 script as an "autoexec.bat". since the FHS isn't worried about how you boot your system, i felt it was time i did it my way. it basically runs the same way as the rest of the world's linux, but there are no symlinks involved. the rc.sysinit script invokes the other scripts in /etc/init.d/. > $ while : > > do > > mpg123 args... > > done awesome. now, you're sure this isn't going to run mpg123 eighty billion times? i know i can run multiple instances (and they all play. it's so damn kewl to hear doctor octogon overlaying blue oyster cult...) > It sounds like all I'm doing is complaining. But I think Justin Linux > (Justinux? Justlinux?) is very cool. was that a stab at me and all my worries about image? i'm leaning towards something less cheesy (probably more cheesy) and more babylonian. something like "annunaki linux" (implying that it's just a minor distro amongst all the greater distros...) although "justlinux" does sound pretty kewl... > > -- > Bob Miller K<bob> > kbobsoft software consulting > http://kbobsoft.com [EMAIL PROTECTED] > -- Justin Bengtson euglug= v+ e- eug++ bsd? gnu++ s++ "I called some kid "b" the other day. It's the price you pay for living hip-hop every day of your life." - Jerry (from the Point Blank Rangers)