/[public]/fat-epoc/trunk/README
ViewVC logotype

Contents of /fat-epoc/trunk/README

Parent Directory Parent Directory | Revision Log Revision Log


Revision 285 - (show annotations)
Mon Nov 21 20:47:47 2005 UTC (18 years, 11 months ago) by frodo
File size: 3445 byte(s)
(Frodo) Added README and COPYING files, and a Makefile

1 ***IMPORTANT***
2 This package is renamed kernel-patch-fat-epoc. The old package, called
3 kernel-patch-fat-old, should not be used anymore. The mount option for
4 2.6 kernels, previously called `oldfat' is renamed `epoc'.
5 ***IMPORTANT***
6
7
8 Introduction
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(MX) (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-epoc -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
35 Applying the patches
36 --------------------
37
38 There are several patches included in this package:
39 fat-epoc-2.4.20.diff For any 2.4 kernel
40 fat-epoc-2.6.0.diff For 2.6.0 to 2.6.10 kernels
41 fat-epoc-2.6.11.diff For 2.6.11 kernels
42 fat-epoc-2.6.12.diff For 2.6.12 and newer kernels
43 Choose the patch that fits your kernel.
44
45 Now go to the kernel base directory (often called /usr/src/linux) and issue
46 the following command:
47 patch -p1 -E < PATCHFILE
48 If you want to see what will happen without applying the patch, try:
49 patch -p1 -E --dry-run < PATCHFILE
50 You may get a few messages about offsets; this is normal. But no fuzzy matches
51 should be reported, and certainly no rejects.
52
53 After this compile your kernel as usual.
54
55
56 Debian users
57 ------------
58
59 There is also a Debian version of this package. If you install it, and compile
60 your kernel "the Debian way", the right patch will be applied automatically.
61 Get it at the same place as this package (see Contact).
62
63
64 Contact and copyright
65 ---------------------
66
67 This package (kernel-package-fat-epoc or fat-epoc) is
68 copyright (c) 2003-2005 Frodo Looijaard <frodo@frodo.looijaard.name>
69
70 This program is free software; you can redistribute it and/or modify
71 it under the terms of the GNU General Public License as published by
72 the Free Software Foundation; either version 2 of the License, or
73 (at your option) any later version.
74
75 This program is distributed in the hope that it will be useful,
76 but WITHOUT ANY WARRANTY; without even the implied warranty of
77 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
78 GNU General Public License for more details.
79
80 You should have received a copy of the GNU General Public License
81 along with this program; if not, write to the Free Software
82 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
83
84 The GPL text can be found in the file COPYING.
85
86
87 The latest version of this package can be found on:
88 http://software.frodo.looijaard.name/fat-epoc/
89
90 Contact the author (Frodo Looijaard) by mailing to:
91 frodo@frodo.looijaard.name

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26