NetBSD-Users archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
][
Old Index
]
/proc/cmdline in NetBSD? how to get kernel boot parameter?
To
:
netbsd-users%netbsd.org@localhost
Subject
:
/proc/cmdline in NetBSD? how to get kernel boot parameter?
From
:
Wean Irdeh <
wean.irdeh%gmail.com@localhost
>
Date: Mon, 27 Aug 2018 08:46:24 +0700
In Linux, parameter passed from bootloader to kernel can be obtained from /proc/cmdline
Like
'linux /boot/vmlimuz root=/dev/sda2 mychoice=custom'
and I can get it from terminal by running cat /proc/cmdline
Which output: root=/dev/sda2 mychoice=custom
What if I passed
'knetbsd /netbsd root=/dev/dk1 mychoice=custom'
from GRUB?
How can I get the kernel parameter I have mentioned above in terminal?
Prev by Date:
Installing and Using NetBSD on 6 TB Drive
Next by Date:
Re: Installing and Using NetBSD on 6 TB Drive
Previous by Thread:
Installing and Using NetBSD on 6 TB Drive
Next by Thread:
How do you use netpgp
Indexes:
reverse Date
reverse Thread
Old Index
Home
|
Main Index
|
Thread Index
|
Old Index