mkfs with lots of inodes

Tim Brecht tim at tse.uucp
Sat Feb 24 12:07:45 AEST 1990


	[Please forgive me if you end up seeing this twice
	I tried cross-posting this but it didn't seem to work.]

	I'm running AIX 2.2.1 on an RT.

	I'd like to create a filesystem with a large number of inodes
	(can you say news :-).

	The manual says:
	# mkfs device blocks:inodes

	This works fine until the number of inodes > 32000.
	Mkfs will only allow me to create a filesystem with 
	AT MOST 32000 nodes (even if I specify more).

	/usr/include/sys/types.h tells me :
	typedef unsigned short  ushort;
	typedef ushort		ino_t;

	So I should be able to create a filesystem with 2^16-1 inodes
	except mkfs won't let me ! Argh.
	Has anyone figured out a way around this one :-(

tim

Tim Brecht                   tim at tse.uucp
Toronto Stock Exchange       uunet!geac!tse!tim
Toronto, Ontario, CANADA



More information about the Comp.unix.aix mailing list