Annotation of dmsdos/patches/cvf.c.README, revision 1.1.1.1

1.1       root        1: 
                      2: Update to CVF-FAT 1.1.0 or 1.2.0
                      3: --------------------------------
                      4: 
                      5: Today's kernels (currently means in time of Linux 2.2.2) use still CVF-FAT
                      6: interface version 1.0.0. That is a bit outdated (and known to have one minor
                      7: bug and some missing features).
                      8: 
                      9: Latest versions are:
                     10:    * CVF-FAT version 1.1.0 for 2.0.xx kernels
                     11:    * CVF-FAT version 1.2.0 for kernels 2.1.128 or newer (also 2.2.x)
                     12:    (The break between those two is somewhere between 2.1.94 and 2.1.128,
                     13:    exactly it should be when kerneld was replaced by kmod, but I have never
                     14:    verified that. Better use 2.0 or 2.2 kernels. :) )
                     15:    
                     16: Files:
                     17: 
                     18:    cvf.c:             CVF-FAT 1.1.0. For kernels that support kerneld.
                     19:    fat_cvf.txt:       Documentation for CVF-FAT 1.1.0 (in file cvf.c).
                     20: 
                     21:    cvf.c-2.1.128:     CVF-FAT 1.2.0. For newer kernels that support kmod 
                     22:                       instead of kerneld (including 2.2.x kernels).
                     23:    fat_cvf.txt-2.1.128: Documentation for CVF-FAT 1.2.0 (in file
                     24:                       cvf.c-2.1.128).
                     25: 
                     26: These files _replace_ the respective files in the kernel sources:
                     27: 
                     28:    linux/fs/fat/cvf.c
                     29:    linux/fs/Documentation/filesystems/fat_cvf.txt
                     30: 
                     31: The only difference between CVF-FAT 1.1.0 and 1.2.0 is that 1.2.0 has
                     32: been rewritten for kmod support which replaces kerneld in latest 2.1.xx
                     33: kernels (and also 2.2.x kernels). 
                     34: *** Be sure to use the right file for your kernel! You must check the
                     35:     kernel source or kernel documentation in order to find out whether 
                     36:     your kernel supports kerneld or kmod. At least, I know that all 2.0.xx 
                     37:     kernels support kerneld. Also, I checked that 2.1.128 uses kmod. Newer
                     38:     kernels also should support kmod. That's all I know. You're on your 
                     39:     own here to find that out. A kernel that supports kmod should have a
                     40:     file linux/Documentation/kmod.txt or similar, but I'm not 100% sure :)
                     41: 
                     42: Who should update
                     43: -----------------
                     44: 
                     45: If you are using CVF-FAT 1.0.0 or older you may want to update. Watch for a 
                     46: version number in file linux/fs/fat/cvf.c. There should be a line somewhere 
                     47: at the beginning of the file that reads "CVF-FAT-VERSION-ID: x.y.z" where 
                     48: "x.y.z" is the version number. If this line is missing you are using version 
                     49: 1.0.0 or older.
                     50: 
                     51: Why update
                     52: ----------
                     53: 
                     54: It fixes a bug that lets the mount command silently succeed if there is a
                     55: special kind of error. This bug sometimes caused the plain FAT driver to
                     56: mount a CVF in case of error with CVF-FAT support, which is surely not a
                     57: good idea :) 
                     58: 
                     59: Now 'mount' fails with an error message in that case.
                     60: 
                     61: Also the kerneld/kmod-autoload feature is now permanently in that file so you
                     62: do not have to apply it as a seperate patch. For latest 2.1.xx kernels,
                     63: where kerneld has been replaced by kmod, the kerneld-autoload support has
                     64: been rewritten to use kmod instead.
                     65: 
                     66: How to update
                     67: -------------
                     68: 
                     69: You can simply replace the old files with the new ones as listed above.
                     70: Then recompile your modules (or your kernel if fat support is not modular).

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.