More verbosity than "boot -m verbose", is it possible.

From: Dave Pratt (dpratt@concentric.com)
Date: Fri Nov 02 2007 - 16:44:38 EST


        I'm just curious if there is a way to get all the output from some of
the smf method scripts to echo to console during boot. Specifically I'd
like to know when my mounts are coming up slow due to fsck'ing or when
my nfs mounts are timing out. I'd like this info in realtime on
/dev/console and I just don't want to go wrapping the method scripts with:

(script contents in here)tee >/dev/console

as this sort of edit could/would get clobbered if the method scripts are
ever changed by a later patch or update.
        At some point in my web searching for a solution I did find a short
mention of a potential insertion point for a routine into
"/lib/svc/share/smf_include.sh". I'm not sure I see any easy way from
here, but I'd be interested to hear of any caveats before I start hacking.

Thanks in Advance
-DPratt
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:29 EDT