[net.unix] # of inodes on a file system in 4.2?

nancy@resonex.UUCP (Nancy Blachman) (10/08/84)

How  does one find out the number of inodes on a particular file system?
Is there a system utility for finding out the number of free and total
inodes on a file system in 4.2BSD or has anyone written such a program?

It would be nice if there was a program "di" which told the number of 
inodes on each file system.  


	    Nancy Blachman
{allegra,amd,hplabs,ihnp4,sun}!resonex!nancy
	Resonex,  Sunnyvale, CA
    	  (408)720 8600 x37

PS The reason I would like to know is that we ran out of inodes on
/usr/spool (because of usenet) and we would like to increase the
number of inodes.  I first need to find out the number so I can
determine by what amount to increase it.

kg@hplabs.UUCP (Ken Greer) (10/08/84)

| How  does one find out the number of inodes on a particular file system?

Just "df -i", Nancy.
-- 
Ken Greer
kg.hplabs@CSNET-Relay (ARPA)
kg@HP-Labs (CSNET)
hplabs!kg (UUCP)

chris@umcp-cs.UUCP (Chris Torek) (10/08/84)

``df -i'' will show the # of inodes.  I made /usr/spool/news with newfs
using 1024 bytes per inode instead of the default 2048 on eneevax; this
seems to be a pretty good value even with the frag size at 512.  (All
those headers, probably! :-) )
-- 
(This mind accidently left blank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland

guy@rlgvax.UUCP (Guy Harris) (10/09/84)

> How  does one find out the number of inodes on a particular file system?
> Is there a system utility for finding out the number of free and total
> inodes on a file system in 4.2BSD or has anyone written such a program?

Yes, somebody at Berkeley wrote such a program and put it on the 4.2BSD
system; it's called "df".  See the "-i" option on the manual page.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy