[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rd_open_hook() and floppy booting
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: rd_open_hook() and floppy booting
- From: "Matthew E. Patton" <pattonme_(_at_)_gnpr_(_dot_)_pae_(_dot_)_osd_(_dot_)_mil>
- Date: Fri, 17 Jul 1998 16:05:16 -0400 (EDT)
- Delivery-date: Fri Jul 17 13:13:14 1998
Can anyone tell me why rd_open_hook() in
/usr/src/sys/arch/i386/i386/rd_root.c has these lines in it?
if (unit == 0) {
/* The root ramdisk only works single-user. */
boothowto |= RB_SINGLE;
}
I'm quite perplexed as to the assertion made in the comment. I have a fully
configured firewall running multi-user with sshd and other stuff from a
single floppy boot. All I had to do was yank the offending code above.
I can understand if when creating installation diskettes we want the kernel
to stop at single-user mode and run the various scripts. But to force that
behavior here is not the way to do it. (if that is indeed why it's here)
Visit your host, monkey.org