[comp.unix.i386] NDOSINODES unders ISC 2.0.2?

baxter@zola.ICS.UCI.EDU (Ira Baxter) (05/29/90)

When I do a 'find / ...' with my MSDOS filesystem mounted, I
invariably get some complaint about "Out of DOS Inodes".  There's
nothing in TFM under tunable parameters for this, and I vaguely
remember seeing something about adding "NDOSIDODES 500" to "stune".
Anybody know the straight scoop?

IDB
(714) 856-6693  ICS Dept/ UC Irvine, Irvine CA 92717

jrh@mustang.dell.com (James Howard) (05/29/90)

In article <9005282004.aa07953@PARIS.ICS.UCI.EDU>,
baxter@zola.ICS.UCI.EDU (Ira Baxter) writes: 
 > When I do a 'find / ...' with my MSDOS filesystem mounted, I
 > invariably get some complaint about "Out of DOS Inodes".  There's
 > nothing in TFM under tunable parameters for this, and I vaguely
 > remember seeing something about adding "NDOSIDODES 500" to "stune".
 > Anybody know the straight scoop?

Set the following in mtune:

DOSINODE  100     100     400

And this in stune:

DOSINODE  400




---------------------------------------------------------
James Howard
Dell Computer Corp.
jrh@mustang.dell.com 
---------------------------------------------------------

cpcahil@virtech.uucp (Conor P. Cahill) (05/29/90)

In article <9005282004.aa07953@PARIS.ICS.UCI.EDU> baxter@zola.ICS.UCI.EDU (Ira Baxter) writes:
>
>When I do a 'find / ...' with my MSDOS filesystem mounted, I
>invariably get some complaint about "Out of DOS Inodes".  There's
>nothing in TFM under tunable parameters for this, and I vaguely
>remember seeing something about adding "NDOSIDODES 500" to "stune".
>Anybody know the straight scoop?

The straight scoop (for 386/ix) is:

run /etc/kconfig
select "configure a kernel"
Select add tunable parameters
Specify NDOSINODE
Specify 500

It will tell you NDOSINODE is a new parameter and ask you for 
the minimum, maximum and default.

I used 200 1000 200, respectively.

Now it will work correctly.  However you will get an warning message on 
the compile of the kernel about NDOSINODE being re-defined.

You may ignore this, or if you hate to see any warning message from 
any compile (especially one from the kernel compile) you can do the
following:


Edit the /etc/conf/pack.d/dos/space.c and move the line

#define	NDOSINODE	200		/* DOS-FSS inodes array */

to be after the #include of config.h.  You should also add a #ifndef
NDOSINODE before that line and a #endif after it.

So that section of the file will now look like:

#define MINSCTRSHFT     9               /* Minimum sector shift */
#define MAXSCTRSHFT     10              /* Maximun sector shift */
#define	NDOSFILSYS	5		/* DOS-FSS superblocks array */

#include "config.h"	/* for overriding above parameters */

#ifndef NDOSINODE
#define	NDOSINODE	200		/* DOS-FSS inodes array */
#endif /* NDOSINODE */

unsigned char minsctrshft = MINSCTRSHFT;

Good luck
-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170