Being sure that sysfs is mounted, go to /sys/module/nousb/parameters and run the following program from it: #include <stdio.h> #include <string.h> #include <dirent.h> int main (int argc, char *argv[]) { DIR *d; struct dirent *dp; d = opendir ("."); while ((dp = readdir (d))) printf ("'%s' %d\n", dp->d_name, strlen (dp->d_name)); closedir (d); return 0; } The output is: '.' 1 '..' 2 '' 0 The output of 'ls -lai' is: ls: cannot access : No such file or directory total 0 164 -????????? ? ? ? ? ? 163 drwxr-xr-x 2 root root 0 Nov 28 21:10 . 162 drwxr-xr-x 3 root root 0 Nov 28 21:10 .. It looks like /sys/module/nousb/parameters contains invalid inode, which is probably a bug somewhere in sysfs. It was observed by running updatedb with default /etc/updatedb.conf - if /sys is not in PRUNEPATHS, updatedb aborts with the message updatedb: src/updatedb.c:730: scan_cwd: Assertion `name_size > 1' failed.
*** This bug has been marked as a duplicate of 367351 ***