1 commit e2c8f06 (HEAD, origin/master, master)
2 Author: Andreas Bombe <aeb@debian.org>
3 Date: Wed Nov 12 00:22:17 2014 +0100
5 fsck.fat: Don't print version string every time -v is encountered
7 Remove the printing of the version string every time -v is seen during
8 command line parsing in fsck.fat. The version string is printed anyway
9 before opening the filesystem device/image.
11 Signed-off-by: Andreas Bombe <aeb@debian.org>
14 Author: Andreas Bombe <aeb@debian.org>
15 Date: Tue Nov 11 23:25:30 2014 +0100
17 Fix attempt to rename root dir in fsck due to uninitialized fields
19 When add_file() is called with offset 0, it will construct a DIR_ENT for
20 the root directory instead of reading the contents from the filesystem.
21 It did not initialize the whole DIR_ENT on the stack, just select
24 In particular, the lcase field was left with an undefined value. If
25 that value happened to include the FAT_NO_83NAME bit, the "neither long
26 nor short file name" check in bad_name() added in 3.0.26 would trigger
27 and cause an attempt to rename the entry (which is not possible).
30 $ /sbin/fsck.fat -y bad.img
31 fsck.fat 3.0.26 (2014-03-07)
33 Bad short file name ().
36 bad.img: 14 files, 19388/403266 clusters
38 This commit changes the initialization zeroize the whole struct before
39 setting individual fields. Thanks to AlexisM, who found the cause and
40 posted a patch on the Debian bug http://bugs.debian.org/764992 .
42 Signed-off-by: Andreas Bombe <aeb@debian.org>
45 Author: Andreas Bombe <aeb@debian.org>
46 Date: Tue Nov 11 22:49:50 2014 +0100
48 Support long file names in volume labeling code
50 The code to find the volume label directory entry in find_volume_de()
51 did not consider long file names so far. Directory entries that make up
52 long file names have four attribute bits set, including the "volume"
55 This caused the code to mistake a directory entry that is part of a
56 long file name as the volume name entry. If such an entry is found
57 first, fatlabel would print garbage when asked to display the label and
58 mangle the long file name when asked to set it. The latter would lead
59 to the loss of the long file name and require a fsck to clean up.
61 Change so that the set of attributes equal that of LFN entries will no
62 langer match as a volume label.
64 Signed-off-by: Andreas Bombe <aeb@debian.org>
66 commit 1646f6e (tag: v3.0.26)
67 Author: Daniel Baumann <mail@daniel-baumann.ch>
68 Date: Fri Mar 7 18:40:13 2014 +0100
70 Releasing version 3.0.26.
72 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
75 Author: Dir Lotter <dirk.lotter@siemens.com>
76 Date: Fri Mar 7 18:25:39 2014 +0100
78 Fix "odd" files created by frequent power-loss.
80 After running many power losses the filesystem can degrate, containing "odd"
81 files making the filesystem corrupt that could not be solved by fsck:
83 * file was not visible in a ls -l
84 * ls -i reported a "invalid file name" on the console
85 * a test program with diropen/dirread showed the file, a stat on this file
87 * file was not accessible and could not be deleted
89 After digging into the code we found why fsck didn't repair the file system:
90 One thing was we don't have short filenames. Another issue was that the LFN
91 pointer was set to NULL and so it looked like we didn't have short and long
94 Our patch of check.c includes:
96 * returns 1 from function bad_name() in case no short and no long filename
98 * auto_rename() and rename_file() got a special handling for the case no short
100 - it enables the short file name (we think here was a weakness of the old
101 code: it changed the short filename but didn't enabled it in the
102 file->dir_ent.lcase entry)
103 - it reset all attributes except ATTR_DIR and ATTR_VOLUME
105 This solved our problem pretty well.
107 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
110 Author: Natanael Copa <ncopa@alpinelinux.org>
111 Date: Sat Feb 8 18:53:30 2014 +0100
113 Build fixes for musl libc.
115 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
117 commit 52588b7 (tag: v3.0.25)
118 Author: Daniel Baumann <mail@daniel-baumann.ch>
119 Date: Fri Jan 17 07:11:11 2014 +0100
121 Releasing version 3.0.25.
123 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
126 Author: Daniel Baumann <mail@daniel-baumann.ch>
127 Date: Fri Jan 17 07:09:54 2014 +0100
129 Updating copyright headers for 2014.
131 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
134 Author: Andrew Tridgell <tridge@samba.org>
135 Date: Tue Jan 14 09:37:51 2014 +1100
137 Fixed remaining 64 bit build warnings.
139 Some of these may be real bugs.
141 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
144 Author: Andrew Tridgell <tridge@samba.org>
145 Date: Tue Jan 14 09:25:28 2014 +1100
147 Prevent corruption of FAT during fsck on 64 bit platforms.
149 unsigned long is 64 bit on x86-64, which means set_fat was writing two
150 entries, which corrupts the next entry. This can cause loss of data in
153 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
155 commit 0d2c9bc (tag: v3.0.24)
156 Author: Daniel Baumann <mail@daniel-baumann.ch>
157 Date: Sat Nov 23 10:36:55 2013 +0100
159 Releasing version 3.0.24.
161 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
164 Author: Jaroslav Skarvada <jskarvad@redhat.com>
165 Date: Sat Nov 23 10:34:48 2013 +0100
167 Fixed dosfsck on big endian platforms (Resolves: rhbz#1029695).
169 It seems there is problem in the double conversion on big endians.
170 The first conversion is done by the explicit conversion to __u16
171 in the GET_UNALIGNED_W macro, so the secondary conversion by le16toh
172 seems to be redundant (and wrong).
174 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
176 commit 6debb4a (tag: v3.0.23)
177 Author: Daniel Baumann <mail@daniel-baumann.ch>
178 Date: Tue Oct 15 08:05:46 2013 +0200
180 Releasing version 3.0.23.
182 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
185 Author: Daniel Baumann <mail@daniel-baumann.ch>
186 Date: Tue Oct 15 08:04:11 2013 +0200
188 Reformating mkfs.fat manpage.
190 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
193 Author: Michael Shigorin <mike@altlinux.org>
194 Date: Tue Oct 15 01:29:33 2013 +0400
196 Fixing "Fixing default sectors per cluster for FAT32" for UEFI.
198 FAT32 "EFI System Partition" is basically required for UEFI boot;
199 commit ge048a8d broke that for me with both virtualbox-4.2 and
200 real hardware (ASUS C60M1-I to be exact) given ~250Mb filesystem.
202 This commit amends that one by reverting its effects for these
203 small sizes by restoring 512b cluster size for <= 260Mb FAT32.
205 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
208 Author: Daniel Baumann <mail@daniel-baumann.ch>
209 Date: Fri Aug 9 09:38:13 2013 +0200
211 Also allowing lowercase labels in mkfs (with warning message) consistent with the recent fsck change, thanks to Michael Baum <mbaum@devonit.com>.
213 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
216 Author: Tim Harder <radhermit@gentoo.org>
217 Date: Fri Jul 19 18:15:21 2013 +0200
219 Add install-man dependency to install-symlinks Makefile target.
221 This fixes a race condition during parallel installs where man page
222 symlinks won't be installed because install-man hasn't been run yet.
224 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
226 commit 651f91c (tag: v3.0.22)
227 Author: Daniel Baumann <mail@daniel-baumann.ch>
228 Date: Fri Jul 19 07:01:19 2013 +0200
230 Releasing version 3.0.22.
232 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
235 Author: Daniel Baumann <mail@daniel-baumann.ch>
236 Date: Fri Jul 19 06:55:24 2013 +0200
238 Addding install-symlinks target to phony targets in Makefile.
240 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
243 Author: Daniel Baumann <mail@daniel-baumann.ch>
244 Date: Fri Jul 19 06:55:00 2013 +0200
246 Adding uninstall-symlinks target in Makefile.
248 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
251 Author: Daniel Baumann <mail@daniel-baumann.ch>
252 Date: Fri Jul 19 06:45:40 2013 +0200
254 Allowing fatlabel to write labels in all lowercase but give a warning about DOS/Windows (Closes: #714971).
256 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
259 Author: John S Gruber <JohnSGruber@gmail.com>
260 Date: Fri Jul 19 06:40:21 2013 +0200
262 Add options and make dos boot sector more compatible with reference system (Closes: #552673).
264 Unless overridden by the user sets the DOS boot sector's
265 hidden-sectors field to match the start of a hard disk's
268 Initialize DOS boot sector drive_number according to FAT media type
269 Addresses LP: #398241 and Debian #552673
271 Adds options to override the DOS boot sector device_number and
274 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
277 Author: Daniel Baumann <mail@daniel-baumann.ch>
278 Date: Wed Jul 17 12:52:20 2013 +0200
280 Correcting wrong check preventing installation of fatlabel legacy manpage symlink.
282 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
284 commit d0065d3 (tag: v3.0.21)
285 Author: Daniel Baumann <mail@daniel-baumann.ch>
286 Date: Tue Jul 16 08:34:28 2013 +0200
288 Releasing version 3.0.21.
290 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
293 Author: Jaroslav Skarvada <jskarvad@redhat.com>
294 Date: Tue Jun 25 14:53:14 2013 +0200
296 Adding the missing -p option to the fsck manpage (to be consistent with the output of the tool).
298 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
301 Author: Patrick J. Volkerding <volkerdi@slackware.com>
302 Date: Mon Jun 24 14:23:00 2013 +0200
304 Using $MANDIR instead of hardcoded ${PREFIX}/share/man in the Makefile.
306 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
309 Author: Daniel Baumann <mail@daniel-baumann.ch>
310 Date: Fri Jun 14 18:50:31 2013 +0200
312 Making install-symlinks Makefile target depend on install-bin to not break when using make in parallel, thanks to David Walser <luigiwalser@yahoo.com>.
314 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
317 Author: Daniel Baumann <mail@daniel-baumann.ch>
318 Date: Wed Jun 12 13:00:10 2013 +0200
320 Using US digit date format in version date, rather than name abbrev.
322 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
324 commit a64195f (tag: v3.0.20)
325 Author: Daniel Baumann <mail@daniel-baumann.ch>
326 Date: Wed Jun 12 12:25:32 2013 +0200
328 Releasing version 3.0.20.
330 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
333 Author: Daniel Baumann <mail@daniel-baumann.ch>
334 Date: Wed Jun 12 12:07:58 2013 +0200
336 Softening message about different boot sectors a bit (Closes: #704198).
338 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
341 Author: Daniel Baumann <mail@daniel-baumann.ch>
342 Date: Wed Jun 12 11:42:52 2013 +0200
344 Harmonizing program name output.
346 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
349 Author: Martin Wilck <mwilck@arcor.de>
350 Date: Wed Jun 12 11:38:00 2013 +0200
352 Don't align FAT to cluster size.
354 See previous patch for explanation.
356 With this patch and the previous two, the
357 mkdosfs generated FAT32 file systems work well in my extremely
358 picky TechniSat device. Of course, they're also detected cleanly
359 by Linux and Windows.
361 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
364 Author: Martin Wilck <mwilck@arcor.de>
365 Date: Wed Jun 12 11:36:08 2013 +0200
367 Don't align FAT32 reserved sectors to cluster size.
369 For certain file system sizes (in particular, exact GB sizes -
370 don't ask me why) a Technisat HD S2 Plus DVB receiver will still
371 choke on mkdosfs generated file systems, even if the sectors per
372 cluster problem is fixed.
374 By comparing the properties of generated FAT32 FS with results
375 of the Windows tool "h2format" (www.heise.de/download/h2format.html),
376 I found that the remaining problems were caused by rounding of the
377 reserved sectors and FAT space to cluster size (the h2format tool
380 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
383 Author: Martin Wilck <mwilck@arcor.de>
384 Date: Wed Jun 12 11:33:33 2013 +0200
386 Fixing default sectors per cluster for FAT32 (Closes: #690062).
388 The default sectors per cluster calculated by mkdosfs are outdated,
389 see http://technet.microsoft.com/en-us/library/cc938438.aspx.
391 The deviations may cause some 3rd party devices (e.g. TechniSat DVB
392 receivers) to hang when reading mkdosfs generated file systems.
394 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
397 Author: Daniel Baumann <mail@daniel-baumann.ch>
398 Date: Tue Jun 11 20:19:09 2013 +0200
400 Splitting out legacy symlink creation in toplevel Makefile to own target.
402 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
405 Author: Daniel Baumann <mail@daniel-baumann.ch>
406 Date: Wed Jun 12 11:29:12 2013 +0200
408 Correcting wrong toolname in fsck.fat.
410 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
413 Author: Daniel Baumann <mail@daniel-baumann.ch>
414 Date: Tue Jun 11 19:51:47 2013 +0200
416 Consistently spelling filesystem as filesystem, and not file system.
418 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
421 Author: Daniel Baumann <mail@daniel-baumann.ch>
422 Date: Tue Jun 11 19:30:19 2013 +0200
424 Removing Debian reference in GPL license headers.
426 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
428 commit 5505cc2 (tag: v3.0.19)
429 Author: Daniel Baumann <mail@daniel-baumann.ch>
430 Date: Tue Jun 11 18:46:03 2013 +0200
432 Releasing version 3.0.19.
434 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
437 Author: Daniel Baumann <mail@daniel-baumann.ch>
438 Date: Tue Jun 11 18:44:50 2013 +0200
440 Running indent on source files.
442 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
445 Author: Daniel Baumann <mail@daniel-baumann.ch>
446 Date: Tue Jun 11 18:41:41 2013 +0200
448 Using memcpy instead of strcpy to fix segfault with fortify, thanks to Dave Reisner <falconindy@jabber.org>.
450 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
453 Author: Daniel Baumann <mail@daniel-baumann.ch>
454 Date: Sun Jun 9 13:17:16 2013 +0200
456 Correcting fsck.fat spelling error in manpages, thanks to E.J.M. Hartman <E.J.M.Hartman@tudelft.nl>.
458 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
460 commit 2d8ef9b (tag: v3.0.18)
461 Author: Daniel Baumann <mail@daniel-baumann.ch>
462 Date: Thu Jun 6 09:49:00 2013 +0200
464 Releasing version 3.0.18.
466 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
469 Author: Daniel Baumann <mail@daniel-baumann.ch>
470 Date: Thu Jun 6 09:38:45 2013 +0200
472 Adding initial i18n support for manpages with po4a.
474 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
477 Author: Daniel Baumann <mail@daniel-baumann.ch>
478 Date: Thu Jun 6 09:17:13 2013 +0200
480 Renaming tools to sane namespace and keeping legacy symlinks in place.
482 dosfslabel becomes fatlabel,
483 dosfsck becomes fsck.fat,
484 and mkdosfs becomes mkfs.fat.
486 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
489 Author: Daniel Baumann <mail@daniel-baumann.ch>
490 Date: Wed Jun 5 07:12:03 2013 +0200
492 Correcting wrong spelling of Debian in mkdosfs manpage.
494 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
497 Author: Daniel Baumann <mail@daniel-baumann.ch>
498 Date: Wed Jun 5 07:10:50 2013 +0200
500 Correcting spelling typo in boot.c.
502 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
505 Author: Martin Pitt <martinpitt@gnome.org>
506 Date: Fri May 24 09:35:44 2013 +0200
508 dosfslabel: Do not read beyond string length (Closes: #709587).
510 When checking whether the label contains any lower-case characters, do not read
511 beyond the end of the string.
513 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
515 commit 4203a90 (tag: v3.0.17)
516 Author: Daniel Baumann <mail@daniel-baumann.ch>
517 Date: Wed May 29 10:14:09 2013 +0200
519 Releasing version 3.0.17.
521 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
524 Author: Daniel Baumann <mail@daniel-baumann.ch>
525 Date: Wed May 29 09:48:24 2013 +0200
527 Updating maximal lenght of a label in manpage to talk about bytes instead of characters, thanks to Francois Wendling <frwendling@gmail.com> (Closes: #655953).
529 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
532 Author: Jaroslav Skarvada <jskarvad@redhat.com>
533 Date: Wed May 29 09:56:08 2013 +0200
535 Fixing segfault in dosfslabel.
537 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
540 Author: James Byrne <jbyrne@aminocom.com>
541 Date: Mon Apr 22 12:29:51 2013 +0100
543 Allow operation on SH4 CPUs and remove compiler warnings.
545 Simplify the GET_UNALIGNED_W macro and use it in all cases instead of making it
546 conditional on CPU types. This missed some CPUs that needed it (e.g. SH4), and
547 in any case the implementation caused "dereferencing type-punned pointer will
548 break strict-aliasing rules" warnings.
550 Enable extra warnings, but disable signed comparison and missing field
551 initializer warnings as these are not helpful.
553 Update write_boot_label() so that the boot_sector_16 and boot_sector cases are
554 handled separately instead of using an aliased pointer, as that causes
555 "dereferencing type-punned pointer will break strict-aliasing rules" warnings.
557 Make date_dos2unix(), usage() and cdiv() static functions as they are only used
558 in the files in which they are declared.
560 Update bad_name() and lfn_get() so that the extension is processed separately
561 instead of by indexing past the end of the name field as that causes "array
562 subscript is above array bounds" warnings.
564 Update the dosfsck() main function to avoid a warning that free_clusters may
565 be used uninitialized. Do not print the final count of files and clusters when
566 dosfsck is run with the "-b" option because the used files and clusters have
567 not been counted in this case.
569 Alter the setup_tables() function so that it does not cause an "array subscript
570 is below array bounds" warning.
572 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
575 Author: James Byrne <jbyrne@aminocom.com>
576 Date: Mon Apr 22 13:32:01 2013 +0100
578 Add a .gitignore file.
580 Add a .gitignore file so that the results of compilation do not appear as
583 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
586 Author: James Byrne <jbyrne@aminocom.com>
587 Date: Mon Apr 22 12:38:52 2013 +0100
589 Finish cleanup of byteswap code.
591 Commit 9ba8992 left three references to the old CT_LE_W macro.
592 Remove these since no conversion was needed as the value being
595 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
598 Author: Daniel Baumann <mail@daniel-baumann.ch>
599 Date: Thu Apr 4 08:08:00 2013 +0200
601 Shortening links to upstream homepage.
603 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
606 Author: Cristian RodrÃguez <crrodriguez@opensuse.org>
607 Date: Fri Mar 1 08:23:34 2013 +0100
609 Fix offsetof definition.
611 * include stddef.h to get the correct offsetof definition.
612 * remove local offsetof definition, systems not having it on stddef.h
613 are in violation of C89, C99, POSIX.1-2001.
615 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
618 Author: Cristian RodrÃguez <crrodriguez@opensuse.org>
619 Date: Fri Mar 1 08:58:36 2013 +0100
621 Cleanup byteswap code.
623 Remove all duplicate macro definitions for byteswapping routines
624 and replace them for proper usage of userspace endian(3).
626 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
628 commit 8733e12 (tag: v3.0.16)
629 Author: Daniel Baumann <mail@daniel-baumann.ch>
630 Date: Wed May 29 10:06:01 2013 +0200
632 Releasing version 3.0.16.
634 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
637 Author: Petr Gajdos <pgajdos@suse.cz>
638 Date: Fri Mar 1 08:34:12 2013 +0100
640 Create rootdir entry volume label with mkdosfs, create it when
641 it doesn't exist with dosfslabel.
643 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
644 for more information.
646 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
649 Author: Petr Gajdos <pgajdos@suse.cz>
650 Date: Fri Mar 1 08:33:18 2013 +0100
652 Forbid lowercase letters in label.
654 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
655 http://support.microsoft.com/kb/71715/en-us for more information.
657 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
660 Author: Petr Gajdos <pgajdos@suse.cz>
661 Date: Fri Mar 1 08:32:02 2013 +0100
663 Read label also from rootdir entry.
665 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
666 for more information.
668 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
671 Author: Petr Gajdos <pgajdos@suse.cz>
672 Date: Fri Mar 1 08:30:21 2013 +0100
674 alloc_rootdir_entry() is intended to be called with pattern == "FSCK%04dREC",
675 the old code (probably c&p from auto_rename()) doesn't reflect this.
677 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
680 Author: Petr Gajdos <pgajdos@suse.cz>
681 Date: Fri Mar 1 08:29:00 2013 +0100
683 Instead of eleven blanks, fill in "NO NAME " as specification tells.
685 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
686 http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html for more information.
688 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
691 Author: Petr Gajdos <pgajdos@suse.cz>
692 Date: Fri Mar 1 08:58:15 2013 +0100
694 Write uppercase letters in label.
696 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
697 http://support.microsoft.com/kb/71715/en-us for more information.
699 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
701 commit a75fb1c (tag: v3.0.15)
702 Author: Daniel Baumann <mail@daniel-baumann.ch>
703 Date: Thu Feb 21 15:06:52 2013 +0100
705 Releasing version 3.0.15.
707 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
710 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
711 Date: Mon Feb 4 00:22:34 2013 +0400
713 Using wcstombs() to convert LFN unicode characters to printable text.
715 This closes Debian bug #596336.
717 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
720 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
721 Date: Sun Sep 5 18:59:47 2010 +0400
723 Recode short filenames from DOS codepage (default 437).
725 Recode short filenames from DOS codepage (default 437) to the current
726 character encoding. This makes messages of dosfsck more readable.
727 Partially closes Debian bug #596336.
729 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
732 Author: Jaroslav Skarvada <jskarvad@redhat.com>
733 Date: Thu Feb 21 14:40:52 2013 +0100
735 Fixing root directory allocation.
737 See https://bugzilla.redhat.com/show_bug.cgi?id=674095 for more information.
739 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
742 Author: Jaroslav Skarvada <jskarvad@redhat.com>
743 Date: Thu Feb 21 14:40:25 2013 +0100
745 Fixing device detection.
747 See https://bugzilla.redhat.com/show_bug.cgi?id=710480 for more information.
749 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
751 commit 7a75638 (tag: v3.0.14)
752 Author: Daniel Baumann <mail@daniel-baumann.ch>
753 Date: Wed Jan 23 13:22:01 2013 +0100
755 Releasing version 3.0.14.
757 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
760 Author: Daniel Baumann <mail@daniel-baumann.ch>
761 Date: Wed Jan 23 13:16:20 2013 +0100
763 Documenting dosfsck -b in its manpage.
765 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
768 Author: Oleksij Rempel <bug-track@fisher-privat.net>
769 Date: Wed Jan 23 12:36:56 2013 +0100
771 Adding option for bootsector read-only check.
773 Most boot sectors may contains marker for filesystem state. We can this
774 bit on every mount and warn user if some thing wrong, without checking
777 Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
778 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
781 Author: Oleksij Rempel <bug-track@fisher-privat.net>
782 Date: Wed Jan 23 12:35:13 2013 +0100
784 Checking boot sector for dirty bit.
786 Some OSos use reseved byte of boot sector to set state of the file
787 system. If first bit set, then filesystem is proably damaged - write
788 operation was not finished/cache not snycted/...
790 Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
791 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
794 Author: Daniel Baumann <mail@daniel-baumann.ch>
795 Date: Wed Jan 23 12:25:59 2013 +0100
797 Completing and updating all copyright headers for 2013.
799 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
802 Author: Daniel Baumann <mail@daniel-baumann.ch>
803 Date: Wed Jan 23 12:17:20 2013 +0100
805 Updating my email address.
807 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
809 commit 13cdb4d (tag: v3.0.13)
810 Author: Daniel Baumann <mail@daniel-baumann.ch>
811 Date: Sat Jun 30 19:10:44 2012 +0200
813 Releasing version 3.0.13.
815 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
818 Author: Jaroslav Å karvada <jskarvad@redhat.com>
819 Date: Sat Jun 30 19:09:11 2012 +0200
821 Fix 'dosfslabel throws "Seek to 114116076544:Invalid argument" error when labeling'.
823 See https://bugzilla.redhat.com/show_bug.cgi?id=693662 for more information.
825 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
827 commit e243612 (tag: v3.0.12)
828 Author: Daniel Baumann <mail@daniel-baumann.ch>
829 Date: Sat Oct 29 08:40:53 2011 +0200
831 Releasing version 3.0.12.
833 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
836 Author: Michael Casadevall <mcasadevall@ubuntu.com>
837 Date: Tue Jun 7 19:19:30 2011 +0200
839 Correcting miscalculation of sector number in some cases.
841 mkdosfs will incorrectly calculate the number of sectors of a
842 given FAT partition if the number sectors are odd due to
843 count_blocks incorrectly handling the remainder of a division
844 operation. This miscalculation causes the OMAP4 bootloader to
847 This bug can be observed by comparing the total sector size in
848 fdisk expert more to fsck.msdos; this discrepancy only shows up
849 when the number of sectors are odd.
851 See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043
852 for more information.
854 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
857 Author: Daniel Baumann <mail@daniel-baumann.ch>
858 Date: Sat Jan 8 23:38:59 2011 +0100
862 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
865 Author: Sergey Gusarov <laborer2008@gmail.com>
866 Date: Sat Jan 8 23:36:11 2011 +0100
868 Fixing compiler warnings related to the mismatch of types "char *" / "unsigned
871 These warnings appear when you compile the project with the option "-Wall", what
872 is done with the current default Makefile.
874 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
877 Author: Jaroslav Skarvada <jskarvad@redhat.com>
878 Date: Thu Jan 6 22:35:00 2011 +0100
880 Fixing overflow bug in reclaim_file function, see
881 https://bugzilla.redhat.com/show_bug.cgi?id=660154 for more information.
883 The problem is that alloc_rootdir_entry counts with 10000 files at max, but the
884 filename buffer is only 8 chars long. Due to pattern mask used it results to
885 only 10 files at max (FSCK0-9REC). If there is more than 10 files, it overflows
888 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
891 Author: Sergey Gusarov <laborer2008@gmail.com>
892 Date: Thu Jan 6 22:31:39 2011 +0100
894 Fixing conversion specifiers in accordance with the type of expressions.
896 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
899 Author: Daniel Baumann <mail@daniel-baumann.ch>
900 Date: Sun Jan 2 15:41:44 2011 +0100
902 Indenting source files.
904 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
907 Author: Daniel Baumann <mail@daniel-baumann.ch>
908 Date: Sun Jan 2 15:39:03 2011 +0100
910 Adding Nindent script from syslinux.
912 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
914 commit 66d55cd (tag: v3.0.11)
915 Author: Daniel Baumann <mail@daniel-baumann.ch>
916 Date: Fri Dec 24 17:58:29 2010 +0100
918 Releasing version 3.0.11.
920 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
923 Author: Michael Stapelberg <michael@stapelberg.de>
924 Date: Fri Nov 19 14:09:36 2010 +0100
926 Add better error message when the device cannot be opened.
928 This is helpful for SD cards or other removable media which have an enabled
929 write lock -- without the "Permission denied" message, the user has to strace
930 mkdosfs to find out what's going on.
932 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
935 Author: Jaroslav Skarvada <jskarvad@redhat.com>
936 Date: Fri Oct 8 13:38:16 2010 +0200
938 Unalign on s390x, see http://bugzilla.redhat.com/show_bug.cgi?id=624596 for
941 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
943 commit 5ef7f1f (tag: v3.0.10)
944 Author: Daniel Baumann <mail@daniel-baumann.ch>
945 Date: Sun Sep 12 09:35:47 2010 +0200
947 Releasing version 3.0.10.
949 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
952 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
953 Date: Sun Sep 12 09:29:12 2010 +0200
955 Modify LFN direntries when file is renamed or deleted, see
958 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
961 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
962 Date: Sun Sep 12 09:27:07 2010 +0200
964 If the test of short filename fails, dosfsck could complain about
965 bad long filename, see Debian bug #596327.
967 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
970 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
971 Date: Sun Sep 12 09:24:47 2010 +0200
973 dosfsck: don't complain about bad filenames when short filename
974 contains 7 or more characters with codes 128-255, see Debian
977 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
980 Author: Mitch Rybczynski <mrybczynski@miovision.com>
981 Date: Mon Jul 5 14:45:54 2010 +0200
983 Adding __arm__ define check for some crosscompile toolchains.
985 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
988 Author: Daniel Baumann <mail@daniel-baumann.ch>
989 Date: Sun Mar 14 16:42:32 2010 +0100
991 Modernizing dosfslabel manpage.
993 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
996 Author: Daniel Baumann <mail@daniel-baumann.ch>
997 Date: Sun Mar 14 16:33:47 2010 +0100
999 Modernizing dosfsck manpage.
1001 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1004 Author: Daniel Baumann <mail@daniel-baumann.ch>
1005 Date: Sun Mar 14 16:05:32 2010 +0100
1007 Fixing spelling error in boot.c.
1009 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1011 commit 5b6849d (tag: v3.0.9)
1012 Author: Daniel Baumann <mail@daniel-baumann.ch>
1013 Date: Sun Jan 31 08:31:32 2010 +0100
1015 Releasing version 3.0.9.
1017 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1020 Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
1021 Date: Sun Jan 31 00:11:41 2010 -0500
1023 Be sure to store the updated reserved_sector count in the boot sector,
1024 see Debian bug #567337.
1026 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1028 commit 2a3bef8 (tag: v3.0.8)
1029 Author: Daniel Baumann <mail@daniel-baumann.ch>
1030 Date: Sat Jan 23 10:16:18 2010 +0100
1032 Releasing version 3.0.8.
1034 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1037 Author: Daniel Baumann <mail@daniel-baumann.ch>
1038 Date: Sat Jan 23 10:15:01 2010 +0100
1040 Removing some cruft in end-comments.
1042 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1045 Author: Steven J. Magnani <steve@digidescorp.com>
1046 Date: Thu Jan 21 16:58:11 2010 +0100
1048 When compiling a 32-bit version of dosfstools on an x86_64 machine,
1049 the resulting applications report strange errors on "large" (> 2 GiB)
1052 Seek to -2118967808:Invalid argument
1054 Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
1055 but has only 8613 clusters, less than the required minimum of 65525.
1056 This may lead to problems on some systems.
1058 This appears to be due to compilation with a 32-bit off_t and lseek() library
1061 Use lseek64 for positioning, and change some suspect uses of off_t to loff_t.
1063 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1066 Author: Steven J. Magnani <steve@digidescorp.com>
1067 Date: Thu Jan 21 16:56:26 2010 +0100
1069 If dosfsck is run in read-only mode (-n), exit with code 0
1070 if the only issue found is an uninitialized free cluster summary.
1072 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1075 Author: Steven J. Magnani <steve@digidescorp.com>
1076 Date: Thu Jan 21 16:55:30 2010 +0100
1078 On x86_64, dosfsck incorrectly claims that a free_cluster summary of
1079 0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong.
1081 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1084 Author: H. Peter Anvin <hpa@zytor.com>
1085 Date: Fri Jan 8 09:16:38 2010 +0100
1087 mkdosfs: correct alignment of the root directory.
1089 Correct the code to align the root directory; it was broken before
1090 since bs.dir_entries had already been set at the point of alignment.
1091 This patch removes the dual use of bs.dir_entries and root_dir_entries
1092 to carry the same information: the information is carried in
1093 root_dir_entires exclusively, and then bs.dir_entries is set inside
1094 setup_tables() at a late point.
1096 The code to align the root directory is also wrapped in
1097 if (align_structures); this avoids rounding the number of root
1098 directory entries up to a whole sector when used with -a
1099 (i.e. preserves the previous behavior.)
1101 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1104 Author: H. Peter Anvin <hpa@zytor.com>
1105 Date: Wed Jan 6 20:55:36 2010 +0100
1107 mkdosfs: improve wording in the man page for the -a option.
1109 Improve the English language used in the man page for the -a (no
1110 align) option to mkdosfs.
1112 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1115 Author: Daniel Baumann <mail@daniel-baumann.ch>
1116 Date: Wed Jan 6 11:27:25 2010 +0100
1118 Adding reference to dosfslable in mkdosfs manpage.
1120 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1123 Author: H. Peter Anvin <hpa@zytor.com>
1124 Date: Wed Jan 6 11:18:55 2010 +0100
1126 mkdosfs: by default align all structures to cluster boundaries
1128 Align all data structures (reserved sectors, FATs, root directory for
1129 FAT12/16) to an even multiple of the cluster size. This means that if
1130 the partition is aligned, so will all clusters be. This adds
1131 significant performance for anything where the physical sector size is
1132 larger than the logical sector size, e.g. flash media or large-sector
1135 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1137 commit 171bc07 (tag: v3.0.7)
1138 Author: Daniel Baumann <mail@daniel-baumann.ch>
1139 Date: Thu Dec 24 10:53:36 2009 +0100
1141 Releasing version 3.0.7.
1143 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1146 Author: Ben Hutchings <ben@decadent.org.uk>
1147 Date: Thu Dec 24 09:55:52 2009 +0100
1149 Fixing dosfslabel to set volume label in the right place,
1150 see Debian bug #559985.
1152 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1155 Author: Lubomir Rintel <lkundrak@v3.sk>
1156 Date: Thu Dec 24 09:39:39 2009 +0100
1158 Fixing out-of bound writes.
1160 Firstly, packed attribute is added to the structure so that extension
1161 is guarranteed to immediately follow name for the cross-name-extension
1164 Secondly, writes into dir_entry->name that span through the extension as
1165 well are split into two, so that FORTIFY_SOURCE's bound checking does
1166 not abort dosfsck. There also was an off-by-one error in auto_rename()'s
1169 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1172 Author: San Mehat <san@google.com>
1173 Date: Thu Dec 24 09:31:41 2009 +0100
1175 Adding custom exit code in dosfsck for the case where the FS is read only.
1177 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1179 commit 0657e01 (tag: v3.0.6)
1180 Author: Daniel Baumann <mail@daniel-baumann.ch>
1181 Date: Sun Oct 4 10:59:33 2009 +0200
1183 Releasing version 3.0.6.
1185 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1188 Author: Steven J. Magnani <steve@digidescorp.com>
1189 Date: Sun Oct 4 10:58:43 2009 +0200
1191 Attempt to improve clarity of the orphan cluster reclaim code.
1192 Minor optimization - remove some unnecessary checking.
1194 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1197 Author: Steven J. Magnani <steve@digidescorp.com>
1198 Date: Sun Oct 4 08:37:19 2009 +0200
1200 Close hole that permitted clusters to link to (invalid) cluster 1.
1202 If an orphan chain that linked to cluster 1 was reclaimed to a file,
1203 deletion of the file would result in a filesystem panic.
1205 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1208 Author: Steven J. Magnani <steve@digidescorp.com>
1209 Date: Sun Oct 4 08:32:30 2009 +0200
1211 Fix erroneous report of huge number of clusters in use on big-endian
1212 systems when the FSINFO free cluster count is reset.
1214 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1216 commit 16ba63f (tag: v3.0.5)
1217 Author: Daniel Baumann <mail@daniel-baumann.ch>
1218 Date: Mon Jul 27 14:26:11 2009 +0200
1220 Releasing version 3.0.5.
1222 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1225 Author: Piotr Kaczuba <pepe@attika.ath.cx>
1226 Date: Sun Jul 26 22:21:25 2009 +0200
1228 Signed/unsigned char mismatch in check.c causes false positives
1229 in bad_name() and can result in data loss, see Debian bug #538758.
1231 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1234 Author: Andrew Tridgell <tridge@samba.org>
1235 Date: Sun Jul 26 22:12:06 2009 +0200
1237 Update to new kernel patches that add FAT_NO_83NAME flag.
1239 See http://lkml.org/lkml/2009/7/20/425 and
1240 http://lkml.org/lkml/2009/7/20/424 for more information.
1242 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1244 commit dd0f0b5 (tag: v3.0.4)
1245 Author: Daniel Baumann <mail@daniel-baumann.ch>
1246 Date: Tue Jul 21 08:10:52 2009 +0200
1248 Releasing version 3.0.4.
1250 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1253 Author: Andrew Tridgell <tridge@samba.org>
1254 Date: Tue Jul 21 07:59:22 2009 +0200
1256 Modify dosfstools to support the dummy 8.3 short filename values
1257 used by Linux systems with the VFAT_FS_DUALNAMES option disabled.
1259 See http://lkml.org/lkml/2009/6/26/313 and
1260 http://lkml.org/lkml/2009/6/26/314 for more information.
1262 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1265 Author: Paul Rupe <prupe@nc.rr.com>
1266 Date: Tue May 19 10:37:52 2009 +0200
1268 Fixing "Too many files need repair" error during fsck.
1270 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1272 commit 7c16098 (tag: v3.0.3)
1273 Author: Daniel Baumann <mail@daniel-baumann.ch>
1274 Date: Mon May 18 15:12:04 2009 +0200
1276 Releasing version 3.0.3.
1278 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1281 Author: Daniel Baumann <mail@daniel-baumann.ch>
1282 Date: Mon May 18 15:10:55 2009 +0200
1284 Also declaring arm as an unaligned architecture, see Debian bug #502961.
1286 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1289 Author: Steven J. Magnani <steve@digidescorp.com>
1290 Date: Mon May 18 15:01:49 2009 +0200
1292 Adding support for limited-memory embedded systems.
1294 This patch reorganizes heap memory usage by dosfsck and mkdosfs
1295 to support limited-memory embedded systems - in particular, those
1296 based on Xilinx's Microblaze processor. It also adds a few comments.
1298 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1301 Author: Mike Frysinger <vapier@gentoo.org>
1302 Date: Thu Mar 5 07:03:36 2009 +0100
1304 Declaring Blackfin as an unaligned architecture.
1306 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1308 commit b54a8a4 (tag: v3.0.2)
1309 Author: Daniel Baumann <mail@daniel-baumann.ch>
1310 Date: Sat Feb 28 09:48:04 2009 +0100
1312 Releasing version 3.0.2.
1314 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1317 Author: Hiroaki Ishizawa <hiroaki.ishizawa@gmail.com>
1318 Date: Fri Feb 13 10:00:46 2009 +0100
1320 dosfsck corrupts root directory when fs->nfats is 1.
1322 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1325 Author: Stepan Kasal <skasal@redhat.com>
1326 Date: Fri Jan 30 14:56:33 2009 +0100
1328 src/dosfslabel.c (main): After writing the label, exit code should be 0.
1330 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1333 Author: Daniel Baumann <mail@daniel-baumann.ch>
1334 Date: Fri Jan 30 14:06:01 2009 +0100
1336 Also installing ChangeLog in install-doc target of Makefile.
1338 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1341 Author: Stepan Kasal <skasal@redhat.com>
1342 Date: Fri Jan 30 14:05:12 2009 +0100
1344 Makefile: Do not clobber time stamps of doc files.
1346 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1348 commit df2d2f1 (tag: v3.0.1)
1349 Author: Daniel Baumann <mail@daniel-baumann.ch>
1350 Date: Sun Nov 23 22:45:45 2008 +0100
1352 Releasing version 3.0.1.
1354 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1357 Author: Daniel Baumann <mail@daniel-baumann.ch>
1358 Date: Sun Nov 23 18:41:01 2008 +0100
1360 Applying Fedoras dosfstools-vfat-timingfix.diff from Bill Nottingham
1361 <notting@redhat.com> to fix vfat timing issue. See
1362 https://bugzilla.redhat.com/show_bug.cgi?id=448247 for more information.
1364 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1367 Author: Ulrich Mueller <ulm@gentoo.org>
1368 Date: Tue Oct 7 07:55:37 2008 +0200
1370 Patch to check for bad number of clusters in dosfsck:
1372 * FAT16 filesystems with 65525 clusters or more will be rejected
1373 (Before, this was not tested for. Up to 65535 clusters were accepted
1376 * For FAT32 filesystems with less than 65525 a warning message will be
1379 Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it
1380 consistent with the definition in mkdosfs and to remove the dependency
1381 on the kernel version.
1383 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1386 Author: Dann Frazier <dannf@hp.com>
1387 Date: Tue Sep 30 07:25:19 2008 +0200
1389 Changing some wording to make the indended meaning of "full-disk device"
1392 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1394 commit 21e9ba0 (tag: v3.0.0)
1395 Author: Daniel Baumann <mail@daniel-baumann.ch>
1396 Date: Sun Sep 28 11:43:19 2008 +0200
1398 Releasing version 3.0.0.
1400 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1403 Author: Daniel Baumann <mail@daniel-baumann.ch>
1404 Date: Sun Sep 28 11:29:01 2008 +0200
1406 Adding GPL headers to all files.
1408 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1411 Author: Daniel Baumann <mail@daniel-baumann.ch>
1412 Date: Sun Sep 28 10:51:55 2008 +0200
1414 Adding new GPL license file.
1416 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1419 Author: Daniel Baumann <mail@daniel-baumann.ch>
1420 Date: Fri Sep 26 23:31:12 2008 +0200
1422 Redoing Makefile from scratch.
1424 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1427 Author: Daniel Baumann <mail@daniel-baumann.ch>
1428 Date: Sat Sep 27 00:17:38 2008 +0200
1430 Removing whitespaces in all files at EOL and EOF.
1432 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1435 Author: Daniel Baumann <mail@daniel-baumann.ch>
1436 Date: Fri Sep 26 23:48:56 2008 +0200
1438 Adding Debians dosfslabel.8 manpage from Francois Wendling
1439 <frwendling@free.fr>.
1441 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1444 Author: Daniel Baumann <mail@daniel-baumann.ch>
1445 Date: Fri Sep 26 18:36:04 2008 +0200
1447 Updating version.h includes to new location of version.h file.
1449 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1452 Author: Daniel Baumann <mail@daniel-baumann.ch>
1453 Date: Fri Sep 26 18:19:36 2008 +0200
1455 Removing old lsm file.
1457 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1460 Author: Daniel Baumann <mail@daniel-baumann.ch>
1461 Date: Fri Sep 26 18:07:47 2008 +0200
1463 Removing old cvsignore files.
1465 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1468 Author: Daniel Baumann <mail@daniel-baumann.ch>
1469 Date: Fri Sep 26 18:18:39 2008 +0200
1471 Removing old build file.
1473 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1476 Author: Daniel Baumann <mail@daniel-baumann.ch>
1477 Date: Fri Sep 26 18:19:16 2008 +0200
1479 Removing old GPL license files.
1481 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1484 Author: Daniel Baumann <mail@daniel-baumann.ch>
1485 Date: Fri Sep 26 18:21:57 2008 +0200
1487 Unifying dosfsck and mkdosfs Makefiles in common src/Makefile.
1489 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1492 Author: Daniel Baumann <mail@daniel-baumann.ch>
1493 Date: Fri Sep 26 18:04:02 2008 +0200
1495 Unifying dosfsck and mkdosfs sources in common src directory.
1497 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1500 Author: Daniel Baumann <mail@daniel-baumann.ch>
1501 Date: Fri Sep 26 18:05:27 2008 +0200
1503 Unifying dosfsck and mkdosfs manpages in common man directory.
1505 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1508 Author: Daniel Baumann <mail@daniel-baumann.ch>
1509 Date: Fri Sep 26 18:12:29 2008 +0200
1511 Unifying dosfsck and mkdosfs documents in common doc directory.
1513 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1516 Author: Daniel Baumann <mail@daniel-baumann.ch>
1517 Date: Fri Sep 26 15:39:51 2008 +0200
1519 Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples
1520 <uberlord@gentoo.org> to alias dosfsck -p to -a:
1522 * Map -p to -a for baselayout-2, #177514.
1524 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1527 Author: Daniel Baumann <mail@daniel-baumann.ch>
1528 Date: Fri Sep 26 15:49:43 2008 +0200
1530 Applying Gentoos dosfstools-2.11-build.patch from Mike Frysinger
1531 <vapier@gentoo.org> to improve Makefile:
1533 * Respect user settings #157785/#157786 by Diego Petteno.
1535 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1538 Author: Daniel Baumann <mail@daniel-baumann.ch>
1539 Date: Fri Sep 26 15:37:34 2008 +0200
1541 Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from
1542 Robin H. Johnson <robbat2@gentoo.org> to fix double count of files
1543 during verification:
1545 * Don't double-count n_files during a verification pass.
1546 Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845
1548 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1551 Author: Daniel Baumann <mail@daniel-baumann.ch>
1552 Date: Fri Sep 26 15:33:36 2008 +0200
1554 Applying Gentoos dosfstools-2.11-fat32size.patch from Mike Frysinger
1555 <vapier@gentoo.org> to fix generation of filesystems on 256meg devices:
1557 * Fix generation of FAT filesystems on devices that are 256meg in size
1558 Patch by Ulrich Mueller and accepted upstream
1559 http://bugs.gentoo.org/112504
1561 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1564 Author: Daniel Baumann <mail@daniel-baumann.ch>
1565 Date: Fri Sep 26 15:22:06 2008 +0200
1567 Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr
1568 Gajdos <pgajdos@suse.cz> to add sector size warning:
1570 * added warning for creation msdos on filesystem with sector size
1571 greater than 4096 [fate#303325]
1573 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1576 Author: Daniel Baumann <mail@daniel-baumann.ch>
1577 Date: Fri Sep 26 15:18:35 2008 +0200
1579 Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel
1580 <lnussel@suse.de> to fix handling of zero heads and sectors:
1582 * the HDIO_GETGEO ioctl works on device mapper devices but returns
1583 zero heads and sectors. Therefore let's a) assume dummy values in
1584 that case in mkdosfs and b) don't consider such fat file systems as
1585 invalid in dosfsck. The Linux kernel accepts them anyways.
1587 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1590 Author: Daniel Baumann <mail@daniel-baumann.ch>
1591 Date: Fri Sep 26 15:15:40 2008 +0200
1593 Applying Suses dosfstools-2.11-linuxfs.patch from Ruediger Oertel
1594 <ro@suse.de> to not include linux/fs.h.
1596 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1599 Author: Daniel Baumann <mail@daniel-baumann.ch>
1600 Date: Fri Sep 26 15:11:50 2008 +0200
1602 Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
1603 <pvrabec@redhat.com> to remove linux 2.6 conditionals:
1605 * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
1606 glibc-kernheaders-2.4-9.1.94
1608 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1611 Author: Daniel Baumann <mail@daniel-baumann.ch>
1612 Date: Fri Sep 26 15:05:00 2008 +0200
1614 Applying Debians 99-conglomeration.dpatch (no other information
1617 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1620 Author: Daniel Baumann <mail@daniel-baumann.ch>
1621 Date: Fri Sep 26 14:26:41 2008 +0200
1623 Applying Debians 15-manpage-files.dpatch from Daniel Baumann
1624 <daniel@debian.org> to improve dosfsck manpage:
1626 * Lists fsckNNNN.rec files in FILES section (Closes: #444596).
1628 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1631 Author: Daniel Baumann <mail@daniel-baumann.ch>
1632 Date: Fri Sep 26 14:34:42 2008 +0200
1634 Applying Debians 13-getopt.dpatch from Adonikam Virgo
1635 <adonikam@virgonet.org> to fix mkdosfs getopt:
1637 * Fixes backup sector getopt (Closes: #232387, #479794).
1639 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1642 Author: Daniel Baumann <mail@daniel-baumann.ch>
1643 Date: Fri Sep 26 14:34:17 2008 +0200
1645 Applying Debians 12-zero-slot.dpatch by Karl Tomlinson
1646 <karlt@karlt.net> to fix dosfsck zero slot crashes:
1648 * Fixes crashes due to zero slot numbers causing a negative offset in
1649 the call to copy_lfn_part in lfn_add_slot. On amd64 this results in
1650 a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and
1651 thus sometimes a SIGSEGV or double free abort later. (Closes:
1652 #152550, #353198, #356377, #401798).
1654 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1657 Author: Daniel Baumann <mail@daniel-baumann.ch>
1658 Date: Fri Sep 26 14:33:54 2008 +0200
1660 Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen
1661 <eero.tamminen@nokia.com> to improve dosfsck memory efficiency:
1663 * Improves memory efficiency when checking filesystems.
1665 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1668 Author: Daniel Baumann <mail@daniel-baumann.ch>
1669 Date: Fri Sep 26 14:33:28 2008 +0200
1671 Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
1672 <daniel@debian.org> to fix manpage synopsis:
1674 * List alternative binary names in manpage synopsis (Closes: #284983).
1676 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1679 Author: Daniel Baumann <mail@daniel-baumann.ch>
1680 Date: Fri Sep 26 14:32:46 2008 +0200
1682 Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann
1683 <daniel@debian.org> to improve mkdosfs manpage:
1685 * Don't claim that FAT32 is not choosed automatically (Closes:
1688 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1691 Author: Daniel Baumann <mail@daniel-baumann.ch>
1692 Date: Fri Sep 26 14:32:23 2008 +0200
1694 Applying Debians 08-manpage-drop.dpatch from Daniel Baumann
1695 <daniel@debian.org> to improve dosfsck manpage:
1697 * Don't use confusing word 'drop' when 'delete' is meant (Closes:
1700 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1703 Author: Daniel Baumann <mail@daniel-baumann.ch>
1704 Date: Fri Sep 26 14:31:50 2008 +0200
1706 Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby
1707 <justinpryzby@users.sourceforge.net> to fix mkdosfs manpage typos.
1709 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1712 Author: Daniel Baumann <mail@daniel-baumann.ch>
1713 Date: Fri Sep 26 14:30:31 2008 +0200
1715 Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr
1716 Gajdos <pgajdos@suse.cz> to determine mkdosfs sector size automatically:
1718 * determine sector size of device automatically or if -S parameter
1719 present, verify, that it's not under physical sector size
1721 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1724 Author: Daniel Baumann <mail@daniel-baumann.ch>
1725 Date: Fri Sep 26 14:30:03 2008 +0200
1727 Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak
1728 <prusnak@suse.cz> to use O_EXCL in mkdosfs:
1730 * mkdosfs now opens device with O_EXCL [#238687]
1732 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1735 Author: Daniel Baumann <mail@daniel-baumann.ch>
1736 Date: Fri Sep 26 14:29:36 2008 +0200
1738 Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz
1739 <khalid_aziz@hp.com> to fix dosfsck unaligned memory accesses:
1741 * Fix unaligned memory accesses which cause warnings to appear
1742 everytime the elilo bootloader script runs. This has led a number of
1743 users to believe their install has failed (Closes: #258839).
1745 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1748 Author: Daniel Baumann <mail@daniel-baumann.ch>
1749 Date: Fri Sep 26 13:47:40 2008 +0200
1751 Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz
1752 <katzj@redhat.com> to add dosfslabel (originally by Peter Jones).
1754 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1757 Author: Daniel Baumann <mail@daniel-baumann.ch>
1758 Date: Fri Sep 26 13:41:14 2008 +0200
1760 Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek
1761 <jakub@redhat.com> to make it build with -D_FORTIFY_SOURCE=2:
1763 * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C
1764 standard), but isn't actually any buffer overflow. But using memcpy
1765 is more efficient anyway.
1767 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1770 Author: Daniel Baumann <mail@daniel-baumann.ch>
1771 Date: Fri Sep 26 13:40:47 2008 +0200
1773 Applying Fedoras dosfstools-2.7-argfix.patch (no other information
1776 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1778 commit ba6774a (tag: v2.11)
1779 Author: Daniel Baumann <mail@daniel-baumann.ch>
1780 Date: Thu Jun 26 12:45:36 2008 +0200
1782 Adding version 2.11.
1784 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>