Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subdirectories in Unix and windows

Status
Not open for further replies.

kevinpham

Programmer
Dec 21, 2001
32
US
Do anyone have an idea how many subdirectories (folders) can we create inside a parent directory, in Unix and Windows? is there a limitation at all??? cheer
kevin
 
How many do you expect to need? I've seen hundreds with no problem. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I wrote a program and it can create about up to 22,000 in Unix and 31,000 in Windows. If I need only a few hundreds or a few thousands then I wouldn't ask.

I am writing a geocities-like program, but do not use relational database to keep tracks of members, just plain files and folders. if the directory limitation stop me from signing the 22,001th members then I would consider using relational database then. cheer
kevin
 
I'm not sure about Windows, but I know there is a limit to the number of files/folders in a single directory on *nix. I had a problem with this in a previous job. If I remember correctly it's when it hits the 32k point.

Barbie. Leader of Birmingham Perl Mongers
 
I would consider a relational database with that number of subdirectories to paruse through for information. I think in the long run it will pay off for you and your customer. You probably will find a great deal more flexiblity down the line. Although, flatfile DB's can be very fast, they dont lend themselves to easy maintance. I dont really know what you have planned but the project sounds like it could get potentially quiet large and maintance of the data may be an issue. One last point, should the customer ever become dissatisfied with or outgrow the server, the web site would be more portable.

Just a thought.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top