This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open This is an old article about SCO Unix and is only left here for historical purposes. There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

My SCO Unix emergency floppies don't have enough inodes

The simplest change to this is to edit /usr/lib/mkdev/fd and increase the number of inodes created from the default. This may cause problems, though, as HTFS inodes consume 128 bytes each and a significant increase in the number of inodes would result in a significant drop in the number of data blocks available on the floppy.

A better change would be to eliminate unnecessary device nodes from your emergency floppy. Look for a line in /usr/lib/mkdev/fd which sets a variable called NOTREQ (which, roughly, is a list of device drivers not required on an emergency diskette). Add to that list
merge mpm spm svdsp svkbd vdsp vkbd mouse
If you don't need pseudottys on your emergency diskettes, you might also want to add spt mpt. There is also a bug in this file; change the item ptspwr to pts pwr (by adding a space), and you will cut out a few more unnecessary devices.

When editing /usr/lib/mkdev/fd, you should actually make a new copy (e.g. /usr/lib/mkdev/fd.new) and edit, and later use, that rather than /usr/lib/mkdev/fd. Otherwise, you may find your changes vanish at some time in the future.

Got something to add? Send me email.

(OLDER) <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> My emergency floppies don't have enough inodes (SCO Unix)

Increase ad revenue 50-250% with Ezoic

Kerio Samepage

Have you tried Searching this site?

Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

privacy policy