Justin Bengtson wrote:
> 1. clear /etc/mtab before trying to mount additional file systems. you'll
> end up mounting and remounting / several times during bootup (fsck and all
> that...), but you only get one chance to mount additional filesystems. a
> line like 'cat "" > /etc/mtab' inserted right after mounting root for the
> last time (as read-write) will save you many headaches.
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.
> 2. the situation is the same with dhcpcd, only you have to rm a couple of
> files before shutting down. adding a line like 'rm /var/run/dhcpcd-*' will
> ensure that dhcpcd is loaded during each boot. there are two files there,
> one of which is the pid.
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.
(I used RedHat paths. I know you changed the paths, so adjust
accordingly.)
> on a side note, mpg123 is really kewl. even alice approves. my only
> problem, and hers as well, is that i can't get it to play on repreat. i can
> load a playlist and get two kinds of shuffling, but where the hell is the
> "ad nauseum" switch? alice is getting lonely during the day with no
> music...
$ while :
> do
> mpg123 args...
> done
It sounds like all I'm doing is complaining. But I think Justin Linux
(Justinux? Justlinux?) is very cool.
--
Bob Miller K<bob>
kbobsoft software consulting
http://kbobsoft.com [EMAIL PROTECTED]