| 1 |
frodo |
281 |
The Debian Package kernel-patch-fat-epoc |
| 2 |
|
|
------------------------------------------ |
| 3 |
|
|
|
| 4 |
|
|
***IMPORTANT*** |
| 5 |
|
|
This package is renamed kernel-patch-fat-epoc. The old package, called |
| 6 |
|
|
kernel-patch-fat-old, should not be used anymore. The mount option for |
| 7 |
|
|
2.6 kernels, previously called `oldfat' is renamed `epoc'. |
| 8 |
|
|
***IMPORTANT*** |
| 9 |
|
|
|
| 10 |
|
|
|
| 11 |
|
|
In the FAT standard the end of the directory file index is marked by 00. |
| 12 |
|
|
All entries after it should be ignored. The current FAT implementation |
| 13 |
|
|
ignores such marked entries, but continues scanning the directory. This |
| 14 |
|
|
is good enough for most FAT implementations, because they also mark all |
| 15 |
|
|
remaining entries after the last with a 00 byte. |
| 16 |
|
|
|
| 17 |
|
|
The filesystem implementation of EPOC 5 (and probably of newer versions |
| 18 |
|
|
of EPOC) does not clear old entries after the end of the directory file |
| 19 |
|
|
index. This means that without this patch, Linux will show old previously |
| 20 |
|
|
deleted or even never assigned entries. |
| 21 |
|
|
|
| 22 |
|
|
This patch will affect FAT-based filesystems. Examples are filesystems |
| 23 |
|
|
of the type `msdos' or `vfat'. |
| 24 |
|
|
|
| 25 |
|
|
The patch for 2.6 kernels is not active, unless you specify the epoc mount |
| 26 |
|
|
option. For example: |
| 27 |
|
|
mount /dev/sda1 /mnt/psion-epioc -t vfat -o epoc |
| 28 |
|
|
|
| 29 |
|
|
The patch for 2.4 kernels has some known issues. All FAT-based partitions |
| 30 |
|
|
will use the new policy; there is no mount option. In most cases it should |
| 31 |
|
|
work well enough; if you want to be completely safe, mount FAT-based |
| 32 |
|
|
partitions read-only. |
| 33 |
|
|
|
| 34 |
|
|
Install this package, and compile the kernel with the proper settings. |
| 35 |
|
|
For example: |
| 36 |
|
|
export PATCH_THE_KERNEL=YES |
| 37 |
|
|
make-kpkg clean |
| 38 |
|
|
make-kpkg binary |
| 39 |
|
|
make-kpkg modules_clean |
| 40 |
|
|
make-kpkg modules_image |
| 41 |
|
|
|
| 42 |
|
|
|
| 43 |
|
|
Frodo Looijaard <frodol@dds.nl>, Tue, 18 Mar 2003 14:53:06 +0100 |