Josh Aas (josha@xxxxxxx) said: > +if [ ! -d /hwgfs ]; then > + mkdir /hwgfs > +fi > + > +mount -t hwgfs none /hwgfs > +if [ ! -d /hw ]; then > + mkdir /hw > +fi > +mount --bind /hwgfs/hw /hw > + > +if [ ! -d /dev/hw ]; then > + mkdir /dev/hw > +fi > +mount --bind /hwgfs/hw /dev/hw > + Oh, yuk. A sysfs-alike for IRIX compatibility? :) > > +# > +# Configure lkcd dump driver based on parameters in: > +# /etc/sysconfig/dump > +# and save crash dump data (if any). > +# > +if [ -x /sbin/lkcd ]; then > + # Don't use last 1024 KBytes of disk during dump. > + tmp=`(. /etc/sysconfig/dump && mktemp $DUMPDIR/tmp.XXXXXX) > 2>/dev/null` > + test -f "$tmp" && dd </dev/zero >"$tmp" bs=1k count=1024 2>/dev/null > + action "Saving crash dump data (if any)" /sbin/lkcd save > + rm -f "$tmp" > + action "Configuring system to save crash dumps" /sbin/lkcd config > +fi > + ... > +# Adjust symlinks as necessary in /boot to capture Kerntypes for > +# crash dumps > +if [ -L /boot/Kerntypes -a -r /boot/Kerntypes-`uname -r` -a \ > + ! /boot/Kerntypes -ef /boot/Kerntypes-`uname -r` ] ; then > + ln -s -f Kerntypes-`uname -r` /boot/Kerntypes > +fi > +if [ ! -e /boot/Kerntypes -a -r /boot/Kerntypes-`uname -r` ] ; then > + ln -s -f Kerntypes-`uname -r` /boot/Kerntypes > +fi > + Probably should be in its own script. Bill