mount.c (a42ac676f5979f067e7073427876c5e6afff80bd) | mount.c (2e564269d0af3703815a10effe03c1f1773c9a46) |
---|---|
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 --- 129 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", | 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 --- 129 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", "smbfs", "udf", "unionfs", | 146 "nullfs", "oldnfs", "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) --- 792 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) --- 792 unchanged lines hidden --- |