setroot(9) netbsd man page | unix.com

Man Page: setroot

Operating Environment: netbsd

Section: 9

CPU_ROOTCONF(9) 					   BSD Kernel Developer's Manual					   CPU_ROOTCONF(9)

NAME
cpu_rootconf, rootconf, setroot -- root file system setup
SYNOPSIS
#include <sys/types.h> #include <sys/systm.h> void cpu_rootconf(void); void rootconf(void); void setroot(device_t bootdv, int bootpartition);
DESCRIPTION
The cpu_rootconf() is a machine-dependent interface invoked during system bootstrap to determine the root file system device and initialize machine-dependent file system state. cpu_rootconf() provides the global variables booted_device, booted_partition, booted_startblk and booted_nblks and invokes the machine-independent function rootconf which rootconf then calls the function setroot to record the boot/root device and the boot partition information for use in machine-independent code. For disk boot, if booted_nblks is not 0, then booted_startblk and booted_nblks are supposed to specify a disk wedge that is used as the root device. Otherwise the booted_partition is used.
SEE ALSO
boot(8), boothowto(9), dk(4)
BSD
April 13, 2010 BSD
Related Man Pages
vxvmboot(1m) - hpux
installgrub(1m) - linux
installgrub(1m) - opendarwin
installgrub(1m) - osx
installgrub(1m) - centos
Similar Topics in the Unix Linux Community
vncserver gnome display error
VNC Limited Options
VNC not executing xstartup
How to change crontab output from console to email?
Openbox unable to start on OpenBSD