aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-09-03 16:49:25 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-09-03 16:49:25 +0000
commite5dfbc7d2915354734d50e4b11b160985c81fb03 (patch)
tree1d4dbd8aada9108726b6a7659aed963315739b02 /util-linux
parent325d66d7283c8cef0478fddfc133a05024535f7a (diff)
downloadbusybox-w32-e5dfbc7d2915354734d50e4b11b160985c81fb03.tar.gz
busybox-w32-e5dfbc7d2915354734d50e4b11b160985c81fb03.tar.bz2
busybox-w32-e5dfbc7d2915354734d50e4b11b160985c81fb03.zip
Don't automount things as "usbdevfs" -- patch from
Ethan Benson <erbenson@alaska.net> git-svn-id: svn://busybox.net/trunk/busybox@3384 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 6ffce2bf1..2fc84f2c0 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -241,7 +241,7 @@ mount_one(char *blockDevice, char *directory, char *filesystemType,
241 int status = 0; 241 int status = 0;
242 242
243 if (strcmp(filesystemType, "auto") == 0) { 243 if (strcmp(filesystemType, "auto") == 0) {
244 static const char *noauto_array[] = { "tmpfs", "shm", "proc", "ramfs", "devpts", "devfs", 0 }; 244 static const char *noauto_array[] = { "tmpfs", "shm", "proc", "ramfs", "devpts", "devfs", "usbdevfs", 0 };
245 const char **noauto_fstype; 245 const char **noauto_fstype;
246 const int num_of_filesystems = sysfs(3, 0, 0); 246 const int num_of_filesystems = sysfs(3, 0, 0);
247 char buf[255]; 247 char buf[255];