mount.c (168698) | mount.c (171023) |
---|---|
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 --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95"; 39#endif 40static const char rcsid[] = | 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 --- 24 unchanged lines hidden (view full) --- 33 The Regents of the University of California. All rights reserved.\n"; 34#endif /* not lint */ 35 36#ifndef lint 37#if 0 38static char sccsid[] = "@(#)mount.c 8.25 (Berkeley) 5/8/95"; 39#endif 40static const char rcsid[] = |
41 "$FreeBSD: head/sbin/mount/mount.c 168698 2007-04-13 21:30:47Z phk $"; | 41 "$FreeBSD: head/sbin/mount/mount.c 171023 2007-06-25 05:06:57Z rafan $"; |
42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/mount.h> 46#include <sys/stat.h> 47#include <sys/wait.h> 48 49#include <ctype.h> --- 80 unchanged lines hidden (view full) --- 130{ 131 /* XXX: We need to get away from implementing external mount 132 * programs for every filesystem, and move towards having 133 * each filesystem properly implement the nmount() system call. 134 */ 135 unsigned int i; 136 const char *fs[] = { 137 "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs", | 42#endif /* not lint */ 43 44#include <sys/param.h> 45#include <sys/mount.h> 46#include <sys/stat.h> 47#include <sys/wait.h> 48 49#include <ctype.h> --- 80 unchanged lines hidden (view full) --- 130{ 131 /* XXX: We need to get away from implementing external mount 132 * programs for every filesystem, and move towards having 133 * each filesystem properly implement the nmount() system call. 134 */ 135 unsigned int i; 136 const char *fs[] = { 137 "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs", |
138 "nwfs", "nullfs", "portalfs", "smbfs", "udf", "umapfs", 139 "unionfs", | 138 "nwfs", "nullfs", "portalfs", "smbfs", "udf", "unionfs", |
140 NULL 141 }; 142 143 for (i = 0; fs[i] != NULL; ++i) { 144 if (strcmp(vfstype, fs[i]) == 0) 145 return (1); 146 } 147 --- 731 unchanged lines hidden --- | 139 NULL 140 }; 141 142 for (i = 0; fs[i] != NULL; ++i) { 143 if (strcmp(vfstype, fs[i]) == 0) 144 return (1); 145 } 146 --- 731 unchanged lines hidden --- |