Deleted Added
full compact
mount.c (270096) mount.c (281691)
1/*-
2 * Copyright (c) 1980, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32"@(#) Copyright (c) 1980, 1989, 1993, 1994\n\
33 The Regents of the University of California. All rights reserved.\n";
34#if 0
35static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
36#endif
37#endif /* not lint */
38
39#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1980, 1989, 1993, 1994
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32"@(#) Copyright (c) 1980, 1989, 1993, 1994\n\
33 The Regents of the University of California. All rights reserved.\n";
34#if 0
35static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95";
36#endif
37#endif /* not lint */
38
39#include <sys/cdefs.h>
40__FBSDID("$FreeBSD: head/sbin/mount/mount.c 270096 2014-08-17 09:44:42Z trasz $");
40__FBSDID("$FreeBSD: head/sbin/mount/mount.c 281691 2015-04-18 16:08:06Z trasz $");
41
42#include <sys/param.h>
43#include <sys/mount.h>
44#include <sys/stat.h>
45#include <sys/wait.h>
46
47#include <ctype.h>
48#include <err.h>

--- 90 unchanged lines hidden (view full) ---

139{
140 /* XXX: We need to get away from implementing external mount
141 * programs for every filesystem, and move towards having
142 * each filesystem properly implement the nmount() system call.
143 */
144 unsigned int i;
145 const char *fs[] = {
146 "cd9660", "mfs", "msdosfs", "nfs",
41
42#include <sys/param.h>
43#include <sys/mount.h>
44#include <sys/stat.h>
45#include <sys/wait.h>
46
47#include <ctype.h>
48#include <err.h>

--- 90 unchanged lines hidden (view full) ---

139{
140 /* XXX: We need to get away from implementing external mount
141 * programs for every filesystem, and move towards having
142 * each filesystem properly implement the nmount() system call.
143 */
144 unsigned int i;
145 const char *fs[] = {
146 "cd9660", "mfs", "msdosfs", "nfs",
147 "nullfs", "oldnfs", "smbfs", "udf", "unionfs",
147 "nullfs", "smbfs", "udf", "unionfs",
148 NULL
149 };
150
151 if (mountprog != NULL)
152 return (1);
153
154 for (i = 0; fs[i] != NULL; ++i) {
155 if (strcmp(vfstype, fs[i]) == 0)

--- 802 unchanged lines hidden ---
148 NULL
149 };
150
151 if (mountprog != NULL)
152 return (1);
153
154 for (i = 0; fs[i] != NULL; ++i) {
155 if (strcmp(vfstype, fs[i]) == 0)

--- 802 unchanged lines hidden ---