Am 09.03.2017 um 13:25 schrieb John Paul Adrian Glaubitz:

> Control: reopen -1
> Control: severity -1 normal
> Control: retitle -1 util-linux: Using bash completion on fsck can take a long 
> time
>
> On 03/09/2017 01:22 PM, Mohammed Sadiq wrote:
>> Oops sorry. I might be wrong Again. The debug of find (find -D stat)
>> shows that several paths are starting with /dev/fd/3/...

That's the problem.

http://unix.stackexchange.com/questions/74454/somethings-special-about-dev-fd-3

>> Which is simply listing several files/directories in my home directory. As 
>> my home directory 
>> is pretty much big (several small files),  find is simply taking time.
>> As your home directory content may be small, you get the completion after 
>> 5-10 seconds.

My home directory contains a symlink to the root filesystem (via
~/.wine/dos/devices/z: -> /), and this apparently causes the loop to be
infinite.

> What I find interesting is that the issue does not show when running as root.

Perhaps the current directory was different then?  The /root directory
is usually very small.

> Maybe we should re-open the bug, lower the severity to normal and change the
> title accordingly. I think the information you have gathered so far is still
> very valuable because I think the current behavior is not optimal.

Adding -xdev to find's options might be a good idea here.

Cheers,
       Sven

Reply via email to