import source from 3.0.10
[external/dosfstools.git] / doc / ChangeLog.dosfstools-2.x
1 version 2.11
2 ============
3
4  - all: don't use own llseek() anymore, glibc lseek() does everything we need
5  - dosfsck: lfn.c: avoid segfault
6  - dosfsck: check.c, lfn.c: check for orphaned LFN slots
7  - dosfsck: check.c alloc_rootdir_entry(): set owner of newly alloced clusters
8  - dosfsck: dosfsck.h: better use <byteswap.h> for byte swapping
9  - dosfsck: io.c: added code for real DOS
10  - mkdosfs: raised FAT12_THRESHOLD from 4078 to 4085, introduced MIN_CLUST_32
11  - mkdosfs: fix loop device size
12  - mkdosfs: by default, use FAT32 on devices >= 512MB
13  - mkdosfs: fix a memory leak (blank_sector)
14  - mkdosfs: fix parsing of number of blocks on command line, so that numbers
15    >2G can be used
16  - mkdosfs: add 'b' to getopt() string so this option can be used :)
17  - mkdosfs: fix parsing of -i arg (should be unsigned)
18  - mkdosfs: change default permissions of created images (-C) to 0666 & ~umask
19  - mkdosfs: relax geometry check: if HDIO_GETGEO fails, print a warning and
20    default to H=255,S=63
21  - dosfsck: new option -n (no-op): just check non-interactively, but
22    don't write anything to filesystem
23  - A few #include changes to support compilation with linux 2.6
24    headers (thanks to Jim Gifford <jim@jg555.com>)
25  - dosfsck: remove directory entries pointing to start cluster 0, if they're
26    not "." or ".." entries that should actually point to the root dir
27    (pointed out by Thomas Winkler <twinkler@sysgo.de>)
28  - mkdosfs: new option -h to set number of hidden sectors
29    (thanks to Godwin Stewart <gstewart@spamcop.net>)
30  - all: updated my mail address everywhere...
31
32 version 2.10
33 ============
34
35  - dosfsck: various 64-bit fixes and removed some warnings by Michal
36    Cihar <mcihar@suse.cz>
37  - mkdosfs: better error message if called without parameters (also
38    suggested by Michal)
39
40 version 2.9
41 ===========
42
43  - dosfsck: if EOF from stdin, exit with error code
44  - dosfsck: Fix potential for "Internal error: next_cluster on bad cluster".
45  - dosfsck: When clearing long file names, don't overwrite the dir
46    entries with all zeros, but put 0xe5 into the first byte.
47    Otherwise, some OSes stop reading the directory at that point...
48  - dosfsck: in statistics printed by -v, fix 32bit overflow in number
49    of data bytes.
50  - dosfsck: fix an potential overflow in "too many clusters" check
51  - dosfsck: fix 64bit problem in fat.c (Debian bug #152769)
52  - dosfsck: allow FAT size > 32MB.
53  - dosfsck: allow for only one FAT
54  - dosfsck: with -v, also check that last sector of the filesystem can
55    be read (in case a partition is smaller than the fs thinks)
56  - mkdosfs: add note in manpage that creating bootable filesystems is
57    not supported.
58  - mkdosfs: better error message with pointer to -I if target is a
59    full-disk device.
60
61 version 2.8
62 ===========
63
64  - dosfsck: Fixed endless loop whenever a volume label was present.
65
66 version 2.7
67 ===========
68
69  - dosfsck: Don't check volume label for bad characters, everything
70    seems to be allowed there... Also ignore duplicate names where one of
71    them is a volume label.
72
73 version 2.6
74 ===========
75
76  - mkdosfs: Added correct heads definition for 2.88M floppies if not
77    created via loopback.
78  - dosfsck: If boot sector and its backup are different (FAT32), offer
79    to write the backup to sector 0. (tnx to Pavel Roskin for this)
80  - For 64 bit alpha, struct bootsector in dosfsck.h must be defined
81    with __attribute__((packed)).
82  - mkdosfs now actually accepts -R option. (tnx to David Kerrawn)
83  - Fixed typo in dosfsck boot.c (recognition of boot signature in FSINFO)
84  - Various compilation fixes for 2.4 kernel headers and for ia64.
85
86 version 2.5
87 ===========
88
89  - The llseek() implementation for alpha didn't really work; fixed it.
90
91 version 2.4
92 ===========
93
94  - Fix compiling problem on alpha (made a silly typo...)
95
96 version 2.3
97 ===========
98
99  - mkdosfs: Fixed usage message (printed only "bad address").
100  - both: made man pages and usage statements more consistent.
101  - both: fix llseek function for alpha.
102  - dosfsck: fix reading of unaligned fields in boot sector for alpha.
103  - dosfsck: fixed renaming of files (extension wasn't really written).
104
105 version 2.2
106 ===========
107
108  - Added dosfsck/COPYING, putting dosfsck officially under GPL (Werner
109    and I agree that it should be GPL).
110  - mkdosfs: Allow creation of a 16 bit FAT on filesystems that are too
111    small for it if the user explicitly selected FAT16 (but a warning
112    is printed). Formerly, you got the misleading error message "make
113    the fs a bit smaller".
114  - dosfsck: new option -y as synonym for -y; for compability with
115    other fs checkers, which also accept this option.
116  - dosfsck: Now prints messages similar to e2fsck: at start version
117    and feature list; at end number of files (and directories) and
118    number of used/total clusters. This makes the printouts of *fsck at
119    boot time nicer.
120  - dosfsck: -a (auto repair) now turns on -f (salvage files), too. -a
121    should act as non-destructive as possible, so lost clusters should
122    be assigned to files. Otherwise the data in them might be
123    overwritten later.
124  - dosfsck: Don't drop a directory with lots of bad entries in
125    auto-repair mode for the same reason as above.
126  - dosfsck: avoid deleting the whole FAT32 root dir if something is
127    wrong with it (bad start cluster or the like).
128  - general: also create symlinks {mkfs,fsck}.vfat.8 to the respective
129    real man pages.
130
131 version 2.1
132 ===========
133
134  - Fix some forgotten loff_t's for filesystems > 4GB. (Thanks to
135    <ki@kretz.co.at>).
136  - Fix typo in mkdosfs manpage.
137  - Removed inclusion of <linux/loop.h> from mkdosfs.c; it's unnecessary and
138    caused problems in some environments.
139  - Fix condition when to expect . and .. entries in a directory. (Was
140    wrong for non-FAT32 if first entry in root dir was a directory also.)
141  - Also create mkfs.vfat and fsck.vfat symlinks, so that also
142    filesystems listed with type "vfat" in /etc/fstab can be
143    automatically checked.
144
145 version 2.0
146 ===========
147
148  - merge of mkdosfs and dosfstools in one package
149  - new maintainer: Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
150  - FAT32 support in both mkdosfs and dosfsck
151  - VFAT (long filename) support in dosfsck
152  - Support for Atari variant of MS-DOS filesystem in both tools
153  - Working support for big-endian systems in both tools
154  - Better support for loop devices in mkdosfs: usual floppy sizes are
155    detected and media byte etc. set accordingly; if loop fs has no
156    standard floppy size, use hd params
157    (mainly by Giuliano Procida <gpp10@cus.cam.ac.uk>)
158  - Removed lots of gcc warnings
159  - Fixed some minor calculation bugs in mkdosfs.
160
161 For change logs previous to 2.0, see the CHANGES files in the subdirectories.