Too many files

David Collier-Brown David.Collier-Brown at canada.sun.com
Thu Jun 1 12:01:08 GMT 2000


You wrote:
| I have a directory called A, shared as A, and in A there is 210000
(yes 
| two hundred and ten thousand) files

	Oops...  Unix directories doesn't scale reasonable to 
	such sizes.

	If a program is looking for something like 
		frogbnitz.19jan99.fred.32.dat
	you might consider using LD_PRELOAD to load a library
	which does allow you to split this into subdirs
	by transforming the open system call to an open call
	for frogbnitz/1999/19jan/fred/32.dat.

--dave
-- 
David Collier-Brown,  | Always do right. This will gratify some people
185 Ellerslie Ave.,   | and astonish the rest.        -- Mark Twain
Willowdale, Ontario   | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com


More information about the samba mailing list