Re: Grub boot options - updated kernel hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "MH" == Matt Hansen <helios82@xxxxxxxxxxxxxxxx> 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<



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux