File:  [CSRG BSD Unix] / 43BSDReno / sys / nfs / TEST / unix-tests / domount.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:57 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

/*
 *      @(#)domount.c	1.1 90/01/02 NFS Rev 2 testsuite
 *	combined with 1.1 Lachman ONC Test Suite source
 *
 * domount [-u] [args]
 *
 * NOTE: This program should be suid root to work properly.
 */
main(argc, argv)
	int argc;
	char **argv;
{
	*argv = "/etc/mount";
	if (argc > 1 && strcmp(argv[1], "-u") == 0)
		*++argv = "/etc/umount";
	(void)execv(*argv, argv);
	exit(1);
	/* NOTREACHED */
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.