summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorEric Andersen2001-09-03 16:49:25 +0000
committerEric Andersen2001-09-03 16:49:25 +0000
commit3b1525e444b2fb51bfc3e2fa91bf7b8614e22f0c (patch)
tree1d4dbd8aada9108726b6a7659aed963315739b02 /mount.c
parent1350666498752664a5e772ed99de3e541c04c477 (diff)
downloadbusybox-3b1525e444b2fb51bfc3e2fa91bf7b8614e22f0c.zip
busybox-3b1525e444b2fb51bfc3e2fa91bf7b8614e22f0c.tar.gz
Don't automount things as "usbdevfs" -- patch from
Ethan Benson <erbenson@alaska.net>
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.c b/mount.c
index 6ffce2b..2fc84f2 100644
--- a/mount.c
+++ b/mount.c
@@ -241,7 +241,7 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
int status = 0;
if (strcmp(filesystemType, "auto") == 0) {
- static const char *noauto_array[] = { "tmpfs", "shm", "proc", "ramfs", "devpts", "devfs", 0 };
+ static const char *noauto_array[] = { "tmpfs", "shm", "proc", "ramfs", "devpts", "devfs", "usbdevfs", 0 };
const char **noauto_fstype;
const int num_of_filesystems = sysfs(3, 0, 0);
char buf[255];