Ahmed Kamal wrote:
I understand the basics of file layout, inodes and inode/file-name mapping
and such. But I still basically always hit yes to fix any FS errors! Is
there any guide to educate on when to say no ;)
About the RFE. That sounds interesting. Having sshd into initrd would be
useful. But what would be more useful is having the "actual" console
messages/errors printed there. i.e. Is there a way to have that telnetd in
busybox (or sshd) actually be a "virtual" console that shows errors, and
accepts logins and system repair operations ? Let me know if that can be
done somehow. Basically, it should be just like a serial console, just over
sshd
umm .. maybe screen inside sshd ?
screen can be started detached from initialisation scripts, and one
could run any part of the initialisation scripts in it. It could
probably be made to log too, so one has a "written" record. Read the man
page to correct my assumptions.
Before you implement anything, take a good and careful look at Fedora 9
beta/preview/whatever. Looking at when past (Fedora vis a vis EL) events
have occurred, I've been speculating it might be the basis of RHEL6. And
it's significantly different in the areas you might touch. It might be
easier (I've only had a cursory look).
RH might look a little askance at it if you want support in that area,
but that doesn't mean it's not a solution to a real problem.
Something RH might/should support is logging the entire bootup
procedure, initially inside the initrd, but once disks are found and
mounted rw, copied to /var/log and appended to.
This would then allow someone connecting to the initrd to see what has
happened.
The command "tee" can do the initial logging, but I don't know whether
or to what extent it intrudes on interactive work. Doubtless one could
hack on that too.
busybox is commonly used in embedded devices, I expect that the ability
to capture outpur would be valuable in those too, and maybe it could be
hacked on to record stdin, stdout and stderr to the prospective benefit
of all.
It doesn't help once the switch is made to the booting filesystem, that
might be when tee (or something like it) is more useful.
--
Cheers
John
-- spambait
[EMAIL PROTECTED] [EMAIL PROTECTED]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
You cannot reply off-list:-)
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list