commit ad1342e
Author: Andreas Bombe <aeb@debian.org>
Date:   Sat May 16 02:10:18 2015 +0200

    manpages: Mark MT and ME tags as untranslated for po4a
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 3ed9ec2
Author: Andreas Bombe <aeb@debian.org>
Date:   Sun May 10 19:59:02 2015 +0200

    mkfs: Small changes to FAT32 cluster size selection
    
    Put the cluster size selection back in line with the table used in
    Microsoft's fatgen103.pdf and fix the comment. This only involved
    changing some comparison operators, all values stayed the same.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 9984552
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Apr 20 23:41:34 2015 +0200

    fsck: Mention -r is default in usage message
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 3eaca68
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Apr 20 23:30:56 2015 +0200

    manpages: Remove obsolete information about Linux FAT support
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit a5e34de
Author: Andreas Bombe <aeb@debian.org>
Date:   Thu Apr 16 23:16:08 2015 +0200

    manpages: Convert the rest of argument placeholders to upper case
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 2303765
Author: Andreas Bombe <aeb@debian.org>
Date:   Thu Apr 16 22:51:20 2015 +0200

    manpages: Fix formatting
    
    Make the manpages conform to the rules for groff sources. First,
    eliminate empty lines because these create vertical spaces where it
    isn't desired. Man page sources should not contain empty lines. Second,
    put a line break between sentences in a paragraph. A period is
    recognized and formatted as a full stop period only when a line break
    comes right after it.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit d3969b8
Author: Andreas Bombe <aeb@debian.org>
Date:   Fri Apr 10 20:32:50 2015 +0200

    fsck: Verify first cluster of a file is not 1
    
    Previously the FAT was checked for any out of bounds entries which were
    cleared. However the first cluster of a file, as specified in its
    directory entry, was not verified to not be 1.
    
    In addition to missing this filesystem error, code that correctly
    assumes the FAT contained no bad entries anymore could still look up
    invalid table indices depending on the value stored in entry 1. With
    the right values and FAT size this can lead to a segfault by accessing
    unallocated memory.
    
    Now test_file() will ignore files where the first cluster equals 1 and
    an additional check in check_file() will truncate them.
    
    This bug was reported in http://bugs.debian.org/773885 by Jakub Wilk.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 2a56575
Author: Andreas Bombe <aeb@debian.org>
Date:   Thu Apr 2 23:35:00 2015 +0200

    Simplify synopses of man pages
    
    Since there is only one mode of invocation for the tools, it is
    somewhat pointless to list every possible option in the synopsis.
    
    Fix a few style inconsistencies in addition, specifically that
    placeholders for option arguments are in capital letters and should be
    shown where the option is described.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 40f1436
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Apr 1 20:55:58 2015 +0200

    Update homepage and maintainer sections of man pages
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 0169db8
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Apr 1 20:05:01 2015 +0200

    mkfs: Show a clearer message that file already exists with -C
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 2967e27
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Mar 30 21:12:51 2015 +0200

    mkfs: Remove O_TRUNC from file creation call
    
    open() is called with O_EXCL | O_CREAT, so it will definitely create a
    new, empty file or error out. O_TRUNC is superfluous and may be harmless
    in practice but its effect under these circumstances is unspecified.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 90612df
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Mar 30 21:09:51 2015 +0200

    mkfs: Use ftruncate() for expanding created file
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 58e8e09
Author: Andreas Bombe <aeb@debian.org>
Date:   Tue Mar 24 21:32:40 2015 +0100

    mkfs: Add --invariant option
    
    The --invariant option is designed to prevent random or time based
    differences to end up in generated filesystems so that multiple runs
    generate on the same file or device create completely identical results.
    
    This is intended for debugging or regression testing of mkfs.fat.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 354feaf
