blob: f434b4aa26f0d69f171d0782bd0f12f8ee45510f [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001[See Changelog for more recent changes]
2
32.5.1 29 Aug 1995
4
5Bug fixes to allow compiling and running on SINIX-D 5.41, thanks to
6Martin Kraemer <Martin.Kraemer@mch.sni.de>.
7
8-----------------------------------------------------------------------------
92.5 21 Aug 1995
10
11First public Alpha Test release of the newly rewritten Mtools.
12Summary of the many major changes:
13
14XDF support, ANSIfication, major restructuring, and debugging (Alain Knaff)
15VFAT support, new prompts for overwrites, and debugging (David Niemi)
16
17-----------------------------------------------------------------------------
18Patch #7alk ... 4 Dec 94
19
20This patch adds the following features:
21
22 1) mbadblocks program to mark bad blocks
23 2) uses fat_type field of boot block to find out the number
24 of fat bits.
25 3) is able to format hard disk partitions (untested)
26 4) sets _all_ standard fields in boot sector, even without 2m mode.
27 5) adds boot code to the boot sector (which transfers booting to
28 the hard drive. In most cases, that's what the user wants.)
29
30-----------------------------------------------------------------------------
31Patch #7alk ... 4 Nov 94
32
33This patch adds the following features:
34
35 1) Use even disk buffer size whenever possible to workaround a
36 bug in Linux blockdev code [???]
37 2) Clearer error message on failed sanity check
38 3) Removal of BOGUS Notes file
39
40-----------------------------------------------------------------------------
41Patch #7alk quinter, 2 Nov 94
42
43This patch adds the following features:
44
45 1) O_EXCL flag when opening the device to ensure it is not mounted
46 2) Sanity checks to avoid accessing non msdos disks
47Both features were suggested by Karl Eichwalder (ke@pertron.central.de)
48
49-----------------------------------------------------------------------------
50Patch #7alk quater, 1 Oct 94
51
52This patch adds the following features:
53
54 1) disk serial number support.
55 2) mcheck works for every drive.
56
57-----------------------------------------------------------------------------
58Patch #7alk ter, 10 Sep 94
59
60This patch adds the following features:
61
62 1) mformat works again.
63 2) mmount allows the user to pass arbitrary arguments to mount.
64 Floppy disks are no longer mounted by default on /mount/A /mount/B
65 etc.
66
67-----------------------------------------------------------------------------
68Patch #7alk bis, 18 jul 94
69
70This patch adds the following features:
71
72 1) Support for variable sector sizes.
73 2) Support for "2m" formats.
74 3) Support for formatting 16-bit fat disks.
75 4) Support for formatting ED disks (Their capacity is too big to
76 use a 12 bit FAT and 1 sector clusters. Either use bigger
77 clusters or a 16 bit FAT)
78 5) Mcopying from one DOS drive to another works now. (It used to
79 call mktemp on a non-writable string)
80
81-----------------------------------------------------------------------------
82Patch #7alk, 16 feb 94
83
84This patch adds the following features:
85
86 1) Mtools can now set the disk geometry on Linux. (Useful for
87 reading 1.72 Mb disks. This was already possible on unixpc and
88 SPARC )
89 2) New mmount command. Reads the boot sector, sets the geometry
90 and finally mounts the disk. Only available for Linux.
91 3) Mwrite can now write stdout to a DOS file: mwrite - a:test
92 4) Mread now also acts as mtype: mread a:test -
93 5) Mtools now tries 3 sources to get its drive geometry.
94 configuration: first ~/.mtoolsrc, then /etc/mtools, and finally
95 compiled-in. ( The two first are conditional on LOADDEVS being
96 defined ). LOADDEVS is now compatibles with the various geometry
97 setting routines (init_linux, init_sparc and init_unixpc).
98 6) Bug fixes for -t mode of mwrite and mread. ( For certain file sizes
99 the trailing DOS end-of-file character wasn't correctly written.)
100 7) Bug fixes for "drive probing code." (Now failure to lock onto a disk
101 causes always trial of the next configuration. Before, mtools used
102 to abort on certain cases). Similar fixes in mformat.
103 8) Optimization/bug fix of cluster/fat repartition in mformat.c
104 9) Made fat checking code optional. (1.72mb disks mformatted with old
105 mtools were almost always rejected) To bypass fat-checking set the
106 environment variable MTOOLS_FAT_COMPATIBILITY
107 10) Mtools now opens /dev/tty to ask for confirmation messages. This
108 way, it doesn't interfere with mreading/mwriting from/to stdin/stdout.
109
110
111CAUTION: I only tested this with Sparc and Linux. Although I left #ifdefs
112for other OS's in devices.c, that doesn't mean that it works on these OS's.
113
114-----------------------------------------------------------------------------
115Patch #7+, 19 sep 93
116
117This patch merges in the mods against 2.05 under Linux. Two are the main
118changes: that all commands are linked as a single executable, which can
119be linked as different name, and that the device specs are no longer
120hardcompiled but are read dynamically from /etc/mtools (the latter change
121is conditional on LOADDEVS being defined).
122
123-----------------------------------------------------------------------------
124Patch #7, 6 Sep 92
125
126This patch will change the method of determining if the FAT encoding
127scheme in the devices.c file is correct. The method introduced by patch
128#6 was naive and easily fooled.
129
130A pre-processor variable called CHK_FAT has been added to the fat_read.c
131file just in case this new method isn't appropriate for all disks.
132
133-----------------------------------------------------------------------------
134Patch #6, 21 Aug 92
135
136This patch will add the following features:
137
138 1) Mtools commands now use advisory locks to preclude two
139 processes from writing to the same DOS filesystem. You must
140 edit the Makefile to choose one of the 3 lock methods:
141 -DLOCKF, -DFLOCK, or -DFCNTL.
142 See the Configure file for more details.
143
144 2) An error detection routine has been added to determine if the
145 FAT encoding scheme in the devices.c file is correct.
146
147 3) Mtools commands now return exit codes with the following
148 meaning:
149 0 = success
150 1 = utter failure
151 2 = partial success/failure. (at least one successful
152 operation, but at least one failure)
153
154It also corrects a bug when Mtools is used on machines that have 16 bit
155integers. However, machines with 16 bit integers are limited to FAT
156tables that are less than 64k in length.
157-------------------------------------------------------------------------------
158Patch #5, 25 Aug 91
159
160This patch will add a few new features:
161
162 1) Mtools will now work properly on MSDOS partitions that are
163 greater than 32M.
164
165 2) If the "current working directory" information (contained in
166 the $HOME/.mcwd file) is more than 6 hours old, Mtools will
167 issue a warning and ignore the old information.
168
169 3) The mcopy command will now copy files between 2 MS-DOS file
170 systems (such as mcopy "a:*" b:).
171
172-------------------------------------------------------------------------------
173Patch #4, 11 Apr 91
174
175 This patch will fix a bug in the mmd command where directories
176 inherited the file name extension of the parent directory. It
177 also adds a feature that will allow the copying of zero length
178 files.
179
180-------------------------------------------------------------------------------
181Patch #3, 28 Nov 90
182
183 This patch will fix a bug where Mtools sometimes bypasses the
184 disk "cache" and reads/writes to the disk directly.
185
186-------------------------------------------------------------------------------
187Patch #2, 21 Nov 90
188
189 This patch will fix a bug in the folding of MS-DOS filenames to
190 lower case, and will fix a bug that could prevent the detection
191 of a full disk.
192
193-------------------------------------------------------------------------------
194Patch #1, 12 Oct 90
195
196 This patch will fix a few problems on Berkeley flavors of Unix,
197 and will fix the floating point exception bug when Mtools is
198 used with diskettes that have been formatted under very old DOS
199 (or formatted by some other non-DOS system).
200
201-------------------------------------------------------------------------------
202New in the v2.0 release....
203
204 1) Support for multiple devices. Mtools now supports:
205 multiple floppy disks (A:, B:, etc)
206 DOS partitions on a hard disk
207 DOS "images" such as those VP/ix uses.
208
209 2) Wildcards are supported anywhere in a pathname (not just
210 in the "filename" part as before)
211
212 3) Reads and writes to slow devices are now "cylinder buffered"
213 when appropriate.
214
215 4) Versions of CD, FORMAT, LABEL, and ATTRIB have been added.
216
217 5) A Mtools.1 manual page has been added for an overview of Mtools.
218
219 6) The mkmanifest command has been added. Although not an 'mtool'
220 command, it makes life easier when fixing up Unix filenames that
221 get clobbered by MS-DOS file name restrictions.
222
223 7) The mkdfs program of the "fast-mtools" release for the Sun
224 SparcStation can be replaced with mformat.
225
226 8) The Configure file has been included to help those who must add
227 devices to the devices.c file.
228
229 Many thanks to Viktor Dukhovni (viktor@math.princeton.edu) for
230 many of the ideas in the new release.