LWN.net Logo

Kernel command line usage

Kernel command line usage

Posted Apr 24, 2007 5:54 UTC (Tue) by eru (subscriber, #2753)
In reply to: profiles? by NAR
Parent article: OpenSUSE to drop ZENworks

Interesting! I always thought the kernel command line is available only for passing options to the kernel itself. But how can I make sure that any extra 'profile' options placed on the command line are not intercepted by the kernel (not now, nor in the future when new kernel options are added)?


(Log in to post comments)

Kernel command line usage

Posted Apr 24, 2007 22:11 UTC (Tue) by nix (subscriber, #2304) [Link]

You, um, can't. A number of things (notably arch-dependent things) get
involved even before the initramfs runs, and can consume args as they
wish. (Adding extra arguments is *very* useful for initramfses and
initrds; arguments to mount root filesystems in unusual ways, to run
emergency repair shells just before or just after mounting root, and,
well, to trigger anything else you can think of).

However, it's quite unlikely that a random argument you pick will
name-clash, and if it does you can always rename it.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds