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

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

1992/0912/sys/src/9/boot/settime.c:1,51993/0330/sys/src/9/boot/settime.c:1,6 (short | long | prev | next)
1992/0318    
#include <u.h> 
#include <libc.h> 
1993/0330    
#include <auth.h> 
1992/0318    
#include <fcall.h> 
#include "../boot/boot.h" 
 
1992/0912/sys/src/9/boot/settime.c:40,501993/0330/sys/src/9/boot/settime.c:41,51
1992/0909    
		f = open(timeserver, ORDWR); 
1992/0318    
		if(f < 0) 
			return; 
1992/0912    
		if(mount(f, "/n/boot", MREPL, "", sauth) < 0) 
			if(mount(f, "/n/boot", MREPL, "", "any") < 0){ 
				close(f); 
				return; 
			} 
1993/0330    
		if(mount(f, "/n/boot", MREPL, "") < 0){ 
warning("settime mount"); 
			close(f); 
			return; 
		} 
1992/0318    
		close(f); 
		if(stat("/n/boot", dirbuf) < 0) 
			fatal("stat"); 


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