ls returns nothing only in certain directories
Posted
by Jakobud
on Server Fault
See other posts from Server Fault
or by Jakobud
Published on 2010-03-15T15:15:16Z
Indexed on
2010/03/15
15:20 UTC
Read the original article
Hit count: 492
I have a raid drive mounted here:
/data/
And certain directories like this one:
/data/somedir/somesubdir/
when I run
ls
w/ or w/o any flags, terminal doesn't return anything. It does not return an empty directory listing. It simply goes to the next line and sits there blank with no prompt coming up. I cannot CTRL-C out of it. I have to close this terminal instance and start over.
At first I thought it was something to do with the ls command, but its pointing to /bin/ls and I can ls other directories just fine.
Also, running this
find /data/somedir/somesubdir
immediately finds all the files just as expected.
© Server Fault or respective owner