On Mon, 10 Jul 2000 [EMAIL PROTECTED] wrote:
>
> kapil sharma �crit:
> > Now i want to ask the folowing questions:
> > 1: What is the maximum no. of sub directories under a directories?
> > 2: Is there any way to increase this numbers of maximum files/ sub dir
> > under main dir?
>
> What operating system are you running ? What filesystem is your
> partition on ?
the answers to both of these questions was in the original query.
I believe there is a limit ot the number of directory entries in the
'root' of the filesystem; iirc it's about 32K or so under linux. In
general it's a bad idea to have this many subdirectories in a single
filesystem unless you're running something like rsierfs or XFS since it is
moderately expensive in terms of time to linearly scan the directory
searching for the right one.
There is are a couple of ways to 'fix' the limit. Very risky things would
include modifying the fs drivers for the existing filesystem. moderately
risky things include converting the partition to rseifs. safe things
include hashing your user's directory names and moving their filestore.
into the right directory.r
At my last place of work we had the maildirs on something like
/mail/ai/s/ais007
Where the ai and s are from the first three characters of the username (ai
is the department, s means staff [p=graduate student, a-h=undergraduate])
RjL
==================================================================
You know that. I know that. But when || Austin, Texas
you talk to a monkey you have to || Email: [EMAIL PROTECTED]
grunt and wave your arms -ck ||