Author: Andreas Bombe <aeb@debian.org>
Date:   Thu Mar 19 21:35:21 2015 +0100

    mkfs: Add long option parsing
    
    Add long option parsing with getopt_long() to mkfs and define --help as
    the first long option. The usage() function now takes an exit code
    parameter so that the --help option handling can exit the program with
    a success exit code.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit b611549
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Mar 16 21:08:35 2015 +0100

    Do not expect EOF as return value of getopt()
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit a41fc32
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Mar 11 21:45:04 2015 +0100

    fsck.fat: Fix read beyond end of array on FAT12
    
    When a FAT12 filesystem contains an odd number of clusters, setting the
    last cluster with set_fat() will trigger a read of the next entry,
    which does not exist in the fat array allocated for this.
    
    Round up the allocation to an even number of FAT entries for FAT12 so
    that this is fixed without introducing special casing in get_fat().
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit e18d72f
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Sat Mar 7 13:23:23 2015 +0100

    Remove linux/msdos_fs.h includes
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 245d0cc
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Thu Feb 26 19:22:54 2015 +0100

    Remove non standard int types
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 628b3ec
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Thu Feb 26 19:41:19 2015 +0100

    Improve .gitignore
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 02b5a6d
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Thu Feb 26 12:51:23 2015 +0100

    Makefile: avoid using install -D
    
    OS X and FreeBSD are not compatible with this option
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit fb6aea6
Author: Álvaro Fernández Rojas <noltari@gmail.com>
Date:   Thu Feb 26 12:50:57 2015 +0100

    Makefile: fix typo in uninstall-man
    
    Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 357ab07
Author: Andreas Bombe <aeb@debian.org>
Date:   Thu Feb 19 21:22:54 2015 +0100

    fsck.fat: Make -r option default
    
    Default mode is now to interactively repair with the option to write
    the changes back at the end (like the -r option) instead of the previous
    default mode of interactively correcting but never writing back the
    changes.
    
    The -r option continues to be recognized by fsck.fat.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 266a5fc
Author: Andreas Bombe <aeb@debian.org>
Date:   Fri Feb 20 03:19:28 2015 +0100

    mkfs.fat: Allow 0xF0 to be specified as media byte
    
    Let the -M option accept 0xF0, which should be the proper descriptor
    byte for 3.5" 1.44 MB and 2.88 MB floppies.
    
    Also split the error reporting for -M between badly formatted and
    invalid numbers.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 16e97e9
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Jan 28 15:07:18 2015 +0100

    Make all char* that may take literals const
    
    Every char* variable or function argument that may be given a literal
    string is now made const. Additionally add -Wwrite-strings to CFLAGS to
    enable a warning where const would be missing.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 8b8948c
Author: Andreas Bombe <aeb@debian.org>
Date:   Mon Dec 29 18:24:54 2014 +0100

    mkfs.fat.c: Use unsigned char for binary data
    
    Simple char technically works for the dummy_boot_jump variables, but
    some compiler warning settings would give a warning over a signed char
    overflowing with the values given as initializers.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 45aeed0
Author: Andreas Bombe <aeb@debian.org>
Date:   Sun Nov 16 19:49:22 2014 +0100

    Fix indentation of "fix power loss damage" commit
    
    I fixed the (sometimes misleading) indentation of the code introduced in
    commit 6893c45 to be in line with the reset of the code and also removed
    the /* PATCH ED+DL */ comments which are quite meaningless to the wider
    world.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 75c5446
Author: Andreas Bombe <aeb@debian.org>
Date:   Sat Nov 15 16:48:48 2014 +0100

    Add tags and editor backup files to .gitignore
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit cb98ae2 (tag: v3.0.27)
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Nov 12 01:10:23 2014 +0100

    Releasing version 3.0.27.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit e2c8f06
Author: Andreas Bombe <aeb@debian.org>
Date:   Wed Nov 12 00:22:17 2014 +0100

    fsck.fat: Don't print version string every time -v is encountered
    
    Remove the printing of the version string every time -v is seen during
    command line parsing in fsck.fat. The version string is printed anyway
    before opening the filesystem device/image.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 82076b6
