Default to -o linux. This prevents programs from not working just
because the -o linux flag was not supplied, i.e. it is the sensible default. People who absolutely do not want the extra files in their /proc for whatever aesthetic reason (it's not like they consume any resources) can do -o nolinux.
This commit is contained in:
parent
72d8b8b617
commit
3f2d5fc9ad
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: mount_procfs.c,v 1.22 2008/07/20 01:20:22 lukem Exp $ */
|
||||
/* $NetBSD: mount_procfs.c,v 1.23 2009/02/23 19:47:58 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1994
|
||||
|
@ -77,7 +77,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)mount_procfs.c 8.4 (Berkeley) 4/26/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: mount_procfs.c,v 1.22 2008/07/20 01:20:22 lukem Exp $");
|
||||
__RCSID("$NetBSD: mount_procfs.c,v 1.23 2009/02/23 19:47:58 pooka Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -121,7 +121,8 @@ mount_procfs(int argc, char *argv[])
|
|||
char canon_dir[MAXPATHLEN];
|
||||
mntoptparse_t mp;
|
||||
|
||||
mntflags = altflags = 0;
|
||||
mntflags = 0;
|
||||
altflags = PROCFSMNT_LINUXCOMPAT;
|
||||
while ((ch = getopt(argc, argv, "o:")) != -1)
|
||||
switch (ch) {
|
||||
case 'o':
|
||||
|
|
Loading…
Reference in New Issue