Grub boot options - updated kernel hangs
Jason L Tibbitts III
tibbs at math.uh.edu
Sun May 2 02:32:35 UTC 2004
>>>>> "MH" == Matt Hansen <helios82 at optushome.com.au> writes:
MH> Alexander, where did you learn about the "confirm" kernel
MH> parameter?
less /etc/rc.d/rc.sysinit
It doesn't seem to be documented anywhere else.
MH> A look in /usr/src/linux-2.4/Documentation/kernel-parameters.txt
MH> on my system does not mention it.
It's not a kernel parameter per se; userspace has access to the kernel
command line and can do what it likes. rc.sysinit does this:
cmdline=$(cat /proc/cmdline)
and then references $cmdline to control various things:
if ! strstr "$cmdline" nousb ; then
if [ -f /fastboot ] || strstr "$cmdline" fastboot ; then
[ -f /forcefsck ] || strstr "$cmdline" forcefsck ; then
if ! strstr "$cmdline" nopnp ; then
if ! strstr "$cmdline" nomodules && [ -f /proc/modules ] ; then
if fgrep rhgb /proc/cmdline > /dev/null 2>&1 && [ "$RHGB_STARTED" -eq 0 -a "$BOOTUP" = "color" -a "$GRAPHICAL" = "
(interesting; it's probably a bug that it doesn't reference $cmdline
there)
if ! strstr "$cmdline" nofirewire ; then
if strstr "$cmdline" ide-scsi ; then
if strstr "$cmdline" netprofile= ; then
if strstr "$cmdline" confirm ; then
- J<
More information about the fedora-list
mailing list