lfm@ttardis.UUCP (Keith Tonge) (10/18/90)
[I am posting this for keith tonge, a user on this system. To reply, please send email to cfctech!ttardis!kt6938@sharkey.cc.umich.edu -jt] I need to enlist the help of anyone who might be able to assist me in a problem I'm having with the UNIX limit on the number of sub-directories that may be contained in any one directory. The application I'm working on creates a sub directory and a couple of sub directories under that for each new "case". The case number is a seven byte numberic field. As an example the new case that is created has a case number of 23702. The directory structure would be something like: /usr . /htc . . /23702 . . . /primary . . . /document The problem I'm experiencing is that UNIX imposes a limit of 998 sub-directories ( plus . and .. which makes total of 1000) in any one directory. I'm running SCO XENIX 2.3.1 (soon to upgrade to either 2.3.2 or SCO UNIX) and I'm wondering if there's any way of increasing this limit, and if not I'm open to suggestions as to how a workaround might be accomplished. Thanks in advance Keith... ______________________________________________________________________________ "I can't stand this proliferation of paperwork. It's useless to fight the forms. You've got to kill the people producing them." -- Vladimir Kabiadze, general director of the Ivanovo Machine Works near Moscow, in a speech to the Communist party conference Alpha/Strek Enterprises, Inc. Internet: rel!ttardis!lfm@sharkey.cc.umich.edu JT the LFM (Large Furry Marsupial) UUCP: ...sharkey!rel!ttardis!lfm
merlyn@iwarp.intel.com (Randal Schwartz) (10/19/90)
In article <2640@ttardis.UUCP>, lfm@ttardis (Keith Tonge) writes: | The application I'm working on creates a sub directory and a | couple of sub directories under that for each new "case". The | case number is a seven byte numberic field. As an example the | new case that is created has a case number of 23702. The | directory structure would be something like: | /usr | . /htc | . . /23702 | . . . /primary | . . . /document | | The problem I'm experiencing is that UNIX imposes a limit of 998 | sub-directories ( plus . and .. which makes total of 1000) in any | one directory. If you can change the application, make it put stuff in: /usr /htc /23 /23702 /primary /document /23703 /primary /document /24 /24001 /primary /document In other words, use the first two digits as an index into a superior directory. Then you'll have 1000 max entries in each level. (1000 entries is still wayyy too much to search through, though. Why are you making the unix filesystem do the job of a database?) If you can't change the application, throw it away. That's a silly mechanism (half :-). Just another UNIX hacker, -- /=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\ | on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III | | merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn | \=Cute Quote: "Intel put the 'backward' in 'backward compatible'..."=========/
nickman@quasar.lerc.nasa.gov (Nick Visic) (04/12/91)
help!! i am in desperate need of a unix expert. i am using a sun 4 sparcstation 330. i need to know how to write to the vme bus. i have absolutely no idea how to do this. please call me at 216-433-3470 from 9 am to 6 pm eastern time. or send me your phone number to: nickman@pulsar.lerc.nasa.gov i have the dev/vme32d32 driver, but i don't know how to open it. can i read and write using peek and poke? help!! nikola visic