Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!princeton!allegra!alice!andrew From: andrew@alice.UUCP Newsgroups: comp.unix.wizards Subject: spooling names Message-ID: <7066@alice.UUCP> Date: Mon, 6-Jul-87 06:31:54 EDT Article-I.D.: alice.7066 Posted: Mon Jul 6 06:31:54 1987 Date-Received: Tue, 7-Jul-87 01:50:15 EDT Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 12 Summary: i need a simple way to generate local spool names I need a solution to this puzzle but can't think of a simple one; any simple solutions much appreciated. A server (invoked over the network) writes files into a directory. (Other programs asynchronously use and unlink these files.) The file names are arbitrary; currently they are serverpid-seqno. The problem is that the directory gets too large (10K entries) and this seriously impacts other programs. My thought was to have sub-directories with a limited number (say 1K) of entries; but i don't see how to do that simply either. solutions/questions to research!andrew