actual boot device

Dan Nelson dnelson at allantgroup.com
Tue Aug 17 09:15:21 PDT 2004


In the last episode (Aug 17), Sergey Lyubka said:
> How would one know the actual boot device after kernel successfully
> booted ?

The kern.bootfile sysctl points to the kernel file that was loaded,
according to the loader.  If you booted off of cdrom or floppy, you can
run "kenv loaddev" to find out which device was actually used to read
the file.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list