From 3b1525e444b2fb51bfc3e2fa91bf7b8614e22f0c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 3 Sep 2001 16:49:25 +0000 Subject: Don't automount things as "usbdevfs" -- patch from Ethan Benson --- util-linux/mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util-linux') 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, 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]; -- cgit v1.2.3