plan 9 kernel history: overview | file list | diff list

1997/0812/boot/boot.c (diff list | history)

1997/0812/sys/src/9/boot/boot.c:117,1251999/0316/sys/src/9/boot/boot.c:117,129 (short | long | prev | next)
1992/0317    
	 */ 
	if(bind("/", "/", MREPL) < 0) 
1997/0812    
		fatal("bind /"); 
1993/0330    
	if(mount(fd, "/", MAFTER|MCREATE, "") < 0) 
1999/0316    
	if(mount(fd, "/root", MREPL|MCREATE, "") < 0) 
1997/0812    
		fatal("mount /"); 
1999/0316    
	if(bind(rootdir, "/", MAFTER|MCREATE) < 0) 
		fatal("bind /"); 
1992/0317    
	close(fd); 
1999/0316    
 
	setenv("rootdir", rootdir); 
1992/0317    
 
	/* 
1992/0611    
	 *  if a local file server exists and it's not 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)