mount.c (250235) | mount.c (252356) |
---|---|
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 250235 2013-05-04 14:00:16Z crees $"); | 40__FBSDID("$FreeBSD: head/sbin/mount/mount.c 252356 2013-06-28 21:00:08Z davide $"); |
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> --- 89 unchanged lines hidden (view full) --- 138{ 139 /* XXX: We need to get away from implementing external mount 140 * programs for every filesystem, and move towards having 141 * each filesystem properly implement the nmount() system call. 142 */ 143 unsigned int i; 144 const char *fs[] = { 145 "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> --- 89 unchanged lines hidden (view full) --- 138{ 139 /* XXX: We need to get away from implementing external mount 140 * programs for every filesystem, and move towards having 141 * each filesystem properly implement the nmount() system call. 142 */ 143 unsigned int i; 144 const char *fs[] = { 145 "cd9660", "mfs", "msdosfs", "nfs", |
146 "nullfs", "oldnfs", "udf", "unionfs", | 146 "nullfs", "oldnfs", "smbfs", "udf", "unionfs", |
147 NULL 148 }; 149 150 if (mountprog != NULL) 151 return (1); 152 153 for (i = 0; fs[i] != NULL; ++i) { 154 if (strcmp(vfstype, fs[i]) == 0) --- 799 unchanged lines hidden --- | 147 NULL 148 }; 149 150 if (mountprog != NULL) 151 return (1); 152 153 for (i = 0; fs[i] != NULL; ++i) { 154 if (strcmp(vfstype, fs[i]) == 0) --- 799 unchanged lines hidden --- |