Bootscript Future

Bryan Kadzban bryan at kadzban.is-a-geek.net
Mon Jul 19 03:59:58 PDT 2004


Archaic wrote:
> But can this be done from a script or does it require binary to make
> the calls?

AFAIK it requires a binary, but that binary already exists: /usr/bin/logger

It's part of util-linux (though the manpage says "BSD General Commands
Manual" ;-)), and we'd have to move it to /bin to get at it before
mountfs.  It accepts a bunch of options; probably the most useful are
the one to specify facility/priority and the one to turn on PID logging.
Maybe also the one to log the message to stderr as well as syslog.




More information about the lfs-dev mailing list