File:  [Net/2] / Net2 / tests / nfs / unix-tests / domount.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:03:54 2018 UTC (8 years, 3 months ago) by root
Branches: MAIN, CSRG
CVS tags: Net2, HEAD
Net/2

/*
 *      @(#)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.