PERFORCE change 92984 for review

Robert Watson rwatson at FreeBSD.org
Wed Mar 8 13:06:00 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92984

Change 92984 by rwatson at rwatson_peppercorn on 2006/03/08 21:04:44

	Re-enable old UFS mount code for the time being, as the lmount()
	changes are not currently good.

Affected files ...

.. //depot/projects/trustedbsd/sebsd/sbin/mount/mount.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/sebsd/sbin/mount/mount.c#12 (text+ko) ====

@@ -469,6 +469,17 @@
 		free(optbuf);
 		return (1);
 	case 0:					/* Child. */
+		/*
+		 * XXXRW: In the new world order, nmount() is also used for
+		 * UFS.  With the SEBSD-local lmount changes, the following
+		 * block of code was not used, as mount_ufs contained
+		 * special support.
+		 */
+#if 1
+		if (strcmp(vfstype, "ufs") == 0)
+			exit(mount_ufs(argc, (char * const *) argv));
+#endif
+
 		/* Go find an executable. */
 		execvP(execname, _PATH_SYSPATH, (char * const *)argv);
 		if (errno == ENOENT) {


More information about the trustedbsd-cvs mailing list