home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 2
/
crawlyvol2.bin
/
alt_os
/
mint
/
mfs6011
/
source
/
minixfs
/
config.h
< prev
next >
Wrap
Text File
|
1994-12-30
|
2KB
|
45 lines
/* User settable parameters */
/*#define MFS_NMOVE_DIR*/ /* no movement of directories (rename OK) */
/*#define LRDEBUG*/ /* debug lrecno */
/*#define BIGDIRTEST*/ /* debug big dir code */
#define SCACHE_SIZE 40 /* # blocks in built in system cache */
#define ICACHE_SIZE 40 /* # blocks in built in inode cache */
#define UCACHE_SIZE 40 /* # blocks in built in user cache */
#define PRE_READ 8 /* Max Number of blocks to 'read-ahead' */
#define CACHE_MODE TURBO /* Cache mode of operation */
#define TURBO 0 /* Only sync() thru update process */
#define NORMAL 1 /* sync() on all but writes */
#define ROBUST 2 /* sync() on everything ***slow*** */
/* uk: define this to let syncing be done by MiNT's sysupdate daemon
* through Sync() system call, set CACHE_MODE TURBO.
*/
#define SYSUPDATE
#define SYNC_TIME 5 /* sync time is seconds */
#define MAX_RWS 1024 /* Maximum sectors to read/write atomically */
#define MAX_INCREMENT 8 /* Determines max filename length */
/* Default translation modes ... change if desired */
#define TRANS_DEFAULT (SRCH_TOS | DIR_TOS | DIR_MNT | LWR_TOS | AEXEC_TOS )
/* Set this to be true if 'c' is an illegal character for a filename */
#define BADCHR(c) (c=='/')
/* Some unixes have something a bit stricter,uncomment out this if required */
/* #define BADCHR(c) ( (c=='/') || (c & 0x80) ) */
/* (or supply your own ) */
#define SYMLINK_NAME_MAX 127 /* Maximum size of symlink name */
#define MINIX_MAX_LINK 127 /* Max links to an inode *MUST* be < 256 */