Mailinglist Archive: opensuse (626 mails)

< Previous Next >
Re: [opensuse] ls or find on directories with millions of files ?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 01 Nov 2018 21:10:26 +0100
  • Message-id: <prfmji$o9$3@saturn.local.net>
Bernhard Voelker wrote:

On 11/1/18 6:15 PM, Per Jessen wrote:
Berny, do you know how I would determine if the currently
installed 'find' has FTS support? I have version 4.4 installed.

On oS:TW, I see fts_{open,close,read} and friends in the output of:

$ readelf -s /usr/bin/find | grep -i fts
151: 0000000000022220 923 FUNC GLOBAL DEFAULT 15 fts_open
165: 00000000000225c0 377 FUNC GLOBAL DEFAULT 15 fts_close
166: 0000000000022fc0 41 FUNC GLOBAL DEFAULT 15 fts_set
167: 0000000000022740 2176 FUNC GLOBAL DEFAULT 15 fts_read
168: 0000000000022ff0 381 FUNC GLOBAL DEFAULT 15
fts_children

Thanks, that was a great answer! I didn't know about readelf. '

on my system with opensuse 11 -

# readelf -s /usr/bin/find | grep -i fts
131: 00000000004158b0 1851 FUNC GLOBAL DEFAULT 14 fts_read
132: 0000000000414750 45 FUNC GLOBAL DEFAULT 14 fts_set
133: 0000000000415650 436 FUNC GLOBAL DEFAULT 14 fts_children
136: 0000000000416150 867 FUNC GLOBAL DEFAULT 14 fts_open
141: 0000000000415ff0 338 FUNC GLOBAL DEFAULT 14 fts_close


I'm not sure what this FTS support is, but it doesn't seem to help.


--
Per Jessen, Zürich (8.1°C)
http://www.hostsuisse.com/ - dedicated server rental in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >