FreeBSD/sys/kern/kern_shutdown.c
/*
 * The only reason this exists is to create the /dev/reroot/ directory,
 * used by reroot code in init(8) as a mountpoint for tmpfs.
 */
The only reason this exists is to create the /dev/reroot/ directory,
used by reroot code in init(8) as a mountpoint for tmpfs.
The only reason this exists is to create the / dev / reroot / directory used by reroot code in init ( 8 ) as a mountpoint for tmpfs .
static void
reroot_conf(void *unused)
{
	int error;
	struct cdev *cdev;
	error = make_dev_p(MAKEDEV_CHECKNAME | MAKEDEV_WAITOK, &cdev,
	    &reroot_cdevsw, NULL, UID_ROOT, GID_WHEEL, 0600, "reroot/reroot");
	if (error != 0) {
		printf("%s: failed to create device node, error %d",
		    __func__, error);
	}
}
static void reroot_conf ( void * unused ) { int error ; struct cdev * cdev ; error = make_dev_p ( MAKEDEV_CHECKNAME | MAKEDEV_WAITOK , & cdev , & reroot_cdevsw , NULL , UID_ROOT , GID_WHEEL , 0600 , " " ) ; if ( error != 0 ) { printf ( " " , __func__ , error ) ; } }
The only reason this exists is to create the /dev/reroot/ directory,
 used by reroot code in init(8) as a mountpoint for tmpfs.
The only reason this exists is to create the / dev / reroot / directory used by reroot code in init ( 8 ) as a mountpoint for tmpfs .