Author: Andreas Bombe <aeb@debian.org>
Date:   Tue Nov 11 23:25:30 2014 +0100

    Fix attempt to rename root dir in fsck due to uninitialized fields
    
    When add_file() is called with offset 0, it will construct a DIR_ENT for
    the root directory instead of reading the contents from the filesystem.
    It did not initialize the whole DIR_ENT on the stack, just select
    values.
    
    In particular, the lcase field was left with an undefined value. If
    that value happened to include the FAT_NO_83NAME bit, the "neither long
    nor short file name" check in bad_name() added in 3.0.26 would trigger
    and cause an attempt to rename the entry (which is not possible).
    Example run:
    
        $ /sbin/fsck.fat -y bad.img
        fsck.fat 3.0.26 (2014-03-07)
        /
          Bad short file name ().
          Auto-renaming it.
          Renamed to
        bad.img: 14 files, 19388/403266 clusters
    
    This commit changes the initialization zeroize the whole struct before
    setting individual fields. Thanks to AlexisM, who found the cause and
    posted a patch on the Debian bug http://bugs.debian.org/764992 .
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit c24ecb6
Author: Andreas Bombe <aeb@debian.org>
Date:   Tue Nov 11 22:49:50 2014 +0100

    Support long file names in volume labeling code
    
    The code to find the volume label directory entry in find_volume_de()
    did not consider long file names so far. Directory entries that make up
    long file names have four attribute bits set, including the "volume"
    bit.
    
    This caused the code to mistake a directory entry that is part of a
    long file name as the volume name entry. If such an entry is found
    first, fatlabel would print garbage when asked to display the label and
    mangle the long file name when asked to set it. The latter would lead
    to the loss of the long file name and require a fsck to clean up.
    
    Change so that the set of attributes equal that of LFN entries will no
    langer match as a volume label.
    
    Signed-off-by: Andreas Bombe <aeb@debian.org>

commit 1646f6e (tag: v3.0.26)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Mar 7 18:40:13 2014 +0100

    Releasing version 3.0.26.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 6893c45
Author: Dir Lotter <dirk.lotter@siemens.com>
Date:   Fri Mar 7 18:25:39 2014 +0100

    Fix "odd" files created by frequent power-loss.
    
    After running many power losses the filesystem can degrate, containing "odd"
    files making the filesystem corrupt that could not be solved by fsck:
    
      * file was not visible in a ls -l
      * ls -i reported a "invalid file name" on the console
      * a test program with diropen/dirread showed the file, a stat on this file
        failed
      * file was not accessible and could not be deleted
    
    After digging into the code we found why fsck didn't repair the file system:
    One thing was we don't have short filenames. Another issue was that the LFN
    pointer was set to NULL and so it looked like we didn't have short and long
    filenames.
    
    Our patch of check.c includes:
    
      * returns 1 from function bad_name() in case no short and no long filename
        exist
      * auto_rename() and rename_file() got a special handling for the case no short
        file name exist:
        - it enables the short file name (we think here was a weakness of the old
          code: it changed the short filename but didn't enabled it in the
          file->dir_ent.lcase entry)
        - it reset all attributes except ATTR_DIR and ATTR_VOLUME
    
    This solved our problem pretty well.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 621e11f
Author: Natanael Copa <ncopa@alpinelinux.org>
Date:   Sat Feb 8 18:53:30 2014 +0100

    Build fixes for musl libc.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 52588b7 (tag: v3.0.25)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jan 17 07:11:11 2014 +0100

    Releasing version 3.0.25.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit acf64ae
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jan 17 07:09:54 2014 +0100

    Updating copyright headers for 2014.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 21fe921
Author: Andrew Tridgell <tridge@samba.org>
Date:   Tue Jan 14 09:37:51 2014 +1100

    Fixed remaining 64 bit build warnings.
    
    Some of these may be real bugs.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 9e3a2b1
Author: Andrew Tridgell <tridge@samba.org>
Date:   Tue Jan 14 09:25:28 2014 +1100

    Prevent corruption of FAT during fsck on 64 bit platforms.
    
    unsigned long is 64 bit on x86-64, which means set_fat was writing two
    entries, which corrupts the next entry. This can cause loss of data in
    another file.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 0d2c9bc (tag: v3.0.24)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Sat Nov 23 10:36:55 2013 +0100

    Releasing version 3.0.24.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 55bd7b7
