Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 17:00:39 -0500
From:      Bob K <melange@yip.org>
To:        paul beard <paulbeard@mac.com>
Cc:        freebsd-stable <freebsd-stable@FreeBSD.ORG>
Subject:   Re: problems rebuilding locate database
Message-ID:  <20020324170039.D1331@yip.org>
In-Reply-To: <3C9D65AC.30209@mac.com>; from paulbeard@mac.com on Sat, Mar 23, 2002 at 09:35:40PM -0800
References:  <3C9CEDC8.4070001@mac.com> <041f01c1d2b2$bce32920$0900a8c0@max> <3C9D0E29.70801@mac.com> <3C9D65AC.30209@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 23, 2002 at 09:35:40PM -0800, paul beard wrote:
> well, my earlier shell commands to find the length of all the 
> files' paths were useless, but now that my young'uns are asleep, I 
> came up with this.
> 
> find / -type d | awk '{ a=length; print $0, a}' |  sort -T . -k 
> 2.1 -rnt ' '  -o sorted
> 
> It works fine except for dumping the files with embedded spaces to 
> the bottom of the list. I still find no paths longer than 200 
> characters, nowhere near the 1035 locate was griping about.

Hmm.  Perhaps you have some hard links to directories that may be
causing a loop of some sort?  Just a theory...

-- 
Bob <melange@yip.org> | It's pretty good, if you don't think about it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324170039.D1331>