last checkin missed internal mount_ufs support.
authorJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 31 Mar 1994 20:43:18 +0000 (12:43 -0800)
committerJan-Simon Pendry <pendry@ucbvax.Berkeley.EDU>
Thu, 31 Mar 1994 20:43:18 +0000 (12:43 -0800)
added it back.

SCCS-vsn: sbin/mount/mount.c 8.17

usr/src/sbin/mount/mount.c

index c5b95fc..d4a4da2 100644 (file)
@@ -12,7 +12,7 @@ static char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)mount.c    8.16 (Berkeley) %G%";
+static char sccsid[] = "@(#)mount.c    8.17 (Berkeley) %G%";
 #endif /* not lint */
 
 #include <sys/param.h>
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -291,6 +291,9 @@ mountfs(vfstype, spec, name, flags, options, mntopts)
                free(optbuf);
                return (1);
        case 0:                                 /* Child. */
                free(optbuf);
                return (1);
        case 0:                                 /* Child. */
+               if (strcmp(vfstype, "ufs") == 0)
+                       exit(mount_ufs(argc, (char * const *) argv));
+
                /* Go find an executable. */
                edir = edirs;
                do {
                /* Go find an executable. */
                edir = edirs;
                do {