Date: Fri, 21 Feb 1997 16:01:46 -0500 (EST) From: Bradley Dunn <bradley@dunn.org> To: David Stickney <david@wvb.gomel.by> Cc: "'FBSD ISP'" <freebsd-isp@freebsd.org> Subject: Re: Big Directories.. Message-ID: <Pine.WNT.3.95.970221155725.-457755A-100000@swoosh.dunn.org> In-Reply-To: <01BC2023.E0990480@david>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.WNT.3.95.970221155725.-457755A-100000>