Imported Upstream version 3.0.26
[platform/upstream/dosfstools.git] / ChangeLog
1 commit 6893c45 (HEAD, origin/master, origin/HEAD, master)
2 Author: Dir Lotter <dirk.lotter@siemens.com>
3 Date:   Fri Mar 7 18:25:39 2014 +0100
4
5     Fix "odd" files created by frequent power-loss.
6     
7     After running many power losses the filesystem can degrate, containing "odd"
8     files making the filesystem corrupt that could not be solved by fsck:
9     
10       * file was not visible in a ls -l
11       * ls -i reported a "invalid file name" on the console
12       * a test program with diropen/dirread showed the file, a stat on this file
13         failed
14       * file was not accessible and could not be deleted
15     
16     After digging into the code we found why fsck didn't repair the file system:
17     One thing was we don't have short filenames. Another issue was that the LFN
18     pointer was set to NULL and so it looked like we didn't have short and long
19     filenames.
20     
21     Our patch of check.c includes:
22     
23       * returns 1 from function bad_name() in case no short and no long filename
24         exist
25       * auto_rename() and rename_file() got a special handling for the case no short
26         file name exist:
27         - it enables the short file name (we think here was a weakness of the old
28           code: it changed the short filename but didn't enabled it in the
29           file->dir_ent.lcase entry)
30         - it reset all attributes except ATTR_DIR and ATTR_VOLUME
31     
32     This solved our problem pretty well.
33     
34     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
35
36 commit 621e11f
37 Author: Natanael Copa <ncopa@alpinelinux.org>
38 Date:   Sat Feb 8 18:53:30 2014 +0100
39
40     Build fixes for musl libc.
41     
42     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
43
44 commit 52588b7 (tag: v3.0.25)
45 Author: Daniel Baumann <mail@daniel-baumann.ch>
46 Date:   Fri Jan 17 07:11:11 2014 +0100
47
48     Releasing version 3.0.25.
49     
50     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
51
52 commit acf64ae
53 Author: Daniel Baumann <mail@daniel-baumann.ch>
54 Date:   Fri Jan 17 07:09:54 2014 +0100
55
56     Updating copyright headers for 2014.
57     
58     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
59
60 commit 21fe921
61 Author: Andrew Tridgell <tridge@samba.org>
62 Date:   Tue Jan 14 09:37:51 2014 +1100
63
64     Fixed remaining 64 bit build warnings.
65     
66     Some of these may be real bugs.
67     
68     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
69
70 commit 9e3a2b1
71 Author: Andrew Tridgell <tridge@samba.org>
72 Date:   Tue Jan 14 09:25:28 2014 +1100
73
74     Prevent corruption of FAT during fsck on 64 bit platforms.
75     
76     unsigned long is 64 bit on x86-64, which means set_fat was writing two
77     entries, which corrupts the next entry. This can cause loss of data in
78     another file.
79     
80     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
81
82 commit 0d2c9bc (tag: v3.0.24)
83 Author: Daniel Baumann <mail@daniel-baumann.ch>
84 Date:   Sat Nov 23 10:36:55 2013 +0100
85
86     Releasing version 3.0.24.
87     
88     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
89
90 commit 55bd7b7
91 Author: Jaroslav Skarvada <jskarvad@redhat.com>
92 Date:   Sat Nov 23 10:34:48 2013 +0100
93
94     Fixed dosfsck on big endian platforms (Resolves: rhbz#1029695).
95     
96     It seems there is problem in the double conversion on big endians.
97     The first conversion is done by the explicit conversion to __u16
98     in the GET_UNALIGNED_W macro, so the secondary conversion by le16toh
99     seems to be redundant (and wrong).
100     
101     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
102
103 commit 6debb4a (tag: v3.0.23)
104 Author: Daniel Baumann <mail@daniel-baumann.ch>
105 Date:   Tue Oct 15 08:05:46 2013 +0200
106
107     Releasing version 3.0.23.
108     
109     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
110
111 commit 07d85ff
112 Author: Daniel Baumann <mail@daniel-baumann.ch>
113 Date:   Tue Oct 15 08:04:11 2013 +0200
114
115     Reformating mkfs.fat manpage.
116     
117     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
118
119 commit 137552f
120 Author: Michael Shigorin <mike@altlinux.org>
121 Date:   Tue Oct 15 01:29:33 2013 +0400
122
123     Fixing "Fixing default sectors per cluster for FAT32" for UEFI.
124     
125     FAT32 "EFI System Partition" is basically required for UEFI boot;
126     commit ge048a8d broke that for me with both virtualbox-4.2 and
127     real hardware (ASUS C60M1-I to be exact) given ~250Mb filesystem.
128     
129     This commit amends that one by reverting its effects for these
130     small sizes by restoring 512b cluster size for <= 260Mb FAT32.
131     
132     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
133
134 commit 2000696
135 Author: Daniel Baumann <mail@daniel-baumann.ch>
136 Date:   Fri Aug 9 09:38:13 2013 +0200
137
138     Also allowing lowercase labels in mkfs (with warning message) consistent with the recent fsck change, thanks to Michael Baum <mbaum@devonit.com>.
139     
140     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
141
142 commit 9b04807
143 Author: Tim Harder <radhermit@gentoo.org>
144 Date:   Fri Jul 19 18:15:21 2013 +0200
145
146     Add install-man dependency to install-symlinks Makefile target.
147     
148     This fixes a race condition during parallel installs where man page
149     symlinks won't be installed because install-man hasn't been run yet.
150     
151     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
152
153 commit 651f91c (tag: v3.0.22)
154 Author: Daniel Baumann <mail@daniel-baumann.ch>
155 Date:   Fri Jul 19 07:01:19 2013 +0200
156
157     Releasing version 3.0.22.
158     
159     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
160
161 commit 3dc5560
162 Author: Daniel Baumann <mail@daniel-baumann.ch>
163 Date:   Fri Jul 19 06:55:24 2013 +0200
164
165     Addding install-symlinks target to phony targets in Makefile.
166     
167     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
168
169 commit c6c0581
170 Author: Daniel Baumann <mail@daniel-baumann.ch>
171 Date:   Fri Jul 19 06:55:00 2013 +0200
172
173     Adding uninstall-symlinks target in Makefile.
174     
175     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
176
177 commit 465dd8c
178 Author: Daniel Baumann <mail@daniel-baumann.ch>
179 Date:   Fri Jul 19 06:45:40 2013 +0200
180
181     Allowing fatlabel to write labels in all lowercase but give a warning about DOS/Windows (Closes: #714971).
182     
183     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
184
185 commit 3621b30
186 Author: John S Gruber <JohnSGruber@gmail.com>
187 Date:   Fri Jul 19 06:40:21 2013 +0200
188
189     Add options and make dos boot sector more compatible with reference system (Closes: #552673).
190     
191     Unless overridden by the user sets the DOS boot sector's
192     hidden-sectors field to match the start of a hard disk's
193     partition.
194     
195     Initialize DOS boot sector drive_number according to FAT media type
196     Addresses LP: #398241 and Debian #552673
197     
198     Adds options to override the DOS boot sector device_number and
199     the FAT media type.
200     
201     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
202
203 commit be1eed5
204 Author: Daniel Baumann <mail@daniel-baumann.ch>
205 Date:   Wed Jul 17 12:52:20 2013 +0200
206
207     Correcting wrong check preventing installation of fatlabel legacy manpage symlink.
208     
209     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
210
211 commit d0065d3 (tag: v3.0.21)
212 Author: Daniel Baumann <mail@daniel-baumann.ch>
213 Date:   Tue Jul 16 08:34:28 2013 +0200
214
215     Releasing version 3.0.21.
216     
217     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
218
219 commit a74c12c
220 Author: Jaroslav Skarvada <jskarvad@redhat.com>
221 Date:   Tue Jun 25 14:53:14 2013 +0200
222
223     Adding the missing -p option to the fsck manpage (to be consistent with the output of the tool).
224     
225     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
226
227 commit 25e03c9
228 Author: Patrick J. Volkerding <volkerdi@slackware.com>
229 Date:   Mon Jun 24 14:23:00 2013 +0200
230
231     Using $MANDIR instead of hardcoded ${PREFIX}/share/man in the Makefile.
232     
233     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
234
235 commit 7fd9cf7
236 Author: Daniel Baumann <mail@daniel-baumann.ch>
237 Date:   Fri Jun 14 18:50:31 2013 +0200
238
239     Making install-symlinks Makefile target depend on install-bin to not break when using make in parallel, thanks to David Walser <luigiwalser@yahoo.com>.
240     
241     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
242
243 commit a76bbcd
244 Author: Daniel Baumann <mail@daniel-baumann.ch>
245 Date:   Wed Jun 12 13:00:10 2013 +0200
246
247     Using US digit date format in version date, rather than name abbrev.
248     
249     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
250
251 commit a64195f (tag: v3.0.20)
252 Author: Daniel Baumann <mail@daniel-baumann.ch>
253 Date:   Wed Jun 12 12:25:32 2013 +0200
254
255     Releasing version 3.0.20.
256     
257     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
258
259 commit 1a5d99f
260 Author: Daniel Baumann <mail@daniel-baumann.ch>
261 Date:   Wed Jun 12 12:07:58 2013 +0200
262
263     Softening message about different boot sectors a bit (Closes: #704198).
264     
265     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
266
267 commit 4727286
268 Author: Daniel Baumann <mail@daniel-baumann.ch>
269 Date:   Wed Jun 12 11:42:52 2013 +0200
270
271     Harmonizing program name output.
272     
273     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
274
275 commit 17c956c
276 Author: Martin Wilck <mwilck@arcor.de>
277 Date:   Wed Jun 12 11:38:00 2013 +0200
278
279     Don't align FAT to cluster size.
280     
281     See previous patch for explanation.
282     
283     With this patch and the previous two, the
284     mkdosfs generated FAT32 file systems work well in my extremely
285     picky TechniSat device. Of course, they're also detected cleanly
286     by Linux and Windows.
287     
288     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
289
290 commit d63e0d6
291 Author: Martin Wilck <mwilck@arcor.de>
292 Date:   Wed Jun 12 11:36:08 2013 +0200
293
294     Don't align FAT32 reserved sectors to cluster size.
295     
296     For certain file system sizes (in particular, exact GB sizes -
297     don't ask me why) a Technisat HD S2 Plus DVB receiver will still
298     choke on mkdosfs generated file systems, even if the sectors per
299     cluster problem is fixed.
300     
301     By comparing the properties of generated FAT32 FS with results
302     of the Windows tool "h2format" (www.heise.de/download/h2format.html),
303     I found that the remaining problems were caused by rounding of the
304     reserved sectors and FAT space to cluster size (the h2format tool
305     doesn't do this).
306     
307     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
308
309 commit e048a8d
310 Author: Martin Wilck <mwilck@arcor.de>
311 Date:   Wed Jun 12 11:33:33 2013 +0200
312
313     Fixing default sectors per cluster for FAT32 (Closes: #690062).
314     
315     The default sectors per cluster calculated by mkdosfs are outdated,
316     see http://technet.microsoft.com/en-us/library/cc938438.aspx.
317     
318     The deviations may cause some 3rd party devices (e.g. TechniSat DVB
319     receivers) to hang when reading mkdosfs generated file systems.
320     
321     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
322
323 commit 86509aa
324 Author: Daniel Baumann <mail@daniel-baumann.ch>
325 Date:   Tue Jun 11 20:19:09 2013 +0200
326
327     Splitting out legacy symlink creation in toplevel Makefile to own target.
328     
329     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
330
331 commit da37dd1
332 Author: Daniel Baumann <mail@daniel-baumann.ch>
333 Date:   Wed Jun 12 11:29:12 2013 +0200
334
335     Correcting wrong toolname in fsck.fat.
336     
337     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
338
339 commit b29a722
340 Author: Daniel Baumann <mail@daniel-baumann.ch>
341 Date:   Tue Jun 11 19:51:47 2013 +0200
342
343     Consistently spelling filesystem as filesystem, and not file system.
344     
345     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
346
347 commit 977d7aa
348 Author: Daniel Baumann <mail@daniel-baumann.ch>
349 Date:   Tue Jun 11 19:30:19 2013 +0200
350
351     Removing Debian reference in GPL license headers.
352     
353     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
354
355 commit 5505cc2 (tag: v3.0.19)
356 Author: Daniel Baumann <mail@daniel-baumann.ch>
357 Date:   Tue Jun 11 18:46:03 2013 +0200
358
359     Releasing version 3.0.19.
360     
361     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
362
363 commit 2c88f35
364 Author: Daniel Baumann <mail@daniel-baumann.ch>
365 Date:   Tue Jun 11 18:44:50 2013 +0200
366
367     Running indent on source files.
368     
369     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
370
371 commit d495d43
372 Author: Daniel Baumann <mail@daniel-baumann.ch>
373 Date:   Tue Jun 11 18:41:41 2013 +0200
374
375     Using memcpy instead of strcpy to fix segfault with fortify, thanks to Dave Reisner <falconindy@jabber.org>.
376     
377     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
378
379 commit 9fb4ffc
380 Author: Daniel Baumann <mail@daniel-baumann.ch>
381 Date:   Sun Jun 9 13:17:16 2013 +0200
382
383     Correcting fsck.fat spelling error in manpages, thanks to E.J.M. Hartman <E.J.M.Hartman@tudelft.nl>.
384     
385     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
386
387 commit 2d8ef9b (tag: v3.0.18)
388 Author: Daniel Baumann <mail@daniel-baumann.ch>
389 Date:   Thu Jun 6 09:49:00 2013 +0200
390
391     Releasing version 3.0.18.
392     
393     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
394
395 commit d4e1180
396 Author: Daniel Baumann <mail@daniel-baumann.ch>
397 Date:   Thu Jun 6 09:38:45 2013 +0200
398
399     Adding initial i18n support for manpages with po4a.
400     
401     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
402
403 commit ea8f712
404 Author: Daniel Baumann <mail@daniel-baumann.ch>
405 Date:   Thu Jun 6 09:17:13 2013 +0200
406
407     Renaming tools to sane namespace and keeping legacy symlinks in place.
408     
409     dosfslabel becomes fatlabel,
410     dosfsck becomes fsck.fat,
411     and mkdosfs becomes mkfs.fat.
412     
413     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
414
415 commit a42b127
416 Author: Daniel Baumann <mail@daniel-baumann.ch>
417 Date:   Wed Jun 5 07:12:03 2013 +0200
418
419     Correcting wrong spelling of Debian in mkdosfs manpage.
420     
421     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
422
423 commit 2749084
424 Author: Daniel Baumann <mail@daniel-baumann.ch>
425 Date:   Wed Jun 5 07:10:50 2013 +0200
426
427     Correcting spelling typo in boot.c.
428     
429     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
430
431 commit 6461c83
432 Author: Martin Pitt <martinpitt@gnome.org>
433 Date:   Fri May 24 09:35:44 2013 +0200
434
435     dosfslabel: Do not read beyond string length (Closes: #709587).
436     
437     When checking whether the label contains any lower-case characters, do not read
438     beyond the end of the string.
439     
440     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
441
442 commit 4203a90 (tag: v3.0.17)
443 Author: Daniel Baumann <mail@daniel-baumann.ch>
444 Date:   Wed May 29 10:14:09 2013 +0200
445
446     Releasing version 3.0.17.
447     
448     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
449
450 commit 3aa88ed
451 Author: Daniel Baumann <mail@daniel-baumann.ch>
452 Date:   Wed May 29 09:48:24 2013 +0200
453
454     Updating maximal lenght of a label in manpage to talk about bytes instead of characters, thanks to Francois Wendling <frwendling@gmail.com> (Closes: #655953).
455     
456     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
457
458 commit 0916f8a
459 Author: Jaroslav Skarvada <jskarvad@redhat.com>
460 Date:   Wed May 29 09:56:08 2013 +0200
461
462     Fixing segfault in dosfslabel.
463     
464     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
465
466 commit 4a265c6
467 Author: James Byrne <jbyrne@aminocom.com>
468 Date:   Mon Apr 22 12:29:51 2013 +0100
469
470     Allow operation on SH4 CPUs and remove compiler warnings.
471     
472     Simplify the GET_UNALIGNED_W macro and use it in all cases instead of making it
473     conditional on CPU types. This missed some CPUs that needed it (e.g. SH4), and
474     in any case the implementation caused "dereferencing type-punned pointer will
475     break strict-aliasing rules" warnings.
476     
477     Enable extra warnings, but disable signed comparison and missing field
478     initializer warnings as these are not helpful.
479     
480     Update write_boot_label() so that the boot_sector_16 and boot_sector cases are
481     handled separately instead of using an aliased pointer, as that causes
482     "dereferencing type-punned pointer will break strict-aliasing rules" warnings.
483     
484     Make date_dos2unix(), usage() and cdiv() static functions as they are only used
485     in the files in which they are declared.
486     
487     Update bad_name() and lfn_get() so that the extension is processed separately
488     instead of by indexing past the end of the name field as that causes "array
489     subscript is above array bounds" warnings.
490     
491     Update the dosfsck() main function to avoid a warning that free_clusters may
492     be used uninitialized. Do not print the final count of files and clusters when
493     dosfsck is run with the "-b" option because the used files and clusters have
494     not been counted in this case.
495     
496     Alter the setup_tables() function so that it does not cause an "array subscript
497     is below array bounds" warning.
498     
499     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
500
501 commit eb68a14
502 Author: James Byrne <jbyrne@aminocom.com>
503 Date:   Mon Apr 22 13:32:01 2013 +0100
504
505     Add a .gitignore file.
506     
507     Add a .gitignore file so that the results of compilation do not appear as
508     changes.
509     
510     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
511
512 commit 336e8f1
513 Author: James Byrne <jbyrne@aminocom.com>
514 Date:   Mon Apr 22 12:38:52 2013 +0100
515
516     Finish cleanup of byteswap code.
517     
518     Commit 9ba8992 left three references to the old CT_LE_W macro.
519     Remove these since no conversion was needed as the value being
520     converted was zero.
521     
522     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
523
524 commit 64b6227
525 Author: Daniel Baumann <mail@daniel-baumann.ch>
526 Date:   Thu Apr 4 08:08:00 2013 +0200
527
528     Shortening links to upstream homepage.
529     
530     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
531
532 commit 76304be
533 Author: Cristian Rodríguez <crrodriguez@opensuse.org>
534 Date:   Fri Mar 1 08:23:34 2013 +0100
535
536     Fix offsetof definition.
537     
538       * include stddef.h to get the correct offsetof definition.
539       * remove local offsetof definition, systems not having it on stddef.h
540         are in violation of C89, C99, POSIX.1-2001.
541     
542     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
543
544 commit 9ba8992
545 Author: Cristian Rodríguez <crrodriguez@opensuse.org>
546 Date:   Fri Mar 1 08:58:36 2013 +0100
547
548     Cleanup byteswap code.
549     
550     Remove all duplicate macro definitions for byteswapping routines
551     and replace them for proper usage of userspace endian(3).
552     
553     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
554
555 commit 8733e12 (tag: v3.0.16)
556 Author: Daniel Baumann <mail@daniel-baumann.ch>
557 Date:   Wed May 29 10:06:01 2013 +0200
558
559     Releasing version 3.0.16.
560     
561     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
562
563 commit a9fa87e
564 Author: Petr Gajdos <pgajdos@suse.cz>
565 Date:   Fri Mar 1 08:34:12 2013 +0100
566
567     Create rootdir entry volume label with mkdosfs, create it when
568     it doesn't exist with dosfslabel.
569     
570     See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
571     for more information.
572     
573     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
574
575 commit 92057f1
576 Author: Petr Gajdos <pgajdos@suse.cz>
577 Date:   Fri Mar 1 08:33:18 2013 +0100
578
579     Forbid lowercase letters in label.
580     
581     See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
582     http://support.microsoft.com/kb/71715/en-us for more information.
583     
584     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
585
586 commit 5e265c4
587 Author: Petr Gajdos <pgajdos@suse.cz>
588 Date:   Fri Mar 1 08:32:02 2013 +0100
589
590     Read label also from rootdir entry.
591     
592     See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
593     for more information.
594     
595     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
596
597 commit 5cec53c
598 Author: Petr Gajdos <pgajdos@suse.cz>
599 Date:   Fri Mar 1 08:30:21 2013 +0100
600
601     alloc_rootdir_entry() is intended to be called with pattern == "FSCK%04dREC",
602     the old code (probably c&p from auto_rename()) doesn't reflect this.
603     
604     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
605
606 commit 63938f0
607 Author: Petr Gajdos <pgajdos@suse.cz>
608 Date:   Fri Mar 1 08:29:00 2013 +0100
609
610     Instead of eleven blanks, fill in "NO NAME    " as specification tells.
611     
612     See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
613     http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html for more information.
614     
615     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
616
617 commit 10c1c41
618 Author: Petr Gajdos <pgajdos@suse.cz>
619 Date:   Fri Mar 1 08:58:15 2013 +0100
620
621     Write uppercase letters in label.
622     
623     See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
624     http://support.microsoft.com/kb/71715/en-us for more information.
625     
626     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
627
628 commit a75fb1c (tag: v3.0.15)
629 Author: Daniel Baumann <mail@daniel-baumann.ch>
630 Date:   Thu Feb 21 15:06:52 2013 +0100
631
632     Releasing version 3.0.15.
633     
634     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
635
636 commit c8f84fd
637 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
638 Date:   Mon Feb 4 00:22:34 2013 +0400
639
640     Using wcstombs() to convert LFN unicode characters to printable text.
641     
642     This closes Debian bug #596336.
643     
644     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
645
646 commit 1546545
647 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
648 Date:   Sun Sep 5 18:59:47 2010 +0400
649
650     Recode short filenames from DOS codepage (default 437).
651     
652     Recode short filenames from DOS codepage (default 437) to the current
653     character encoding. This makes messages of dosfsck more readable.
654     Partially closes Debian bug #596336.
655     
656     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
657
658 commit ad76cae
659 Author: Jaroslav Skarvada <jskarvad@redhat.com>
660 Date:   Thu Feb 21 14:40:52 2013 +0100
661
662     Fixing root directory allocation.
663     
664     See https://bugzilla.redhat.com/show_bug.cgi?id=674095 for more information.
665     
666     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
667
668 commit b8201b3
669 Author: Jaroslav Skarvada <jskarvad@redhat.com>
670 Date:   Thu Feb 21 14:40:25 2013 +0100
671
672     Fixing device detection.
673     
674     See https://bugzilla.redhat.com/show_bug.cgi?id=710480 for more information.
675     
676     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
677
678 commit 7a75638 (tag: v3.0.14)
679 Author: Daniel Baumann <mail@daniel-baumann.ch>
680 Date:   Wed Jan 23 13:22:01 2013 +0100
681
682     Releasing version 3.0.14.
683     
684     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
685
686 commit 5bdd7ef
687 Author: Daniel Baumann <mail@daniel-baumann.ch>
688 Date:   Wed Jan 23 13:16:20 2013 +0100
689
690     Documenting dosfsck -b in its manpage.
691     
692     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
693
694 commit a307be2
695 Author: Oleksij Rempel <bug-track@fisher-privat.net>
696 Date:   Wed Jan 23 12:36:56 2013 +0100
697
698     Adding option for bootsector read-only check.
699     
700     Most boot sectors may contains marker for filesystem state. We can this
701     bit on every mount and warn user if some thing wrong, without checking
702     complete filesystem.
703     
704     Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
705     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
706
707 commit ce2f8dc
708 Author: Oleksij Rempel <bug-track@fisher-privat.net>
709 Date:   Wed Jan 23 12:35:13 2013 +0100
710
711     Checking boot sector for dirty bit.
712     
713     Some OSos use reseved byte of boot sector to set state of the file
714     system. If first bit set, then filesystem is proably damaged - write
715     operation was not finished/cache not snycted/...
716     
717     Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
718     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
719
720 commit f33ee8c
721 Author: Daniel Baumann <mail@daniel-baumann.ch>
722 Date:   Wed Jan 23 12:25:59 2013 +0100
723
724     Completing and updating all copyright headers for 2013.
725     
726     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
727
728 commit bfe6d25
729 Author: Daniel Baumann <mail@daniel-baumann.ch>
730 Date:   Wed Jan 23 12:17:20 2013 +0100
731
732     Updating my email address.
733     
734     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
735
736 commit 13cdb4d (tag: v3.0.13)
737 Author: Daniel Baumann <mail@daniel-baumann.ch>
738 Date:   Sat Jun 30 19:10:44 2012 +0200
739
740     Releasing version 3.0.13.
741     
742     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
743
744 commit d039482
745 Author: Jaroslav Å karvada <jskarvad@redhat.com>
746 Date:   Sat Jun 30 19:09:11 2012 +0200
747
748     Fix 'dosfslabel throws "Seek to 114116076544:Invalid argument" error when labeling'.
749     
750     See https://bugzilla.redhat.com/show_bug.cgi?id=693662 for more information.
751     
752     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
753
754 commit e243612 (tag: v3.0.12)
755 Author: Daniel Baumann <mail@daniel-baumann.ch>
756 Date:   Sat Oct 29 08:40:53 2011 +0200
757
758     Releasing version 3.0.12.
759     
760     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
761
762 commit 025b4f0
763 Author: Michael Casadevall <mcasadevall@ubuntu.com>
764 Date:   Tue Jun 7 19:19:30 2011 +0200
765
766     Correcting miscalculation of sector number in some cases.
767     
768     mkdosfs will incorrectly calculate the number of sectors of a
769     given FAT partition if the number sectors are odd due to
770     count_blocks incorrectly handling the remainder of a division
771     operation. This miscalculation causes the OMAP4 bootloader to
772     fail to boot.
773     
774     This bug can be observed by comparing the total sector size in
775     fdisk expert more to fsck.msdos; this discrepancy only shows up
776     when the number of sectors are odd.
777     
778     See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043
779     for more information.
780     
781     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
782
783 commit 91a1fb9
784 Author: Daniel Baumann <mail@daniel-baumann.ch>
785 Date:   Sat Jan 8 23:38:59 2011 +0100
786
787     Re-running Nindent.
788     
789     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
790
791 commit 0390c4c
792 Author: Sergey Gusarov <laborer2008@gmail.com>
793 Date:   Sat Jan 8 23:36:11 2011 +0100
794
795     Fixing compiler warnings related to the mismatch of types "char *" / "unsigned
796     char *".
797     
798     These warnings appear when you compile the project with the option "-Wall", what
799     is done with the current default Makefile.
800     
801     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
802
803 commit 4a8f8a6
804 Author: Jaroslav Skarvada <jskarvad@redhat.com>
805 Date:   Thu Jan 6 22:35:00 2011 +0100
806
807     Fixing overflow bug in reclaim_file function, see
808     https://bugzilla.redhat.com/show_bug.cgi?id=660154 for more information.
809     
810     The problem is that alloc_rootdir_entry counts with 10000 files at max, but the
811     filename buffer is only 8 chars long. Due to pattern mask used it results to
812     only 10 files at max (FSCK0-9REC). If there is more than 10 files, it overflows
813     and hangs.
814     
815     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
816
817 commit e0366da
818 Author: Sergey Gusarov <laborer2008@gmail.com>
819 Date:   Thu Jan 6 22:31:39 2011 +0100
820
821     Fixing conversion specifiers in accordance with the type of expressions.
822     
823     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
824
825 commit 2d8be9c
826 Author: Daniel Baumann <mail@daniel-baumann.ch>
827 Date:   Sun Jan 2 15:41:44 2011 +0100
828
829     Indenting source files.
830     
831     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
832
833 commit 697af85
834 Author: Daniel Baumann <mail@daniel-baumann.ch>
835 Date:   Sun Jan 2 15:39:03 2011 +0100
836
837     Adding Nindent script from syslinux.
838     
839     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
840
841 commit 66d55cd (tag: v3.0.11)
842 Author: Daniel Baumann <mail@daniel-baumann.ch>
843 Date:   Fri Dec 24 17:58:29 2010 +0100
844
845     Releasing version 3.0.11.
846     
847     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
848
849 commit d579802
850 Author: Michael Stapelberg <michael@stapelberg.de>
851 Date:   Fri Nov 19 14:09:36 2010 +0100
852
853     Add better error message when the device cannot be opened.
854     
855     This is helpful for SD cards or other removable media which have an enabled
856     write lock -- without the "Permission denied" message, the user has to strace
857     mkdosfs to find out what's going on.
858     
859     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
860
861 commit bb6000f
862 Author: Jaroslav Skarvada <jskarvad@redhat.com>
863 Date:   Fri Oct 8 13:38:16 2010 +0200
864
865     Unalign on s390x, see http://bugzilla.redhat.com/show_bug.cgi?id=624596 for
866     more information.
867     
868     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
869
870 commit 5ef7f1f (tag: v3.0.10)
871 Author: Daniel Baumann <mail@daniel-baumann.ch>
872 Date:   Sun Sep 12 09:35:47 2010 +0200
873
874     Releasing version 3.0.10.
875     
876     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
877
878 commit ea41797
879 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
880 Date:   Sun Sep 12 09:29:12 2010 +0200
881
882     Modify LFN direntries when file is renamed or deleted, see
883     Debian bug #596329.
884     
885     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
886
887 commit e56ff72
888 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
889 Date:   Sun Sep 12 09:27:07 2010 +0200
890
891     If the test of short filename fails, dosfsck could complain about
892     bad long filename, see Debian bug #596327.
893     
894     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
895
896 commit f0a42d0
897 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
898 Date:   Sun Sep 12 09:24:47 2010 +0200
899
900     dosfsck: don't complain about bad filenames when short filename
901     contains 7 or more characters with codes 128-255, see Debian
902     bug #596327.
903     
904     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
905
906 commit 0113c5b
907 Author: Mitch Rybczynski <mrybczynski@miovision.com>
908 Date:   Mon Jul 5 14:45:54 2010 +0200
909
910     Adding __arm__ define check for some crosscompile toolchains.
911     
912     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
913
914 commit 88cb84f
915 Author: Daniel Baumann <mail@daniel-baumann.ch>
916 Date:   Sun Mar 14 16:42:32 2010 +0100
917
918     Modernizing dosfslabel manpage.
919     
920     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
921
922 commit 5aa7ec4
923 Author: Daniel Baumann <mail@daniel-baumann.ch>
924 Date:   Sun Mar 14 16:33:47 2010 +0100
925
926     Modernizing dosfsck manpage.
927     
928     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
929
930 commit 807ed80
931 Author: Daniel Baumann <mail@daniel-baumann.ch>
932 Date:   Sun Mar 14 16:05:32 2010 +0100
933
934     Fixing spelling error in boot.c.
935     
936     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
937
938 commit 5b6849d (tag: v3.0.9)
939 Author: Daniel Baumann <mail@daniel-baumann.ch>
940 Date:   Sun Jan 31 08:31:32 2010 +0100
941
942     Releasing version 3.0.9.
943     
944     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
945
946 commit 33bca7d
947 Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
948 Date:   Sun Jan 31 00:11:41 2010 -0500
949
950     Be sure to store the updated reserved_sector count in the boot sector,
951     see Debian bug #567337.
952     
953     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
954
955 commit 2a3bef8 (tag: v3.0.8)
956 Author: Daniel Baumann <mail@daniel-baumann.ch>
957 Date:   Sat Jan 23 10:16:18 2010 +0100
958
959     Releasing version 3.0.8.
960     
961     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
962
963 commit 726c02d
964 Author: Daniel Baumann <mail@daniel-baumann.ch>
965 Date:   Sat Jan 23 10:15:01 2010 +0100
966
967     Removing some cruft in end-comments.
968     
969     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
970
971 commit a5961d7
972 Author: Steven J. Magnani <steve@digidescorp.com>
973 Date:   Thu Jan 21 16:58:11 2010 +0100
974
975     When compiling a 32-bit version of dosfstools on an x86_64 machine,
976     the resulting applications report strange errors on "large" (> 2 GiB)
977     partitions:
978     
979       Seek to -2118967808:Invalid argument
980     
981       Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
982       but has only 8613 clusters, less than the required minimum of 65525.
983       This may lead to problems on some systems.
984     
985     This appears to be due to compilation with a 32-bit off_t and lseek() library
986     function.
987     
988     Use lseek64 for positioning, and change some suspect uses of off_t to loff_t.
989     
990     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
991
992 commit bbb25bf
993 Author: Steven J. Magnani <steve@digidescorp.com>
994 Date:   Thu Jan 21 16:56:26 2010 +0100
995
996     If dosfsck is run in read-only mode (-n), exit with code 0
997     if the only issue found is an uninitialized free cluster summary.
998     
999     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1000
1001 commit 1cae726
1002 Author: Steven J. Magnani <steve@digidescorp.com>
1003 Date:   Thu Jan 21 16:55:30 2010 +0100
1004
1005     On x86_64, dosfsck incorrectly claims that a free_cluster summary of
1006     0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong.
1007     
1008     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1009
1010 commit 62f806a
1011 Author: H. Peter Anvin <hpa@zytor.com>
1012 Date:   Fri Jan 8 09:16:38 2010 +0100
1013
1014     mkdosfs: correct alignment of the root directory.
1015     
1016     Correct the code to align the root directory; it was broken before
1017     since bs.dir_entries had already been set at the point of alignment.
1018     This patch removes the dual use of bs.dir_entries and root_dir_entries
1019     to carry the same information: the information is carried in
1020     root_dir_entires exclusively, and then bs.dir_entries is set inside
1021     setup_tables() at a late point.
1022     
1023     The code to align the root directory is also wrapped in
1024     if (align_structures); this avoids rounding the number of root
1025     directory entries up to a whole sector when used with -a
1026     (i.e. preserves the previous behavior.)
1027     
1028     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1029
1030 commit 8825bda
1031 Author: H. Peter Anvin <hpa@zytor.com>
1032 Date:   Wed Jan 6 20:55:36 2010 +0100
1033
1034     mkdosfs: improve wording in the man page for the -a option.
1035     
1036     Improve the English language used in the man page for the -a (no
1037     align) option to mkdosfs.
1038     
1039     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1040
1041 commit 21d3f81
1042 Author: Daniel Baumann <mail@daniel-baumann.ch>
1043 Date:   Wed Jan 6 11:27:25 2010 +0100
1044
1045     Adding reference to dosfslable in mkdosfs manpage.
1046     
1047     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1048
1049 commit 247ba06
1050 Author: H. Peter Anvin <hpa@zytor.com>
1051 Date:   Wed Jan 6 11:18:55 2010 +0100
1052
1053     mkdosfs: by default align all structures to cluster boundaries
1054     
1055     Align all data structures (reserved sectors, FATs, root directory for
1056     FAT12/16) to an even multiple of the cluster size. This means that if
1057     the partition is aligned, so will all clusters be. This adds
1058     significant performance for anything where the physical sector size is
1059     larger than the logical sector size, e.g. flash media or large-sector
1060     hard disks.
1061     
1062     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1063
1064 commit 171bc07 (tag: v3.0.7)
1065 Author: Daniel Baumann <mail@daniel-baumann.ch>
1066 Date:   Thu Dec 24 10:53:36 2009 +0100
1067
1068     Releasing version 3.0.7.
1069     
1070     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1071
1072 commit 28708fc
1073 Author: Ben Hutchings <ben@decadent.org.uk>
1074 Date:   Thu Dec 24 09:55:52 2009 +0100
1075
1076     Fixing dosfslabel to set volume label in the right place,
1077     see Debian bug #559985.
1078     
1079     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1080
1081 commit 2c405dd
1082 Author: Lubomir Rintel <lkundrak@v3.sk>
1083 Date:   Thu Dec 24 09:39:39 2009 +0100
1084
1085     Fixing out-of bound writes.
1086     
1087     Firstly, packed attribute is added to the structure so that extension
1088     is guarranteed to immediately follow name for the cross-name-extension
1089     reads to succeed.
1090     
1091     Secondly, writes into dir_entry->name that span through the extension as
1092     well are split into two, so that FORTIFY_SOURCE's bound checking does
1093     not abort dosfsck. There also was an off-by-one error in auto_rename()'s
1094     sprintf().
1095     
1096     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1097
1098 commit b8f3efe
1099 Author: San Mehat <san@google.com>
1100 Date:   Thu Dec 24 09:31:41 2009 +0100
1101
1102     Adding custom exit code in dosfsck for the case where the FS is read only.
1103     
1104     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1105
1106 commit 0657e01 (tag: v3.0.6)
1107 Author: Daniel Baumann <mail@daniel-baumann.ch>
1108 Date:   Sun Oct 4 10:59:33 2009 +0200
1109
1110     Releasing version 3.0.6.
1111     
1112     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1113
1114 commit bc84254
1115 Author: Steven J. Magnani <steve@digidescorp.com>
1116 Date:   Sun Oct 4 10:58:43 2009 +0200
1117
1118     Attempt to improve clarity of the orphan cluster reclaim code.
1119     Minor optimization - remove some unnecessary checking.
1120     
1121     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1122
1123 commit 8054b4a
1124 Author: Steven J. Magnani <steve@digidescorp.com>
1125 Date:   Sun Oct 4 08:37:19 2009 +0200
1126
1127     Close hole that permitted clusters to link to (invalid) cluster 1.
1128     
1129     If an orphan chain that linked to cluster 1 was reclaimed to a file,
1130     deletion of the file would result in a filesystem panic.
1131     
1132     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1133
1134 commit e51af88
1135 Author: Steven J. Magnani <steve@digidescorp.com>
1136 Date:   Sun Oct 4 08:32:30 2009 +0200
1137
1138     Fix erroneous report of huge number of clusters in use on big-endian
1139     systems when the FSINFO free cluster count is reset.
1140     
1141     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1142
1143 commit 16ba63f (tag: v3.0.5)
1144 Author: Daniel Baumann <mail@daniel-baumann.ch>
1145 Date:   Mon Jul 27 14:26:11 2009 +0200
1146
1147     Releasing version 3.0.5.
1148     
1149     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1150
1151 commit 28ff9d9
1152 Author: Piotr Kaczuba <pepe@attika.ath.cx>
1153 Date:   Sun Jul 26 22:21:25 2009 +0200
1154
1155     Signed/unsigned char mismatch in check.c causes false positives
1156     in bad_name() and can result in data loss, see Debian bug #538758.
1157     
1158     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1159
1160 commit d42a273
1161 Author: Andrew Tridgell <tridge@samba.org>
1162 Date:   Sun Jul 26 22:12:06 2009 +0200
1163
1164     Update to new kernel patches that add FAT_NO_83NAME flag.
1165     
1166     See http://lkml.org/lkml/2009/7/20/425 and
1167     http://lkml.org/lkml/2009/7/20/424 for more information.
1168     
1169     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1170
1171 commit dd0f0b5 (tag: v3.0.4)
1172 Author: Daniel Baumann <mail@daniel-baumann.ch>
1173 Date:   Tue Jul 21 08:10:52 2009 +0200
1174
1175     Releasing version 3.0.4.
1176     
1177     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1178
1179 commit b9f37a6
1180 Author: Andrew Tridgell <tridge@samba.org>
1181 Date:   Tue Jul 21 07:59:22 2009 +0200
1182
1183     Modify dosfstools to support the dummy 8.3 short filename values
1184     used by Linux systems with the VFAT_FS_DUALNAMES option disabled.
1185     
1186     See http://lkml.org/lkml/2009/6/26/313 and
1187     http://lkml.org/lkml/2009/6/26/314 for more information.
1188     
1189     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1190
1191 commit ecd15e8
1192 Author: Paul Rupe <prupe@nc.rr.com>
1193 Date:   Tue May 19 10:37:52 2009 +0200
1194
1195     Fixing "Too many files need repair" error during fsck.
1196     
1197     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1198
1199 commit 7c16098 (tag: v3.0.3)
1200 Author: Daniel Baumann <mail@daniel-baumann.ch>
1201 Date:   Mon May 18 15:12:04 2009 +0200
1202
1203     Releasing version 3.0.3.
1204     
1205     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1206
1207 commit b396dcf
1208 Author: Daniel Baumann <mail@daniel-baumann.ch>
1209 Date:   Mon May 18 15:10:55 2009 +0200
1210
1211     Also declaring arm as an unaligned architecture, see Debian bug #502961.
1212     
1213     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1214
1215 commit ff1b24e
1216 Author: Steven J. Magnani <steve@digidescorp.com>
1217 Date:   Mon May 18 15:01:49 2009 +0200
1218
1219     Adding support for limited-memory embedded systems.
1220     
1221     This patch reorganizes heap memory usage by dosfsck and mkdosfs
1222     to support limited-memory embedded systems - in particular, those
1223     based on Xilinx's Microblaze processor. It also adds a few comments.
1224     
1225     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1226
1227 commit 89f0b72
1228 Author: Mike Frysinger <vapier@gentoo.org>
1229 Date:   Thu Mar 5 07:03:36 2009 +0100
1230
1231     Declaring Blackfin as an unaligned architecture.
1232     
1233     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1234
1235 commit b54a8a4 (tag: v3.0.2)
1236 Author: Daniel Baumann <mail@daniel-baumann.ch>
1237 Date:   Sat Feb 28 09:48:04 2009 +0100
1238
1239     Releasing version 3.0.2.
1240     
1241     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1242
1243 commit 9500529
1244 Author: Hiroaki Ishizawa <hiroaki.ishizawa@gmail.com>
1245 Date:   Fri Feb 13 10:00:46 2009 +0100
1246
1247     dosfsck corrupts root directory when fs->nfats is 1.
1248     
1249     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1250
1251 commit 043f8a8
1252 Author: Stepan Kasal <skasal@redhat.com>
1253 Date:   Fri Jan 30 14:56:33 2009 +0100
1254
1255     src/dosfslabel.c (main): After writing the label, exit code should be 0.
1256     
1257     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1258
1259 commit 017da27
1260 Author: Daniel Baumann <mail@daniel-baumann.ch>
1261 Date:   Fri Jan 30 14:06:01 2009 +0100
1262
1263     Also installing ChangeLog in install-doc target of Makefile.
1264     
1265     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1266
1267 commit 1c76f0f
1268 Author: Stepan Kasal <skasal@redhat.com>
1269 Date:   Fri Jan 30 14:05:12 2009 +0100
1270
1271     Makefile: Do not clobber time stamps of doc files.
1272     
1273     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1274
1275 commit df2d2f1 (tag: v3.0.1)
1276 Author: Daniel Baumann <mail@daniel-baumann.ch>
1277 Date:   Sun Nov 23 22:45:45 2008 +0100
1278
1279     Releasing version 3.0.1.
1280     
1281     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1282
1283 commit 17b269b
1284 Author: Daniel Baumann <mail@daniel-baumann.ch>
1285 Date:   Sun Nov 23 18:41:01 2008 +0100
1286
1287     Applying Fedoras dosfstools-vfat-timingfix.diff from Bill Nottingham
1288     <notting@redhat.com> to fix vfat timing issue. See
1289     https://bugzilla.redhat.com/show_bug.cgi?id=448247 for more information.
1290     
1291     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1292
1293 commit e597caf
1294 Author: Ulrich Mueller <ulm@gentoo.org>
1295 Date:   Tue Oct 7 07:55:37 2008 +0200
1296
1297     Patch to check for bad number of clusters in dosfsck:
1298     
1299       * FAT16 filesystems with 65525 clusters or more will be rejected
1300         (Before, this was not tested for. Up to 65535 clusters were accepted
1301         as good).
1302     
1303       * For FAT32 filesystems with less than 65525 a warning message will be
1304         output.
1305     
1306     Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it
1307     consistent with the definition in mkdosfs and to remove the dependency
1308     on the kernel version.
1309     
1310     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1311
1312 commit 90102bc
1313 Author: Dann Frazier <dannf@hp.com>
1314 Date:   Tue Sep 30 07:25:19 2008 +0200
1315
1316     Changing some wording to make the indended meaning of "full-disk device"
1317     more obvious.
1318     
1319     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1320
1321 commit 21e9ba0 (tag: v3.0.0)
1322 Author: Daniel Baumann <mail@daniel-baumann.ch>
1323 Date:   Sun Sep 28 11:43:19 2008 +0200
1324
1325     Releasing version 3.0.0.
1326     
1327     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1328
1329 commit eaf145d
1330 Author: Daniel Baumann <mail@daniel-baumann.ch>
1331 Date:   Sun Sep 28 11:29:01 2008 +0200
1332
1333     Adding GPL headers to all files.
1334     
1335     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1336
1337 commit 0826117
1338 Author: Daniel Baumann <mail@daniel-baumann.ch>
1339 Date:   Sun Sep 28 10:51:55 2008 +0200
1340
1341     Adding new GPL license file.
1342     
1343     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1344
1345 commit f8d6127
1346 Author: Daniel Baumann <mail@daniel-baumann.ch>
1347 Date:   Fri Sep 26 23:31:12 2008 +0200
1348
1349     Redoing Makefile from scratch.
1350     
1351     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1352
1353 commit b4feb73
1354 Author: Daniel Baumann <mail@daniel-baumann.ch>
1355 Date:   Sat Sep 27 00:17:38 2008 +0200
1356
1357     Removing whitespaces in all files at EOL and EOF.
1358     
1359     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1360
1361 commit 1410138
1362 Author: Daniel Baumann <mail@daniel-baumann.ch>
1363 Date:   Fri Sep 26 23:48:56 2008 +0200
1364
1365     Adding Debians dosfslabel.8 manpage from Francois Wendling
1366     <frwendling@free.fr>.
1367     
1368     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1369
1370 commit f62e7f2
1371 Author: Daniel Baumann <mail@daniel-baumann.ch>
1372 Date:   Fri Sep 26 18:36:04 2008 +0200
1373
1374     Updating version.h includes to new location of version.h file.
1375     
1376     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1377
1378 commit 32e5952
1379 Author: Daniel Baumann <mail@daniel-baumann.ch>
1380 Date:   Fri Sep 26 18:19:36 2008 +0200
1381
1382     Removing old lsm file.
1383     
1384     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1385
1386 commit 25a433b
1387 Author: Daniel Baumann <mail@daniel-baumann.ch>
1388 Date:   Fri Sep 26 18:07:47 2008 +0200
1389
1390     Removing old cvsignore files.
1391     
1392     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1393
1394 commit acac13f
1395 Author: Daniel Baumann <mail@daniel-baumann.ch>
1396 Date:   Fri Sep 26 18:18:39 2008 +0200
1397
1398     Removing old build file.
1399     
1400     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1401
1402 commit 3ecdd21
1403 Author: Daniel Baumann <mail@daniel-baumann.ch>
1404 Date:   Fri Sep 26 18:19:16 2008 +0200
1405
1406     Removing old GPL license files.
1407     
1408     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1409
1410 commit f183d0e
1411 Author: Daniel Baumann <mail@daniel-baumann.ch>
1412 Date:   Fri Sep 26 18:21:57 2008 +0200
1413
1414     Unifying dosfsck and mkdosfs Makefiles in common src/Makefile.
1415     
1416     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1417
1418 commit 61e7466
1419 Author: Daniel Baumann <mail@daniel-baumann.ch>
1420 Date:   Fri Sep 26 18:04:02 2008 +0200
1421
1422     Unifying dosfsck and mkdosfs sources in common src directory.
1423     
1424     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1425
1426 commit 7552d57
1427 Author: Daniel Baumann <mail@daniel-baumann.ch>
1428 Date:   Fri Sep 26 18:05:27 2008 +0200
1429
1430     Unifying dosfsck and mkdosfs manpages in common man directory.
1431     
1432     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1433
1434 commit 124598b
1435 Author: Daniel Baumann <mail@daniel-baumann.ch>
1436 Date:   Fri Sep 26 18:12:29 2008 +0200
1437
1438     Unifying dosfsck and mkdosfs documents in common doc directory.
1439     
1440     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1441
1442 commit fb9c46b
1443 Author: Daniel Baumann <mail@daniel-baumann.ch>
1444 Date:   Fri Sep 26 15:39:51 2008 +0200
1445
1446     Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples
1447     <uberlord@gentoo.org> to alias dosfsck -p to -a:
1448     
1449       * Map -p to -a for baselayout-2, #177514.
1450     
1451     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1452
1453 commit aaa40a9
1454 Author: Daniel Baumann <mail@daniel-baumann.ch>
1455 Date:   Fri Sep 26 15:49:43 2008 +0200
1456
1457     Applying Gentoos dosfstools-2.11-build.patch from Mike Frysinger
1458     <vapier@gentoo.org> to improve Makefile:
1459     
1460       * Respect user settings #157785/#157786 by Diego Petteno.
1461     
1462     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1463
1464 commit 251626d
1465 Author: Daniel Baumann <mail@daniel-baumann.ch>
1466 Date:   Fri Sep 26 15:37:34 2008 +0200
1467
1468     Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from
1469     Robin H. Johnson <robbat2@gentoo.org> to fix double count of files
1470     during verification:
1471     
1472       * Don't double-count n_files during a verification pass.
1473         Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845
1474     
1475     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1476
1477 commit e670ea8
1478 Author: Daniel Baumann <mail@daniel-baumann.ch>
1479 Date:   Fri Sep 26 15:33:36 2008 +0200
1480
1481     Applying Gentoos dosfstools-2.11-fat32size.patch from Mike Frysinger
1482     <vapier@gentoo.org> to fix generation of filesystems on 256meg devices:
1483     
1484       * Fix generation of FAT filesystems on devices that are 256meg in size
1485         Patch by Ulrich Mueller and accepted upstream
1486         http://bugs.gentoo.org/112504
1487     
1488     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1489
1490 commit a6dc6a4
1491 Author: Daniel Baumann <mail@daniel-baumann.ch>
1492 Date:   Fri Sep 26 15:22:06 2008 +0200
1493
1494     Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr
1495     Gajdos <pgajdos@suse.cz> to add sector size warning:
1496     
1497       * added warning for creation msdos on filesystem with sector size
1498         greater than 4096 [fate#303325]
1499     
1500     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1501
1502 commit f746956
1503 Author: Daniel Baumann <mail@daniel-baumann.ch>
1504 Date:   Fri Sep 26 15:18:35 2008 +0200
1505
1506     Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel
1507     <lnussel@suse.de> to fix handling of zero heads and sectors:
1508     
1509       * the HDIO_GETGEO ioctl works on device mapper devices but returns
1510         zero heads and sectors. Therefore let's a) assume dummy values in
1511         that case in mkdosfs and b) don't consider such fat file systems as
1512         invalid in dosfsck. The Linux kernel accepts them anyways.
1513     
1514     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1515
1516 commit cf243e4
1517 Author: Daniel Baumann <mail@daniel-baumann.ch>
1518 Date:   Fri Sep 26 15:15:40 2008 +0200
1519
1520     Applying Suses dosfstools-2.11-linuxfs.patch from Ruediger Oertel
1521     <ro@suse.de> to not include linux/fs.h.
1522     
1523     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1524
1525 commit 2d4f184
1526 Author: Daniel Baumann <mail@daniel-baumann.ch>
1527 Date:   Fri Sep 26 15:11:50 2008 +0200
1528
1529     Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
1530     <pvrabec@redhat.com> to remove linux 2.6 conditionals:
1531     
1532       * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
1533         glibc-kernheaders-2.4-9.1.94
1534     
1535     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1536
1537 commit 739a6fb
1538 Author: Daniel Baumann <mail@daniel-baumann.ch>
1539 Date:   Fri Sep 26 15:05:00 2008 +0200
1540
1541     Applying Debians 99-conglomeration.dpatch (no other information
1542     available).
1543     
1544     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1545
1546 commit 3b5ed8a
1547 Author: Daniel Baumann <mail@daniel-baumann.ch>
1548 Date:   Fri Sep 26 14:26:41 2008 +0200
1549
1550     Applying Debians 15-manpage-files.dpatch from Daniel Baumann
1551     <daniel@debian.org> to improve dosfsck manpage:
1552     
1553       * Lists fsckNNNN.rec files in FILES section (Closes: #444596).
1554     
1555     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1556
1557 commit 3b6a863
1558 Author: Daniel Baumann <mail@daniel-baumann.ch>
1559 Date:   Fri Sep 26 14:34:42 2008 +0200
1560
1561     Applying Debians 13-getopt.dpatch from Adonikam Virgo
1562     <adonikam@virgonet.org> to fix mkdosfs getopt:
1563     
1564       * Fixes backup sector getopt (Closes: #232387, #479794).
1565     
1566     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1567
1568 commit 1b2c8ca
1569 Author: Daniel Baumann <mail@daniel-baumann.ch>
1570 Date:   Fri Sep 26 14:34:17 2008 +0200
1571
1572     Applying Debians 12-zero-slot.dpatch by Karl Tomlinson
1573     <karlt@karlt.net> to fix dosfsck zero slot crashes:
1574     
1575       * Fixes crashes due to zero slot numbers causing a negative offset in
1576         the call to copy_lfn_part in lfn_add_slot. On amd64 this results in
1577         a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and
1578         thus sometimes a SIGSEGV or double free abort later. (Closes:
1579         #152550, #353198, #356377, #401798).
1580     
1581     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1582
1583 commit eec8585
1584 Author: Daniel Baumann <mail@daniel-baumann.ch>
1585 Date:   Fri Sep 26 14:33:54 2008 +0200
1586
1587     Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen
1588     <eero.tamminen@nokia.com> to improve dosfsck memory efficiency:
1589     
1590       * Improves memory efficiency when checking filesystems.
1591     
1592     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1593
1594 commit 06bd669
1595 Author: Daniel Baumann <mail@daniel-baumann.ch>
1596 Date:   Fri Sep 26 14:33:28 2008 +0200
1597
1598     Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
1599     <daniel@debian.org> to fix manpage synopsis:
1600     
1601       * List alternative binary names in manpage synopsis (Closes: #284983).
1602     
1603     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1604
1605 commit 42d340d
1606 Author: Daniel Baumann <mail@daniel-baumann.ch>
1607 Date:   Fri Sep 26 14:32:46 2008 +0200
1608
1609     Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann
1610     <daniel@debian.org> to improve mkdosfs manpage:
1611     
1612       * Don't claim that FAT32 is not choosed automatically (Closes:
1613         #414183).
1614     
1615     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1616
1617 commit 0f5ce0d
1618 Author: Daniel Baumann <mail@daniel-baumann.ch>
1619 Date:   Fri Sep 26 14:32:23 2008 +0200
1620
1621     Applying Debians 08-manpage-drop.dpatch from Daniel Baumann
1622     <daniel@debian.org> to improve dosfsck manpage:
1623     
1624       * Don't use confusing word 'drop' when 'delete' is meant (Closes:
1625         #134100).
1626     
1627     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1628
1629 commit 8ec54dd
1630 Author: Daniel Baumann <mail@daniel-baumann.ch>
1631 Date:   Fri Sep 26 14:31:50 2008 +0200
1632
1633     Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby
1634     <justinpryzby@users.sourceforge.net> to fix mkdosfs manpage typos.
1635     
1636     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1637
1638 commit 4371588
1639 Author: Daniel Baumann <mail@daniel-baumann.ch>
1640 Date:   Fri Sep 26 14:30:31 2008 +0200
1641
1642     Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr
1643     Gajdos <pgajdos@suse.cz> to determine mkdosfs sector size automatically:
1644     
1645       * determine sector size of device automatically or if -S parameter
1646         present, verify, that it's not under physical sector size
1647     
1648     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1649
1650 commit fc92e19
1651 Author: Daniel Baumann <mail@daniel-baumann.ch>
1652 Date:   Fri Sep 26 14:30:03 2008 +0200
1653
1654     Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak
1655     <prusnak@suse.cz> to use O_EXCL in mkdosfs:
1656     
1657       * mkdosfs now opens device with O_EXCL [#238687]
1658     
1659     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1660
1661 commit 3084697
1662 Author: Daniel Baumann <mail@daniel-baumann.ch>
1663 Date:   Fri Sep 26 14:29:36 2008 +0200
1664
1665     Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz
1666     <khalid_aziz@hp.com> to fix dosfsck unaligned memory accesses:
1667     
1668       * Fix unaligned memory accesses which cause warnings to appear
1669         everytime the elilo bootloader script runs. This has led a number of
1670         users to believe their install has failed (Closes: #258839).
1671     
1672     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1673
1674 commit 6d5c091
1675 Author: Daniel Baumann <mail@daniel-baumann.ch>
1676 Date:   Fri Sep 26 13:47:40 2008 +0200
1677
1678     Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz
1679     <katzj@redhat.com> to add dosfslabel (originally by Peter Jones).
1680     
1681     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1682
1683 commit 07ef487
1684 Author: Daniel Baumann <mail@daniel-baumann.ch>
1685 Date:   Fri Sep 26 13:41:14 2008 +0200
1686
1687     Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek
1688     <jakub@redhat.com> to make it build with -D_FORTIFY_SOURCE=2:
1689     
1690       * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C
1691         standard), but isn't actually any buffer overflow. But using memcpy
1692         is more efficient anyway.
1693     
1694     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1695
1696 commit 78f9dca
1697 Author: Daniel Baumann <mail@daniel-baumann.ch>
1698 Date:   Fri Sep 26 13:40:47 2008 +0200
1699
1700     Applying Fedoras dosfstools-2.7-argfix.patch (no other information
1701     available).
1702     
1703     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1704
1705 commit ba6774a (tag: v2.11)
1706 Author: Daniel Baumann <mail@daniel-baumann.ch>
1707 Date:   Thu Jun 26 12:45:36 2008 +0200
1708
1709     Adding version 2.11.
1710     
1711     Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>