From owner-freebsd-isp Fri Feb 21 13:09:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id NAA23448 for isp-outgoing; Fri, 21 Feb 1997 13:09:07 -0800 (PST) Received: from ns2.harborcom.net (root@ns2.harborcom.net [206.158.4.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA23440 for ; Fri, 21 Feb 1997 13:09:04 -0800 (PST) Received: from swoosh.dunn.org (swoosh.dunn.org [206.158.7.243]) by ns2.harborcom.net (8.8.5/8.8.4) with SMTP id QAA01627; Fri, 21 Feb 1997 16:06:51 -0500 (EST) Date: Fri, 21 Feb 1997 16:01:46 -0500 (EST) From: Bradley Dunn To: David Stickney cc: "'FBSD ISP'" Subject: Re: Big Directories.. In-Reply-To: <01BC2023.E0990480@david> Message-ID: X-X-Sender: bradley@harborcom.net MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 21 Feb 1997, David Stickney wrote: > I some questions, that nobody can seem to answer > > while : ; do > mkdir x > cd x > done > > 1. How can you prevent users from running this in their home directory, > without cutting off their shell account Install quotas. Then if they want to use their quota on empty directories, let them. > 2. How can you get rid of the directory once it has 300 or so > subdirectories. The shell keeps saying there is no such directory, and > nothing seems to delete it. I tried moving it to a floppy, but it worked > for 45 minutes and I didn't want to burn out the drive. Maybe do a 'ls -id' on the top directory and then use clri(8) to clear the inode. Then run fsck(8) on the filesystem. It should work, although I have never tried it in this situation. pbd