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

1991/0912/gnot/main.c (diff list | history)

1991/0912/sys/src/9/gnot/main.c:121,1261991/0926/sys/src/9/gnot/main.c:121,132 (short | long | prev | next)
1990/03091    
	u->slash = (*devtab[0].attach)(0); 
	u->dot = clone(u->slash, 0); 
1990/0613    
	if(!waserror()){ 
1991/0926    
		c = namec("#e/terminal", Acreate, OWRITE, 0600); 
		(*devtab[c->type].write)(c, "at&t gnot 1", strlen("at&t gnot 1"), 0); 
		close(c); 
		c = namec("#e/cputype", Acreate, OWRITE, 0600); 
		(*devtab[c->type].write)(c, "68020", strlen("68020"), 0); 
		close(c); 
1991/0906    
		c = namec("#e/bootuser", Acreate, OWRITE, 0600); 
1991/0907    
		(*devtab[c->type].write)(c, bootuser, strlen(bootuser), 0); 
1991/0906    
		close(c); 
1991/0912/sys/src/9/gnot/main.c:133,1401991/0926/sys/src/9/gnot/main.c:139,146
1990/0917    
		c = namec("#e/bootdevice", Acreate, OWRITE, 0600); 
1991/0912    
		(*devtab[c->type].write)(c, bootdevice, strlen(bootdevice), 0); 
1990/0613    
		close(c); 
1991/0926    
		poperror(); 
1990/0613    
	} 
	poperror(); 
1991/0705    
 
1990/03091    
	touser(); 
} 


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