commit ac4d30646425e19e8682cf7c9055014cbdb54c6f Author: Petr Gajdos 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 commit 7963bda123aa3bc6e4525a69b8fb82c4e92f7a52 Author: Petr Gajdos 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 commit 23fd2911267f73ea8dd6b5e6cc7ffb60223063e5 Author: Petr Gajdos 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 commit dbf11935d610b3b8d50480fc6c6257f8d8508635 Author: Petr Gajdos 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 commit 6de7543008fb5b37017560448c45270dafb62ab8 Author: Petr Gajdos 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 commit feb90914727acd92e4518881a07c3d80d6d6ccfa Author: Daniel Baumann Date: Fri Mar 1 08:58:15 2013 +0100 Write uppercase 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 commit a75fb1c838a47b8f54ff567ca2eb71e98ccb691c Author: Daniel Baumann Date: Thu Feb 21 15:06:52 2013 +0100 Releasing version 3.0.15. Signed-off-by: Daniel Baumann commit c8f84fdcddf0982b86ef53250b08a005c80925ef Author: Alexander Korolkov Date: Mon Feb 4 00:22:34 2013 +0400 Using wcstombs() to convert LFN unicode characters to printable text. This closes Debian bug #596336. Signed-off-by: Daniel Baumann commit 154654555730874c1656bb6c63292a85a2260bdf Author: Alexander Korolkov Date: Sun Sep 5 18:59:47 2010 +0400 Recode short filenames from DOS codepage (default 437). Recode short filenames from DOS codepage (default 437) to the current character encoding. This makes messages of dosfsck more readable. Partially closes Debian bug #596336. Signed-off-by: Daniel Baumann commit ad76cae648d3b7895e97e16f8212ae8089b8846b Author: Jaroslav Skarvada Date: Thu Feb 21 14:40:52 2013 +0100 Fixing root directory allocation. See https://bugzilla.redhat.com/show_bug.cgi?id=674095 for more information. Signed-off-by: Daniel Baumann commit b8201b34eb83c2bf87bd1c2b1a7fa57a1dc28191 Author: Jaroslav Skarvada Date: Thu Feb 21 14:40:25 2013 +0100 Fixing device detection. See https://bugzilla.redhat.com/show_bug.cgi?id=710480 for more information. Signed-off-by: Daniel Baumann commit 7a756385ed6bce393396c699e068b5f239053db6 Author: Daniel Baumann Date: Wed Jan 23 13:22:01 2013 +0100 Releasing version 3.0.14. Signed-off-by: Daniel Baumann commit 5bdd7ef95c7f18e9e6571bf0718a564bd15b30d5 Author: Daniel Baumann Date: Wed Jan 23 13:16:20 2013 +0100 Documenting dosfsck -b in its manpage. Signed-off-by: Daniel Baumann commit a307be2b9cbfd0ed8c10dab79044cf6c7426ea18 Author: Oleksij Rempel Date: Wed Jan 23 12:36:56 2013 +0100 Adding option for bootsector read-only check. Most boot sectors may contains marker for filesystem state. We can this bit on every mount and warn user if some thing wrong, without checking complete filesystem. Signed-off-by: Oleksij Rempel Signed-off-by: Daniel Baumann commit ce2f8dc349a8a6b2c26d1b3892cc9b5f0408bd34 Author: Oleksij Rempel Date: Wed Jan 23 12:35:13 2013 +0100 Checking boot sector for dirty bit. Some OSos use reseved byte of boot sector to set state of the file system. If first bit set, then filesystem is proably damaged - write operation was not finished/cache not snycted/... Signed-off-by: Oleksij Rempel Signed-off-by: Daniel Baumann commit f33ee8ca5640191e7666402d6676073712b9c988 Author: Daniel Baumann Date: Wed Jan 23 12:25:59 2013 +0100 Completing and updating all copyright headers for 2013. Signed-off-by: Daniel Baumann commit bfe6d25c6297b2fbca174ead56dffee340668a06 Author: Daniel Baumann Date: Wed Jan 23 12:17:20 2013 +0100 Updating my email address. Signed-off-by: Daniel Baumann commit 13cdb4d262b4042ec2d94d706e30f45a63f1c029 Author: Daniel Baumann Date: Sat Jun 30 19:10:44 2012 +0200 Releasing version 3.0.13. Signed-off-by: Daniel Baumann commit d03948265679186dd89403da46d1aba1decafd55 Author: Jaroslav Škarvada Date: Sat Jun 30 19:09:11 2012 +0200 Fix 'dosfslabel throws "Seek to 114116076544:Invalid argument" error when labeling'. See https://bugzilla.redhat.com/show_bug.cgi?id=693662 for more information. Signed-off-by: Daniel Baumann commit e243612ccd10ec10a9877fe32524acc8b7f3d2a4 Author: Daniel Baumann Date: Sat Oct 29 08:40:53 2011 +0200 Releasing version 3.0.12. Signed-off-by: Daniel Baumann commit 025b4f04fe3148b68c1857e3a26292d6330c748b Author: Michael Casadevall Date: Tue Jun 7 19:19:30 2011 +0200 Correcting miscalculation of sector number in some cases. mkdosfs will incorrectly calculate the number of sectors of a given FAT partition if the number sectors are odd due to count_blocks incorrectly handling the remainder of a division operation. This miscalculation causes the OMAP4 bootloader to fail to boot. This bug can be observed by comparing the total sector size in fdisk expert more to fsck.msdos; this discrepancy only shows up when the number of sectors are odd. See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043 for more information. Signed-off-by: Daniel Baumann commit 91a1fb9536b71133e6be9b0c09107c84d9cdfecb Author: Daniel Baumann Date: Sat Jan 8 23:38:59 2011 +0100 Re-running Nindent. Signed-off-by: Daniel Baumann commit 0390c4c1c12094aedb46d3bf800c9ac5900f9f56 Author: Sergey Gusarov Date: Sat Jan 8 23:36:11 2011 +0100 Fixing compiler warnings related to the mismatch of types "char *" / "unsigned char *". These warnings appear when you compile the project with the option "-Wall", what is done with the current default Makefile. Signed-off-by: Daniel Baumann commit 4a8f8a66459f6d311672c42f8a9ac3661fb79208 Author: Jaroslav Skarvada Date: Thu Jan 6 22:35:00 2011 +0100 Fixing overflow bug in reclaim_file function, see https://bugzilla.redhat.com/show_bug.cgi?id=660154 for more information. The problem is that alloc_rootdir_entry counts with 10000 files at max, but the filename buffer is only 8 chars long. Due to pattern mask used it results to only 10 files at max (FSCK0-9REC). If there is more than 10 files, it overflows and hangs. Signed-off-by: Daniel Baumann commit e0366dac9736a1a60459b33c2259785e8d08d647 Author: Sergey Gusarov Date: Thu Jan 6 22:31:39 2011 +0100 Fixing conversion specifiers in accordance with the type of expressions. Signed-off-by: Daniel Baumann commit 2d8be9c62869c220be6426ef9f37662b4e671454 Author: Daniel Baumann Date: Sun Jan 2 15:41:44 2011 +0100 Indenting source files. Signed-off-by: Daniel Baumann commit 697af859b69def125555403dc5521224c0813369 Author: Daniel Baumann Date: Sun Jan 2 15:39:03 2011 +0100 Adding Nindent script from syslinux. Signed-off-by: Daniel Baumann commit 66d55cd07420a7f6da3c96412b9159439823ff97 Author: Daniel Baumann Date: Fri Dec 24 17:58:29 2010 +0100 Releasing version 3.0.11. Signed-off-by: Daniel Baumann commit d57980204ef78b863130e9ef75f8e9f66bb677ec Author: Michael Stapelberg Date: Fri Nov 19 14:09:36 2010 +0100 Add better error message when the device cannot be opened. This is helpful for SD cards or other removable media which have an enabled write lock -- without the "Permission denied" message, the user has to strace mkdosfs to find out what's going on. Signed-off-by: Daniel Baumann commit bb6000fc30809ad8025bac5eb173d46f56223a7e Author: Jaroslav Skarvada Date: Fri Oct 8 13:38:16 2010 +0200 Unalign on s390x, see http://bugzilla.redhat.com/show_bug.cgi?id=624596 for more information. Signed-off-by: Daniel Baumann commit 5ef7f1f78a13207fd4317a73dd0308c95faeaa44 Author: Daniel Baumann Date: Sun Sep 12 09:35:47 2010 +0200 Releasing version 3.0.10. Signed-off-by: Daniel Baumann commit ea41797c7a7a0f56774f326beb916815541e62ae Author: Alexander Korolkov Date: Sun Sep 12 09:29:12 2010 +0200 Modify LFN direntries when file is renamed or deleted, see Debian bug #596329. Signed-off-by: Daniel Baumann commit e56ff72c1659a6a34c981d4ff6ce7841c773d0a8 Author: Alexander Korolkov Date: Sun Sep 12 09:27:07 2010 +0200 If the test of short filename fails, dosfsck could complain about bad long filename, see Debian bug #596327. Signed-off-by: Daniel Baumann commit f0a42d0634302c3fbdbe4bb717b0a9a17235a828 Author: Alexander Korolkov Date: Sun Sep 12 09:24:47 2010 +0200 dosfsck: don't complain about bad filenames when short filename contains 7 or more characters with codes 128-255, see Debian bug #596327. Signed-off-by: Daniel Baumann commit 0113c5bd145749772e2c808224f7c571024eb5fa Author: Mitch Rybczynski Date: Mon Jul 5 14:45:54 2010 +0200 Adding __arm__ define check for some crosscompile toolchains. Signed-off-by: Daniel Baumann commit 88cb84f1402d23bdf94f3cfd934792e7a04333fc Author: Daniel Baumann Date: Sun Mar 14 16:42:32 2010 +0100 Modernizing dosfslabel manpage. Signed-off-by: Daniel Baumann commit 5aa7ec4f2d0e02207709eb0b4f1487ea9193dd26 Author: Daniel Baumann Date: Sun Mar 14 16:33:47 2010 +0100 Modernizing dosfsck manpage. Signed-off-by: Daniel Baumann commit 807ed8028357ebb5ec78d92c405c7c80c8f3d749 Author: Daniel Baumann Date: Sun Mar 14 16:05:32 2010 +0100 Fixing spelling error in boot.c. Signed-off-by: Daniel Baumann commit 5b6849dc6268dfdede6e57c50d28f4179416b127 Author: Daniel Baumann Date: Sun Jan 31 08:31:32 2010 +0100 Releasing version 3.0.9. Signed-off-by: Daniel Baumann commit 33bca7d6b5157ad7cde134f7edb3d6677317e15c Author: Daniel Kahn Gillmor Date: Sun Jan 31 00:11:41 2010 -0500 Be sure to store the updated reserved_sector count in the boot sector, see Debian bug #567337. Signed-off-by: Daniel Baumann commit 2a3bef84fbee41ba055ecd57b6ded334e80b9b7f Author: Daniel Baumann Date: Sat Jan 23 10:16:18 2010 +0100 Releasing version 3.0.8. Signed-off-by: Daniel Baumann commit 726c02daf6f8d1f3bf47467bb3989357241ee24f Author: Daniel Baumann Date: Sat Jan 23 10:15:01 2010 +0100 Removing some cruft in end-comments. Signed-off-by: Daniel Baumann commit a5961d734410944ed88a7d67d6d27850e2ed065e Author: Steven J. Magnani Date: Thu Jan 21 16:58:11 2010 +0100 When compiling a 32-bit version of dosfstools on an x86_64 machine, the resulting applications report strange errors on "large" (> 2 GiB) partitions: Seek to -2118967808:Invalid argument Warning: Filesystem is FAT32 according to fat_length and fat32_length fields, but has only 8613 clusters, less than the required minimum of 65525. This may lead to problems on some systems. This appears to be due to compilation with a 32-bit off_t and lseek() library function. Use lseek64 for positioning, and change some suspect uses of off_t to loff_t. Signed-off-by: Daniel Baumann commit bbb25bf11aeda92f6cc75d32a5fdb5789348bb08 Author: Steven J. Magnani Date: Thu Jan 21 16:56:26 2010 +0100 If dosfsck is run in read-only mode (-n), exit with code 0 if the only issue found is an uninitialized free cluster summary. Signed-off-by: Daniel Baumann commit 1cae726e2da261e669557bb4a118371c8b836ad5 Author: Steven J. Magnani Date: Thu Jan 21 16:55:30 2010 +0100 On x86_64, dosfsck incorrectly claims that a free_cluster summary of 0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong. Signed-off-by: Daniel Baumann commit 62f806a2921a9ed0a44c3dd4d83a786b19924b72 Author: H. Peter Anvin Date: Fri Jan 8 09:16:38 2010 +0100 mkdosfs: correct alignment of the root directory. Correct the code to align the root directory; it was broken before since bs.dir_entries had already been set at the point of alignment. This patch removes the dual use of bs.dir_entries and root_dir_entries to carry the same information: the information is carried in root_dir_entires exclusively, and then bs.dir_entries is set inside setup_tables() at a late point. The code to align the root directory is also wrapped in if (align_structures); this avoids rounding the number of root directory entries up to a whole sector when used with -a (i.e. preserves the previous behavior.) Signed-off-by: Daniel Baumann commit 8825bda33bdce3ce30458dad26f7800b667516d3 Author: H. Peter Anvin Date: Wed Jan 6 20:55:36 2010 +0100 mkdosfs: improve wording in the man page for the -a option. Improve the English language used in the man page for the -a (no align) option to mkdosfs. Signed-off-by: Daniel Baumann commit 21d3f8192aaa9958c626b87bcb9d94727b38ba80 Author: Daniel Baumann Date: Wed Jan 6 11:27:25 2010 +0100 Adding reference to dosfslable in mkdosfs manpage. Signed-off-by: Daniel Baumann commit 247ba068d4ceea886ca16c95ab4a8eb772dc4f7a Author: H. Peter Anvin Date: Wed Jan 6 11:18:55 2010 +0100 mkdosfs: by default align all structures to cluster boundaries Align all data structures (reserved sectors, FATs, root directory for FAT12/16) to an even multiple of the cluster size. This means that if the partition is aligned, so will all clusters be. This adds significant performance for anything where the physical sector size is larger than the logical sector size, e.g. flash media or large-sector hard disks. Signed-off-by: Daniel Baumann commit 171bc07b0c3eff0eec01d899326ac2a34ea51e72 Author: Daniel Baumann Date: Thu Dec 24 10:53:36 2009 +0100 Releasing version 3.0.7. Signed-off-by: Daniel Baumann commit 28708fc8a66e571eb61d3fc2592c17b85f463b40 Author: Ben Hutchings Date: Thu Dec 24 09:55:52 2009 +0100 Fixing dosfslabel to set volume label in the right place, see Debian bug #559985. Signed-off-by: Daniel Baumann commit 2c405dd8da0f7a1a006aaf91e548676a023bab92 Author: Lubomir Rintel Date: Thu Dec 24 09:39:39 2009 +0100 Fixing out-of bound writes. Firstly, packed attribute is added to the structure so that extension is guarranteed to immediately follow name for the cross-name-extension reads to succeed. Secondly, writes into dir_entry->name that span through the extension as well are split into two, so that FORTIFY_SOURCE's bound checking does not abort dosfsck. There also was an off-by-one error in auto_rename()'s sprintf(). Signed-off-by: Daniel Baumann commit b8f3efed9cb0265968d0d5f2310eb9241a1b5650 Author: San Mehat Date: Thu Dec 24 09:31:41 2009 +0100 Adding custom exit code in dosfsck for the case where the FS is read only. Signed-off-by: Daniel Baumann commit 0657e018980f46932f7c438b4b1593c0ed10ccca Author: Daniel Baumann Date: Sun Oct 4 10:59:33 2009 +0200 Releasing version 3.0.6. Signed-off-by: Daniel Baumann commit bc842544573e4a6c4dcf14892ffd82aa7d590ae1 Author: Steven J. Magnani Date: Sun Oct 4 10:58:43 2009 +0200 Attempt to improve clarity of the orphan cluster reclaim code. Minor optimization - remove some unnecessary checking. Signed-off-by: Daniel Baumann commit 8054b4a371a69eab1cb9c3c639dc38f5d3c03ddb Author: Steven J. Magnani Date: Sun Oct 4 08:37:19 2009 +0200 Close hole that permitted clusters to link to (invalid) cluster 1. If an orphan chain that linked to cluster 1 was reclaimed to a file, deletion of the file would result in a filesystem panic. Signed-off-by: Daniel Baumann commit e51af88eed55631b35578c4a30f234ba6f829528 Author: Steven J. Magnani Date: Sun Oct 4 08:32:30 2009 +0200 Fix erroneous report of huge number of clusters in use on big-endian systems when the FSINFO free cluster count is reset. Signed-off-by: Daniel Baumann commit 16ba63f98a310d9743e5b9dbd0f9d7a4f4717455 Author: Daniel Baumann Date: Mon Jul 27 14:26:11 2009 +0200 Releasing version 3.0.5. Signed-off-by: Daniel Baumann commit 28ff9d967c23caa8da10479c91d0ba8cc55397ea Author: Piotr Kaczuba Date: Sun Jul 26 22:21:25 2009 +0200 Signed/unsigned char mismatch in check.c causes false positives in bad_name() and can result in data loss, see Debian bug #538758. Signed-off-by: Daniel Baumann commit d42a27373ac20030dac3849d532e79a5841fa957 Author: Andrew Tridgell Date: Sun Jul 26 22:12:06 2009 +0200 Update to new kernel patches that add FAT_NO_83NAME flag. See http://lkml.org/lkml/2009/7/20/425 and http://lkml.org/lkml/2009/7/20/424 for more information. Signed-off-by: Daniel Baumann commit dd0f0b53926fbd3b0c262cc09b5d3e0fc19c7ec8 Author: Daniel Baumann Date: Tue Jul 21 08:10:52 2009 +0200 Releasing version 3.0.4. Signed-off-by: Daniel Baumann commit b9f37a61a63b8552806042328c1eb67fd4c8a5d2 Author: Andrew Tridgell Date: Tue Jul 21 07:59:22 2009 +0200 Modify dosfstools to support the dummy 8.3 short filename values used by Linux systems with the VFAT_FS_DUALNAMES option disabled. See http://lkml.org/lkml/2009/6/26/313 and http://lkml.org/lkml/2009/6/26/314 for more information. Signed-off-by: Daniel Baumann commit ecd15e86e8c1b9d24443e4fc1948c6effbcfaac3 Author: Paul Rupe Date: Tue May 19 10:37:52 2009 +0200 Fixing "Too many files need repair" error during fsck. Signed-off-by: Daniel Baumann commit 7c16098be2b04ab791a520bf4ca2319233f4bd73 Author: Daniel Baumann Date: Mon May 18 15:12:04 2009 +0200 Releasing version 3.0.3. Signed-off-by: Daniel Baumann commit b396dcfb09dba6c55575aaa4b94a408604febd27 Author: Daniel Baumann Date: Mon May 18 15:10:55 2009 +0200 Also declaring arm as an unaligned architecture, see Debian bug #502961. Signed-off-by: Daniel Baumann commit ff1b24e91db6df1076dc5c053f34ff1a3924578d Author: Steven J. Magnani Date: Mon May 18 15:01:49 2009 +0200 Adding support for limited-memory embedded systems. This patch reorganizes heap memory usage by dosfsck and mkdosfs to support limited-memory embedded systems - in particular, those based on Xilinx's Microblaze processor. It also adds a few comments. Signed-off-by: Daniel Baumann commit 89f0b727b56f544e40d8066d7711734fc57a051f Author: Mike Frysinger Date: Thu Mar 5 07:03:36 2009 +0100 Declaring Blackfin as an unaligned architecture. Signed-off-by: Daniel Baumann commit b54a8a46ef08e1993796673cfe6c732fe238f74d Author: Daniel Baumann Date: Sat Feb 28 09:48:04 2009 +0100 Releasing version 3.0.2. Signed-off-by: Daniel Baumann commit 95005294d8356b81401101e5f0473f49f45d05b7 Author: Hiroaki Ishizawa Date: Fri Feb 13 10:00:46 2009 +0100 dosfsck corrupts root directory when fs->nfats is 1. Signed-off-by: Daniel Baumann commit 043f8a8fb1decf9f6d4b6fcf23267264422a8dab Author: Stepan Kasal Date: Fri Jan 30 14:56:33 2009 +0100 src/dosfslabel.c (main): After writing the label, exit code should be 0. Signed-off-by: Daniel Baumann commit 017da27f1a2b7845cab5fb4e1259d3e0739ef777 Author: Daniel Baumann Date: Fri Jan 30 14:06:01 2009 +0100 Also installing ChangeLog in install-doc target of Makefile. Signed-off-by: Daniel Baumann commit 1c76f0faf837f203dc2b1353ce202111ca9183f0 Author: Stepan Kasal Date: Fri Jan 30 14:05:12 2009 +0100 Makefile: Do not clobber time stamps of doc files. Signed-off-by: Daniel Baumann commit df2d2f17898cb5e13e9017aef1ccaae3b11a201b Author: Daniel Baumann Date: Sun Nov 23 22:45:45 2008 +0100 Releasing version 3.0.1. Signed-off-by: Daniel Baumann commit 17b269b03d758b3946451e2724708d72a8882ed4 Author: Daniel Baumann Date: Sun Nov 23 18:41:01 2008 +0100 Applying Fedoras dosfstools-vfat-timingfix.diff from Bill Nottingham to fix vfat timing issue. See https://bugzilla.redhat.com/show_bug.cgi?id=448247 for more information. Signed-off-by: Daniel Baumann commit e597cafef44da9ca46eb2d4999a98c7e23072e46 Author: Ulrich Mueller Date: Tue Oct 7 07:55:37 2008 +0200 Patch to check for bad number of clusters in dosfsck: * FAT16 filesystems with 65525 clusters or more will be rejected (Before, this was not tested for. Up to 65535 clusters were accepted as good). * For FAT32 filesystems with less than 65525 a warning message will be output. Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it consistent with the definition in mkdosfs and to remove the dependency on the kernel version. Signed-off-by: Daniel Baumann commit 90102bcd5447abbb7a155e25bb953a9e690c279c Author: Dann Frazier Date: Tue Sep 30 07:25:19 2008 +0200 Changing some wording to make the indended meaning of "full-disk device" more obvious. Signed-off-by: Daniel Baumann commit 21e9ba0a43ed34e8424cac4fdb1d1d8d02e43336 Author: Daniel Baumann Date: Sun Sep 28 11:43:19 2008 +0200 Releasing version 3.0.0. Signed-off-by: Daniel Baumann commit eaf145d51bd47f34f0c1d36ea72242edae8660d5 Author: Daniel Baumann Date: Sun Sep 28 11:29:01 2008 +0200 Adding GPL headers to all files. Signed-off-by: Daniel Baumann commit 0826117103ea3e87f7b2cbd6f6daaa842f780b9f Author: Daniel Baumann Date: Sun Sep 28 10:51:55 2008 +0200 Adding new GPL license file. Signed-off-by: Daniel Baumann commit f8d6127d8ba4cd6c02ea698e14afa7f1bca59fb2 Author: Daniel Baumann Date: Fri Sep 26 23:31:12 2008 +0200 Redoing Makefile from scratch. Signed-off-by: Daniel Baumann commit b4feb7319f6c506f21346e1faea060e1d8429ccb Author: Daniel Baumann Date: Sat Sep 27 00:17:38 2008 +0200 Removing whitespaces in all files at EOL and EOF. Signed-off-by: Daniel Baumann commit 1410138d03618ac4a8f4a670bec1e6640c3dfe12 Author: Daniel Baumann Date: Fri Sep 26 23:48:56 2008 +0200 Adding Debians dosfslabel.8 manpage from Francois Wendling . Signed-off-by: Daniel Baumann commit f62e7f27a7f7bcc51c30860ab0422deb273353bf Author: Daniel Baumann Date: Fri Sep 26 18:36:04 2008 +0200 Updating version.h includes to new location of version.h file. Signed-off-by: Daniel Baumann commit 32e5952f4f3610b5f28f427717d838c6e28307d6 Author: Daniel Baumann Date: Fri Sep 26 18:19:36 2008 +0200 Removing old lsm file. Signed-off-by: Daniel Baumann commit 25a433bd3d6d9f8bca75ea44afd101e8cf965308 Author: Daniel Baumann Date: Fri Sep 26 18:07:47 2008 +0200 Removing old cvsignore files. Signed-off-by: Daniel Baumann commit acac13fb85ed10120420be7a7bd15463389c9759 Author: Daniel Baumann Date: Fri Sep 26 18:18:39 2008 +0200 Removing old build file. Signed-off-by: Daniel Baumann commit 3ecdd2122504642e014916b2849e675dbdcddd73 Author: Daniel Baumann Date: Fri Sep 26 18:19:16 2008 +0200 Removing old GPL license files. Signed-off-by: Daniel Baumann commit f183d0eaa90668e70ce1e0f092baf66e88a213c9 Author: Daniel Baumann Date: Fri Sep 26 18:21:57 2008 +0200 Unifying dosfsck and mkdosfs Makefiles in common src/Makefile. Signed-off-by: Daniel Baumann commit 61e7466965387a881671c74156a14659362c3a4e Author: Daniel Baumann Date: Fri Sep 26 18:04:02 2008 +0200 Unifying dosfsck and mkdosfs sources in common src directory. Signed-off-by: Daniel Baumann commit 7552d5752706db94db069c40e844e6a01844cbae Author: Daniel Baumann Date: Fri Sep 26 18:05:27 2008 +0200 Unifying dosfsck and mkdosfs manpages in common man directory. Signed-off-by: Daniel Baumann commit 124598b2bdfc9901ce4a612f4ef4e4c916a2faa3 Author: Daniel Baumann Date: Fri Sep 26 18:12:29 2008 +0200 Unifying dosfsck and mkdosfs documents in common doc directory. Signed-off-by: Daniel Baumann commit fb9c46b59a1fdcea7360008abfe22136f0069d8b Author: Daniel Baumann Date: Fri Sep 26 15:39:51 2008 +0200 Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples to alias dosfsck -p to -a: * Map -p to -a for baselayout-2, #177514. Signed-off-by: Daniel Baumann commit aaa40a9bbc615e7947569e52724c2c5dae36577a Author: Daniel Baumann Date: Fri Sep 26 15:49:43 2008 +0200 Applying Gentoos dosfstools-2.11-build.patch from Mike Frysinger to improve Makefile: * Respect user settings #157785/#157786 by Diego Petteno. Signed-off-by: Daniel Baumann commit 251626dd60a085675bf8120c047458312bb21f49 Author: Daniel Baumann Date: Fri Sep 26 15:37:34 2008 +0200 Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from Robin H. Johnson to fix double count of files during verification: * Don't double-count n_files during a verification pass. Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845 Signed-off-by: Daniel Baumann commit e670ea82c9a0da446a0d7c88c580c4d2c8be7b59 Author: Daniel Baumann Date: Fri Sep 26 15:33:36 2008 +0200 Applying Gentoos dosfstools-2.11-fat32size.patch from Mike Frysinger to fix generation of filesystems on 256meg devices: * Fix generation of FAT filesystems on devices that are 256meg in size Patch by Ulrich Mueller and accepted upstream http://bugs.gentoo.org/112504 Signed-off-by: Daniel Baumann commit a6dc6a4d4bb89ec3997a72fd084a83147c6e66b6 Author: Daniel Baumann Date: Fri Sep 26 15:22:06 2008 +0200 Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr Gajdos to add sector size warning: * added warning for creation msdos on filesystem with sector size greater than 4096 [fate#303325] Signed-off-by: Daniel Baumann commit f74695618bd347cc42632794c278b208e464d6e9 Author: Daniel Baumann Date: Fri Sep 26 15:18:35 2008 +0200 Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel to fix handling of zero heads and sectors: * the HDIO_GETGEO ioctl works on device mapper devices but returns zero heads and sectors. Therefore let's a) assume dummy values in that case in mkdosfs and b) don't consider such fat file systems as invalid in dosfsck. The Linux kernel accepts them anyways. Signed-off-by: Daniel Baumann commit cf243e4a84f10db0f42ddadd663cb013c0f47e85 Author: Daniel Baumann Date: Fri Sep 26 15:15:40 2008 +0200 Applying Suses dosfstools-2.11-linuxfs.patch from Ruediger Oertel to not include linux/fs.h. Signed-off-by: Daniel Baumann commit 2d4f18457e65556277fe203aeee2bc6e20f87a44 Author: Daniel Baumann Date: Fri Sep 26 15:11:50 2008 +0200 Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec to remove linux 2.6 conditionals: * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with glibc-kernheaders-2.4-9.1.94 Signed-off-by: Daniel Baumann commit 739a6fb2880643a575c5b6d39444a2d0eca7badf Author: Daniel Baumann Date: Fri Sep 26 15:05:00 2008 +0200 Applying Debians 99-conglomeration.dpatch (no other information available). Signed-off-by: Daniel Baumann commit 3b5ed8a4b186e8b5c1b72a20cbb07b36596550c8 Author: Daniel Baumann Date: Fri Sep 26 14:26:41 2008 +0200 Applying Debians 15-manpage-files.dpatch from Daniel Baumann to improve dosfsck manpage: * Lists fsckNNNN.rec files in FILES section (Closes: #444596). Signed-off-by: Daniel Baumann commit 3b6a8634f4dd9500c16edff2b883ecac6cde8e88 Author: Daniel Baumann Date: Fri Sep 26 14:34:42 2008 +0200 Applying Debians 13-getopt.dpatch from Adonikam Virgo to fix mkdosfs getopt: * Fixes backup sector getopt (Closes: #232387, #479794). Signed-off-by: Daniel Baumann commit 1b2c8ca3b4b1b308b684a032c794799c0d967536 Author: Daniel Baumann Date: Fri Sep 26 14:34:17 2008 +0200 Applying Debians 12-zero-slot.dpatch by Karl Tomlinson to fix dosfsck zero slot crashes: * Fixes crashes due to zero slot numbers causing a negative offset in the call to copy_lfn_part in lfn_add_slot. On amd64 this results in a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and thus sometimes a SIGSEGV or double free abort later. (Closes: #152550, #353198, #356377, #401798). Signed-off-by: Daniel Baumann commit eec8585c731da25a24b731a500720a56d39df64e Author: Daniel Baumann Date: Fri Sep 26 14:33:54 2008 +0200 Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen to improve dosfsck memory efficiency: * Improves memory efficiency when checking filesystems. Signed-off-by: Daniel Baumann commit 06bd6697f3776156d646891fdef1cebb95c48ddc Author: Daniel Baumann Date: Fri Sep 26 14:33:28 2008 +0200 Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann to fix manpage synopsis: * List alternative binary names in manpage synopsis (Closes: #284983). Signed-off-by: Daniel Baumann commit 42d340d05672d12a0cd001f89bfb508e05066f47 Author: Daniel Baumann Date: Fri Sep 26 14:32:46 2008 +0200 Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann to improve mkdosfs manpage: * Don't claim that FAT32 is not choosed automatically (Closes: #414183). Signed-off-by: Daniel Baumann commit 0f5ce0d8f6bd5c7027e799a82f9fe6b814c0be6f Author: Daniel Baumann Date: Fri Sep 26 14:32:23 2008 +0200 Applying Debians 08-manpage-drop.dpatch from Daniel Baumann to improve dosfsck manpage: * Don't use confusing word 'drop' when 'delete' is meant (Closes: #134100). Signed-off-by: Daniel Baumann commit 8ec54ddfee9aa394a32bcaaa1945eb6273047d18 Author: Daniel Baumann Date: Fri Sep 26 14:31:50 2008 +0200 Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby to fix mkdosfs manpage typos. Signed-off-by: Daniel Baumann commit 4371588cfac03a516447e95164b19a6945efb7a7 Author: Daniel Baumann Date: Fri Sep 26 14:30:31 2008 +0200 Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr Gajdos to determine mkdosfs sector size automatically: * determine sector size of device automatically or if -S parameter present, verify, that it's not under physical sector size Signed-off-by: Daniel Baumann commit fc92e197f870c2f161035fd0c90da5a3ae361be3 Author: Daniel Baumann Date: Fri Sep 26 14:30:03 2008 +0200 Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak to use O_EXCL in mkdosfs: * mkdosfs now opens device with O_EXCL [#238687] Signed-off-by: Daniel Baumann commit 30846972f9d956b74ec1a3b6749798ab5191ce5a Author: Daniel Baumann Date: Fri Sep 26 14:29:36 2008 +0200 Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz to fix dosfsck unaligned memory accesses: * Fix unaligned memory accesses which cause warnings to appear everytime the elilo bootloader script runs. This has led a number of users to believe their install has failed (Closes: #258839). Signed-off-by: Daniel Baumann commit 6d5c09188c4549a1438656dd574b6142542174dd Author: Daniel Baumann Date: Fri Sep 26 13:47:40 2008 +0200 Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz to add dosfslabel (originally by Peter Jones). Signed-off-by: Daniel Baumann commit 07ef48724795f7d415bd07850d2440c327b28541 Author: Daniel Baumann Date: Fri Sep 26 13:41:14 2008 +0200 Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek to make it build with -D_FORTIFY_SOURCE=2: * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C standard), but isn't actually any buffer overflow. But using memcpy is more efficient anyway. Signed-off-by: Daniel Baumann commit 78f9dca40b2ba699daab0f7d8e7a2ff833919f94 Author: Daniel Baumann Date: Fri Sep 26 13:40:47 2008 +0200 Applying Fedoras dosfstools-2.7-argfix.patch (no other information available). Signed-off-by: Daniel Baumann commit ba6774ae1dd5199a733dfaeaf438dff095284de7 Author: Daniel Baumann Date: Thu Jun 26 12:45:36 2008 +0200 Adding version 2.11. Signed-off-by: Daniel Baumann