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