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

1992/0909/boot/settime.c (diff list | history)

1992/0808/sys/src/9/boot/settime.c:5,101992/0909/sys/src/9/boot/settime.c:5,12 (short | long | prev | next)
1992/0318    
 
1992/0611    
static long lusertime(char*); 
 
1992/0909    
char *timeserver = "#s/boot"; 
 
1992/0318    
void 
settime(int islocal) 
{ 
1992/0808/sys/src/9/boot/settime.c:35,411992/0909/sys/src/9/boot/settime.c:37,43
1992/0318    
		/* 
		 *  set the time from the access time of the root 
		 */ 
		f = open("#s/boot", ORDWR); 
1992/0909    
		f = open(timeserver, ORDWR); 
1992/0318    
		if(f < 0) 
			return; 
1992/0325    
		if(mount(f, "/n/boot", MREPL, "", sauth) < 0){ 


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