Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 14:36:05 -0700
From:      "John Nielsen" <oniblerz@attbi.com>
To:        "paul beard" <paulbeard@mac.com>, "freebsd-stable" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: problems rebuilding locate database
Message-ID:  <041f01c1d2b2$bce32920$0900a8c0@max>
References:  <3C9CEDC8.4070001@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: "paul beard" <paulbeard@mac.com>
To: "freebsd-stable" <freebsd-stable@FreeBSD.ORG>
Sent: Saturday, March 23, 2002 2:04 PM
Subject: problems rebuilding locate database


> I have been getting these for awhile, not sure if I can link them
> to a kernel build.
>
> Rebuilding locate database:
> locate: integer out of +-MAXPATHLEN (1024): 1035
> locate: integer out of +-MAXPATHLEN (1024): 1035
>
> If this is saying that 1035 is more than 1024, I'm in full
> agreement. But what does it really mean and how can I resolve it?

I would guess that it means you have pathnames on your system that are
longer than the (max allowed) of 1024.  i.e.
 "/usr/foo/...1020chars.../bar/baz"

If that's the case then you can solve it by moving the offending files to
a not-so-nested directory.  Or you could try to increase the value of
MAXPATHLEN, but I'm not sure where that's defined or what would break if
it changed.

JN


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?041f01c1d2b2$bce32920$0900a8c0>