locate
Ryan Thompson
ryan at sasknow.com
Sat Oct 30 21:39:45 PDT 2004
george wrote to questions at freebsd.org:
> I am getting this error upon running periodic weekly it looks to me
> that there is a very long directory but I dont know a command to find
> this directory. can someone help?
# find / | awk '{ if (length >= 1024) print }'
It's linear on the number of inodes, but it should be accurate
> locate: integer out of +-MAXPATHLEN (1024): 1028
- Ryan
--
Ryan Thompson <ryan at sasknow.com>
SaskNow Technologies - http://www.sasknow.com
901-1st Avenue North - Saskatoon, SK - S7K 1Y4
Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon
Toll-Free: 877-727-5669 (877-SASKNOW) North America
More information about the freebsd-questions
mailing list