👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

NetBSD 6.1.5 - man page for setroot (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 parti-
     tion 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


All times are GMT -4. The time now is 03:29 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?