Annotation of 43BSDReno/sys/nfs/TEST/unix-tests/domount.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  *      @(#)domount.c  1.1 90/01/02 NFS Rev 2 testsuite
                      3:  *     combined with 1.1 Lachman ONC Test Suite source
                      4:  *
                      5:  * domount [-u] [args]
                      6:  *
                      7:  * NOTE: This program should be suid root to work properly.
                      8:  */
                      9: main(argc, argv)
                     10:        int argc;
                     11:        char **argv;
                     12: {
                     13:        *argv = "/etc/mount";
                     14:        if (argc > 1 && strcmp(argv[1], "-u") == 0)
                     15:                *++argv = "/etc/umount";
                     16:        (void)execv(*argv, argv);
                     17:        exit(1);
                     18:        /* NOTREACHED */
                     19: }

unix.superglobalmegacorp.com

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