diff -urN hal-0.4.2/hald/linux/block_class_device.c hal-0.4.2-ti/hald/linux/block_class_device.c --- hal-0.4.2/hald/linux/block_class_device.c 2004-11-30 21:39:01.000000000 -0600 +++ hal-0.4.2-ti/hald/linux/block_class_device.c 2007-04-26 12:19:33.000000000 -0500 @@ -1897,7 +1897,7 @@ int i; char *p; char *delim = " \t\n"; - char buf[256]; + char buf[8192]; char *bufp = buf; struct stat stat_buf; int major = 0; @@ -1983,7 +1983,7 @@ read_etc_mtab (dbus_bool_t force) { int fd; - char buf[256]; + char buf[8192]; FILE *f; struct stat stat_buf; @@ -2020,7 +2020,7 @@ } while (!feof (f)) { - if (fgets (buf, 256, f) == NULL) + if (fgets (buf, 8192, f) == NULL) break; /*printf("got line: '%s'\n", buf); */ etc_mtab_process_line (buf);