I don't really remember where if found this patch, i came accross it somewhere in 1999, its written by Bill Dorsey and Bill Soley. This is the patch you will need if you want to run CFS (Cryptographic File System) on Solaris 7 or later (verified on Solaris 8 and Solaris 7). If you want more information about Sun Microsystems CFS (As in Cache FS) you should take a look at http://docs.sun.com, they have everything you need. ----------------------------------------------------------------------------- *** cfs_fh.c Thu Dec 18 16:53:04 1997 --- cfs_fh.c.sol7 Tue Nov 17 01:23:17 1998 *************** *** 479,485 **** --- 479,489 ---- if (f==NULL) return 1; if (f->fileid == 0) /* an instance root */ + #ifndef SOLARIS2X return (0-f->ins->id); /* should be unique enough */ + #else + return (0x80000000-f->ins->id); /* workaround for 64-bit fs */ + #endif return (f->fileid); } *************** *** 493,499 **** --- 497,507 ---- if (f->fileid==0) return 1; else + #ifndef SOLARIS2X return (0-f->ins->id); + #else + return (0x80000000-f->ins->id); /* workaround */ + #endif return f->parent; /* this is already 2 for main root */ } *************** *** 1164,1170 **** --- 1172,1182 ---- else strcpy(d.d_name, instances[cookie-2]->name); + #ifndef SOLARIS2X d.d_fileno=(0-(cookie-2)); + #else + d.d_fileno=(0x80000000-(cookie-2)); /* workaround */ + #endif break; } ++cookie;