Author: Jaroslav Skarvada <jskarvad@redhat.com>
Date:   Sat Nov 23 10:34:48 2013 +0100

    Fixed dosfsck on big endian platforms (Resolves: rhbz#1029695).
    
    It seems there is problem in the double conversion on big endians.
    The first conversion is done by the explicit conversion to __u16
    in the GET_UNALIGNED_W macro, so the secondary conversion by le16toh
    seems to be redundant (and wrong).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 6debb4a (tag: v3.0.23)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Oct 15 08:05:46 2013 +0200

    Releasing version 3.0.23.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 07d85ff
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Oct 15 08:04:11 2013 +0200

    Reformating mkfs.fat manpage.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 137552f
Author: Michael Shigorin <mike@altlinux.org>
Date:   Tue Oct 15 01:29:33 2013 +0400

    Fixing "Fixing default sectors per cluster for FAT32" for UEFI.
    
    FAT32 "EFI System Partition" is basically required for UEFI boot;
    commit ge048a8d broke that for me with both virtualbox-4.2 and
    real hardware (ASUS C60M1-I to be exact) given ~250Mb filesystem.
    
    This commit amends that one by reverting its effects for these
    small sizes by restoring 512b cluster size for <= 260Mb FAT32.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 2000696
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Aug 9 09:38:13 2013 +0200

    Also allowing lowercase labels in mkfs (with warning message) consistent with the recent fsck change, thanks to Michael Baum <mbaum@devonit.com>.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 9b04807
Author: Tim Harder <radhermit@gentoo.org>
Date:   Fri Jul 19 18:15:21 2013 +0200

    Add install-man dependency to install-symlinks Makefile target.
    
    This fixes a race condition during parallel installs where man page
    symlinks won't be installed because install-man hasn't been run yet.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 651f91c (tag: v3.0.22)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jul 19 07:01:19 2013 +0200

    Releasing version 3.0.22.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 3dc5560
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jul 19 06:55:24 2013 +0200

    Addding install-symlinks target to phony targets in Makefile.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit c6c0581
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jul 19 06:55:00 2013 +0200

    Adding uninstall-symlinks target in Makefile.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 465dd8c
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jul 19 06:45:40 2013 +0200

    Allowing fatlabel to write labels in all lowercase but give a warning about DOS/Windows (Closes: #714971).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 3621b30
Author: John S Gruber <JohnSGruber@gmail.com>
Date:   Fri Jul 19 06:40:21 2013 +0200

    Add options and make dos boot sector more compatible with reference system (Closes: #552673).
    
    Unless overridden by the user sets the DOS boot sector's
    hidden-sectors field to match the start of a hard disk's
    partition.
    
    Initialize DOS boot sector drive_number according to FAT media type
    Addresses LP: #398241 and Debian #552673
    
    Adds options to override the DOS boot sector device_number and
    the FAT media type.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit be1eed5
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jul 17 12:52:20 2013 +0200

    Correcting wrong check preventing installation of fatlabel legacy manpage symlink.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit d0065d3 (tag: v3.0.21)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jul 16 08:34:28 2013 +0200

    Releasing version 3.0.21.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit a74c12c
Author: Jaroslav Skarvada <jskarvad@redhat.com>
Date:   Tue Jun 25 14:53:14 2013 +0200

    Adding the missing -p option to the fsck manpage (to be consistent with the output of the tool).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 25e03c9
Author: Patrick J. Volkerding <volkerdi@slackware.com>
Date:   Mon Jun 24 14:23:00 2013 +0200

    Using $MANDIR instead of hardcoded ${PREFIX}/share/man in the Makefile.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 7fd9cf7
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Fri Jun 14 18:50:31 2013 +0200

    Making install-symlinks Makefile target depend on install-bin to not break when using make in parallel, thanks to David Walser <luigiwalser@yahoo.com>.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit a76bbcd
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 12 13:00:10 2013 +0200

    Using US digit date format in version date, rather than name abbrev.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit a64195f (tag: v3.0.20)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 12 12:25:32 2013 +0200

    Releasing version 3.0.20.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 1a5d99f
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 12 12:07:58 2013 +0200

    Softening message about different boot sectors a bit (Closes: #704198).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 4727286
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 12 11:42:52 2013 +0200

    Harmonizing program name output.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 17c956c
Author: Martin Wilck <mwilck@arcor.de>
Date:   Wed Jun 12 11:38:00 2013 +0200

    Don't align FAT to cluster size.
    
    See previous patch for explanation.
    
    With this patch and the previous two, the
    mkdosfs generated FAT32 file systems work well in my extremely
    picky TechniSat device. Of course, they're also detected cleanly
    by Linux and Windows.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit d63e0d6
Author: Martin Wilck <mwilck@arcor.de>
Date:   Wed Jun 12 11:36:08 2013 +0200

    Don't align FAT32 reserved sectors to cluster size.
    
    For certain file system sizes (in particular, exact GB sizes -
    don't ask me why) a Technisat HD S2 Plus DVB receiver will still
    choke on mkdosfs generated file systems, even if the sectors per
    cluster problem is fixed.
    
    By comparing the properties of generated FAT32 FS with results
    of the Windows tool "h2format" (www.heise.de/download/h2format.html),
    I found that the remaining problems were caused by rounding of the
    reserved sectors and FAT space to cluster size (the h2format tool
    doesn't do this).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit e048a8d
Author: Martin Wilck <mwilck@arcor.de>
Date:   Wed Jun 12 11:33:33 2013 +0200

    Fixing default sectors per cluster for FAT32 (Closes: #690062).
    
    The default sectors per cluster calculated by mkdosfs are outdated,
    see http://technet.microsoft.com/en-us/library/cc938438.aspx.
    
    The deviations may cause some 3rd party devices (e.g. TechniSat DVB
    receivers) to hang when reading mkdosfs generated file systems.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 86509aa
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 20:19:09 2013 +0200

    Splitting out legacy symlink creation in toplevel Makefile to own target.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit da37dd1
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 12 11:29:12 2013 +0200

    Correcting wrong toolname in fsck.fat.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit b29a722
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 19:51:47 2013 +0200

    Consistently spelling filesystem as filesystem, and not file system.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 977d7aa
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 19:30:19 2013 +0200

    Removing Debian reference in GPL license headers.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 5505cc2 (tag: v3.0.19)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 18:46:03 2013 +0200

    Releasing version 3.0.19.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 2c88f35
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 18:44:50 2013 +0200

    Running indent on source files.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit d495d43
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Tue Jun 11 18:41:41 2013 +0200

    Using memcpy instead of strcpy to fix segfault with fortify, thanks to Dave Reisner <falconindy@jabber.org>.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 9fb4ffc
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Sun Jun 9 13:17:16 2013 +0200

    Correcting fsck.fat spelling error in manpages, thanks to E.J.M. Hartman <E.J.M.Hartman@tudelft.nl>.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 2d8ef9b (tag: v3.0.18)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Thu Jun 6 09:49:00 2013 +0200

    Releasing version 3.0.18.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit d4e1180
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Thu Jun 6 09:38:45 2013 +0200

    Adding initial i18n support for manpages with po4a.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit ea8f712
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Thu Jun 6 09:17:13 2013 +0200

    Renaming tools to sane namespace and keeping legacy symlinks in place.
    
    dosfslabel becomes fatlabel,
    dosfsck becomes fsck.fat,
    and mkdosfs becomes mkfs.fat.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit a42b127
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 5 07:12:03 2013 +0200

    Correcting wrong spelling of Debian in mkdosfs manpage.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 2749084
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed Jun 5 07:10:50 2013 +0200

    Correcting spelling typo in boot.c.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 6461c83
Author: Martin Pitt <martinpitt@gnome.org>
Date:   Fri May 24 09:35:44 2013 +0200

    dosfslabel: Do not read beyond string length (Closes: #709587).
    
    When checking whether the label contains any lower-case characters, do not read
    beyond the end of the string.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 4203a90 (tag: v3.0.17)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed May 29 10:14:09 2013 +0200

    Releasing version 3.0.17.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 3aa88ed
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed May 29 09:48:24 2013 +0200

    Updating maximal lenght of a label in manpage to talk about bytes instead of characters, thanks to Francois Wendling <frwendling@gmail.com> (Closes: #655953).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 0916f8a
Author: Jaroslav Skarvada <jskarvad@redhat.com>
Date:   Wed May 29 09:56:08 2013 +0200

    Fixing segfault in dosfslabel.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 4a265c6
Author: James Byrne <jbyrne@aminocom.com>
Date:   Mon Apr 22 12:29:51 2013 +0100

    Allow operation on SH4 CPUs and remove compiler warnings.
    
    Simplify the GET_UNALIGNED_W macro and use it in all cases instead of making it
    conditional on CPU types. This missed some CPUs that needed it (e.g. SH4), and
    in any case the implementation caused "dereferencing type-punned pointer will
    break strict-aliasing rules" warnings.
    
    Enable extra warnings, but disable signed comparison and missing field
    initializer warnings as these are not helpful.
    
    Update write_boot_label() so that the boot_sector_16 and boot_sector cases are
    handled separately instead of using an aliased pointer, as that causes
    "dereferencing type-punned pointer will break strict-aliasing rules" warnings.
    
    Make date_dos2unix(), usage() and cdiv() static functions as they are only used
    in the files in which they are declared.
    
    Update bad_name() and lfn_get() so that the extension is processed separately
    instead of by indexing past the end of the name field as that causes "array
    subscript is above array bounds" warnings.
    
    Update the dosfsck() main function to avoid a warning that free_clusters may
    be used uninitialized. Do not print the final count of files and clusters when
    dosfsck is run with the "-b" option because the used files and clusters have
    not been counted in this case.
    
    Alter the setup_tables() function so that it does not cause an "array subscript
    is below array bounds" warning.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit eb68a14
Author: James Byrne <jbyrne@aminocom.com>
Date:   Mon Apr 22 13:32:01 2013 +0100

    Add a .gitignore file.
    
    Add a .gitignore file so that the results of compilation do not appear as
    changes.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 336e8f1
Author: James Byrne <jbyrne@aminocom.com>
Date:   Mon Apr 22 12:38:52 2013 +0100

    Finish cleanup of byteswap code.
    
    Commit 9ba8992 left three references to the old CT_LE_W macro.
    Remove these since no conversion was needed as the value being
    converted was zero.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 64b6227
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Thu Apr 4 08:08:00 2013 +0200

    Shortening links to upstream homepage.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 76304be
Author: Cristian Rodríguez <crrodriguez@opensuse.org>
Date:   Fri Mar 1 08:23:34 2013 +0100

    Fix offsetof definition.
    
      * include stddef.h to get the correct offsetof definition.
      * remove local offsetof definition, systems not having it on stddef.h
        are in violation of C89, C99, POSIX.1-2001.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 9ba8992
Author: Cristian Rodríguez <crrodriguez@opensuse.org>
Date:   Fri Mar 1 08:58:36 2013 +0100

    Cleanup byteswap code.
    
    Remove all duplicate macro definitions for byteswapping routines
    and replace them for proper usage of userspace endian(3).
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 8733e12 (tag: v3.0.16)
Author: Daniel Baumann <mail@daniel-baumann.ch>
Date:   Wed May 29 10:06:01 2013 +0200

    Releasing version 3.0.16.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit a9fa87e
Author: Petr Gajdos <pgajdos@suse.cz>
Date:   Fri Mar 1 08:34:12 2013 +0100

    Create rootdir entry volume label with mkdosfs, create it when
    it doesn't exist with dosfslabel.
    
    See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
    for more information.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 92057f1
Author: Petr Gajdos <pgajdos@suse.cz>
Date:   Fri Mar 1 08:33:18 2013 +0100

    Forbid lowercase letters in label.
    
    See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
    http://support.microsoft.com/kb/71715/en-us for more information.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 5e265c4
Author: Petr Gajdos <pgajdos@suse.cz>
Date:   Fri Mar 1 08:32:02 2013 +0100

    Read label also from rootdir entry.
    
    See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
    for more information.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 5cec53c
Author: Petr Gajdos <pgajdos@suse.cz>
Date:   Fri Mar 1 08:30:21 2013 +0100

    alloc_rootdir_entry() is intended to be called with pattern == "FSCK%04dREC",
    the old code (probably c&p from auto_rename()) doesn't reflect this.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>

commit 63938f0
Author: Petr Gajdos <pgajdos@suse.cz>
Date:   Fri Mar 1 08:29:00 2013 +0100

    Instead of eleven blanks, fill in "NO NAME    " as specification tells.
    
    See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
    http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html for more information.
    
    Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
