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

1993/0321/port/dev.c (diff list | history)

1993/0321/sys/src/9/port/dev.c:41,461993/0323/sys/src/9/port/dev.c:41,48 (short | long | prev | next)
Add CHMOUNT bit to mounted channels.
rsc Fri Mar 4 12:44:25 2005
1990/0227    
		db->mode = CHDIR|perm; 
	else 
		db->mode = perm; 
1993/0323    
	if(c->flag&CMSG) 
		db->mode |= CHMOUNT; 
1990/0227    
	db->atime = seconds(); 
1991/1220    
	db->mtime = kerndate; 
1990/0227    
	db->hlength = 0; 
1993/0321/sys/src/9/port/dev.c:144,1491993/0323/sys/src/9/port/dev.c:146,153
1991/0626    
			error(Enonexist); 
1990/0227    
		case 1: 
1993/0321    
			if(eqqid(c->qid, dir.qid)) { 
1993/0323    
				if(c->flag&CMSG) 
					dir.mode |= CHMOUNT; 
1990/0227    
				convD2M(&dir, db); 
				return; 
			} 


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