[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #24140] Painfully slow find(1) in list-permission-only AFS paths

From: Daniel Richard G.
Subject: [bug #24140] Painfully slow find(1) in list-permission-only AFS paths
Date: Tue, 26 Aug 2008 14:53:25 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux; X11; x86_64; en_US) KHTML/3.5.7 (like Gecko)

Follow-up Comment #2, bug #24140 (project findutils):

Should there be an option, along the lines of -noleaf, that causes find(1) to
believe what d_type says for unknown entries? Would you rather have find(1)
autodetect AFS in some way to adapt its behavior on-the-fly? (IIRC, this would
basically amount to checking whether the canonical path is under /afs; that's
supposed to be the "official" method.)

d_type is DT_UNKNOWN only for non-directories. AFS "l" access does let you
see if a name is a directory, so that you can look inside it (potentially with
greater access permissions).

I could put together a patch; I just need to know what the acceptable
behavior should be.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]