home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / alt_os / mint / mfs6011 / source / minixfs / config.h < prev    next >
Text File  |  1994-12-30  |  2KB  |  45 lines

  1. /* User settable parameters */
  2.  
  3. /*#define MFS_NMOVE_DIR*/    /* no movement of directories (rename OK) */
  4. /*#define LRDEBUG*/        /* debug lrecno */
  5. /*#define BIGDIRTEST*/        /* debug big dir code */
  6. #define SCACHE_SIZE    40    /* # blocks in built in system cache */
  7. #define ICACHE_SIZE    40    /* # blocks in built in inode cache */
  8. #define UCACHE_SIZE    40    /* # blocks in built in user cache */ 
  9.  
  10. #define PRE_READ    8    /* Max Number of blocks to 'read-ahead' */
  11.  
  12. #define CACHE_MODE    TURBO    /* Cache mode of operation */
  13. #define TURBO        0    /* Only sync() thru update process */
  14. #define NORMAL         1    /* sync() on all but writes */
  15. #define ROBUST        2    /* sync() on everything ***slow*** */
  16.  
  17. /* uk: define this to let syncing be done by MiNT's sysupdate daemon
  18.  *     through Sync() system call, set CACHE_MODE TURBO.
  19.  */
  20. #define SYSUPDATE
  21.  
  22. #define SYNC_TIME    5    /* sync time is seconds */
  23.  
  24. #define MAX_RWS        1024    /* Maximum sectors to read/write atomically */
  25.  
  26. #define MAX_INCREMENT    8    /* Determines max filename length */
  27.  
  28. /* Default translation modes ... change if desired */
  29. #define TRANS_DEFAULT    (SRCH_TOS | DIR_TOS | DIR_MNT | LWR_TOS | AEXEC_TOS )
  30.  
  31. /* Set this to be true if 'c' is an illegal character for a filename */
  32.  
  33. #define BADCHR(c)    (c=='/')
  34.  
  35. /* Some unixes have something a bit stricter,uncomment out this if required */
  36.  
  37. /* #define BADCHR(c) ( (c=='/') || (c & 0x80) ) */
  38.  
  39. /* (or supply your own ) */
  40.  
  41. #define SYMLINK_NAME_MAX 127    /* Maximum size of symlink name */
  42. #define MINIX_MAX_LINK    127    /* Max links to an inode *MUST* be < 256 */
  43.  
  44.  
  45.