Feature #5998
A /proc/cmdline fact
| Status: | Accepted | Start date: | 01/25/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% | ||
| Category: | library | |||
| Target version: | - | |||
| Keywords: | /proc/cmdline | Affected Facter version: | ||
| Branch: | ||||
History
#1
Updated by James Turnbull over 2 years ago
- Category set to library
- Status changed from Unreviewed to Needs Decision
- Assignee changed from James Turnbull to Nigel Kersten
#2
Updated by Nigel Kersten over 2 years ago
- Status changed from Needs Decision to Accepted
#3
Updated by Paul Nasrat over 2 years ago
Should be something like kernel_args rather than /proc specific.
#4
Updated by James Turnbull over 2 years ago
What do you mean?
#5
Updated by Paul Nasrat over 2 years ago
I assume you want the kernel boot arguments from /proc/cmdline, other OS have similar so the fact should be called something like kernel_arguments or boot_arguments.
Looks like you’d use kenv on freebsd and prtconf on Solaris
Useful blog fromn 2 minutes googling http://troysunix.blogspot.com/2010/11/host-info-boot-parameters.html
#6
Updated by James Turnbull over 2 years ago
Ah okay – yeah this was just a place-holder. I wanted to remember to create it – probably when we’ve got proper namespacing because it’s kind of useless fact before then.
#7
Updated by Nigel Kersten over 2 years ago
Yeah. We’ll abstract it away. You can get similar info on OS X too.
#8
Updated by Ken Barber over 1 year ago
- Target version set to 186
#9
Updated by Daniel Pittman over 1 year ago
- Target version deleted (
186)