> Not really....  May I recommend:
>
> ( echo "Messages log\n"
<big snip>
> ) > /tmp/sysdata.txt
>
> This has several advantages:
>
> 1. Single file at the end for details - /tmp/sysdata.txt - just attach
> and mail.  If you use "matt" (new package to attach files to mail!)
> you can even mail it right from the box.
>
> 2. Testing for existance of programs allows clean execution in even
> the most spartan (or odd) environments.  No ip?  No problem.  No
> ipchains?  No problem....
>
> 3. Using a single file saves some space (constant redirections and
> filenames).  Of course, with all the testing (using which) the end
> result is more bytes - but it's worth it, I think.

And a big disadvantage...it's a lot for someone to type in, creating even
more questions along the lines of "did they type in the script correctly?".

I'd like to see a clean set of diagnostic information, but it's going to be
hard to retrofit all the existing systems.  Solutinons that come to mind:

Create a diagnostic LRP package.  This would have a script similar to
David's that dumps standard info to a file, probably mounting the floppy and
everything in the process (we can have a fairly complex script, if folks
arn't typing it in by hand).

Create a diagnostic disk image.  The idea here would be to put everything
needed onto a disk image (which presumably even the greenest user can deal
with, or they wouldn't be having configuration problems :-).  There would be
a fairly simple set of commands the user would run to mount the disk and run
the diagnostic script...everything else would be automatic.

I see the disk image as perhaps the cleanest solution...it doesn't require
manual installation of LRP packages (or altering the bootup config to load a
new package), doesn't eat permanent ramdisk space, and the diagnostic disk
itself becomes the transport media for "sneaker net" migration of the output
to the primary workstation.

Thoughts?

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)


_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to