unix question: files per directory

Bob Lenk rml at hpfcdc.HP.COM
Thu Apr 13 07:29:01 AEST 1989


>>How many files can there be in a single UNIX directory ....
>	return pathconf(dirpath, _PC_LINK_MAX);

This will tell you how many links you can make *to* dirpath, not how
many links you can make *in* dirpath.  There might be a tangential
relationship to the number of subdirectories you can make in dirpath,
but don't even count on that.

		Bob Lenk
		hplabs!hpfcla!rml
		rml%hpfcla at hplabs.hp.com



More information about the Comp.unix.wizards mailing list