Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 1999 12:21:42 +0930
From:      Greg Lehey <grog@lemis.com>
To:        randyk@ccsales.com, Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Too many links
Message-ID:  <19990413122142.C74226@lemis.com>
In-Reply-To: <19990412122915.15006@ccsales.com>; from randyk on Mon, Apr 12, 1999 at 12:29:15PM -0700
References:  <3.0.5.32.19990412065446.05330240@ccsales.com> <Pine.BSF.4.03.9904121120200.3957-100000@resnet.uoregon.edu> <19990412122915.15006@ccsales.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 12 April 1999 at 12:29:15 -0700, randyk wrote:
> On Mon, Apr 12, 1999 at 11:20:52AM -0700, Doug White wrote:
>> On Mon, 12 Apr 1999, Randy A. Katz wrote:
>>
>>> Hello,
>>>
>>> I've got a directory which has a ton of directories under it. Now, when I
>>> try to create another directory it says: Too may links.
>>>
>>> Does anyone know what must be done?
>>
>> What does 'df -i' report?
>>
>> Can you do 'ls -l' of the parent directory of the directory you're trying
>> to create?
>
> df -i
> 48% iused on that partition.
>
> ls -l works, takes a while but works.

What you really want is ls -ld of the directory.  For example,

  $ ls -ld /var/spool 
  drwxr-xr-x  17 root  wheel  512 Aug 12  1998 /var/spool

The second field (17 here) is the link count.  I'd expect to see 32767
in your case.  If it's less, we can go back into head-scratching mode.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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




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