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

2000/0223/port/devroot.c (diff list | history)

2000/0223/sys/src/9/port/devroot.c:176,1922000/0615/sys/src/9/port/devroot.c:176,181 (short | long | prev | next)
1993/0501    
	return 0; 
1995/0108    
} 
 
1999/0729    
static void 
rootcreate(Chan *c, char *name, int mode, ulong perm) 
{ 
1999/0731    
	if(!iseve() || c->qid.path != (CHDIR|Qdir) || 
	   (perm & CHDIR) == 0 || mode != OREAD) 
1999/0729    
		error(Eperm); 
1999/0730    
	addrootdir(name); 
1999/0729    
	c->flag |= COPEN; 
1999/0731    
	c->mode = OREAD; 
1999/0729    
} 
                 
1997/0327    
Dev rootdevtab = { 
1997/0408    
	'/', 
	"root", 
2000/0223/sys/src/9/port/devroot.c:198,2042000/0615/sys/src/9/port/devroot.c:187,193
1997/0327    
	rootwalk, 
	rootstat, 
	rootopen, 
1999/0729    
	rootcreate, 
2000/0615    
	devcreate, 
1997/0327    
	rootclose, 
	rootread, 
	devbread, 


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