1 commit 6893c45 (HEAD, origin/master, origin/HEAD, master)
2 Author: Dir Lotter <dirk.lotter@siemens.com>
3 Date: Fri Mar 7 18:25:39 2014 +0100
5 Fix "odd" files created by frequent power-loss.
7 After running many power losses the filesystem can degrate, containing "odd"
8 files making the filesystem corrupt that could not be solved by fsck:
10 * file was not visible in a ls -l
11 * ls -i reported a "invalid file name" on the console
12 * a test program with diropen/dirread showed the file, a stat on this file
14 * file was not accessible and could not be deleted
16 After digging into the code we found why fsck didn't repair the file system:
17 One thing was we don't have short filenames. Another issue was that the LFN
18 pointer was set to NULL and so it looked like we didn't have short and long
21 Our patch of check.c includes:
23 * returns 1 from function bad_name() in case no short and no long filename
25 * auto_rename() and rename_file() got a special handling for the case no short
27 - it enables the short file name (we think here was a weakness of the old
28 code: it changed the short filename but didn't enabled it in the
29 file->dir_ent.lcase entry)
30 - it reset all attributes except ATTR_DIR and ATTR_VOLUME
32 This solved our problem pretty well.
34 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
37 Author: Natanael Copa <ncopa@alpinelinux.org>
38 Date: Sat Feb 8 18:53:30 2014 +0100
40 Build fixes for musl libc.
42 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
44 commit 52588b7 (tag: v3.0.25)
45 Author: Daniel Baumann <mail@daniel-baumann.ch>
46 Date: Fri Jan 17 07:11:11 2014 +0100
48 Releasing version 3.0.25.
50 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
53 Author: Daniel Baumann <mail@daniel-baumann.ch>
54 Date: Fri Jan 17 07:09:54 2014 +0100
56 Updating copyright headers for 2014.
58 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
61 Author: Andrew Tridgell <tridge@samba.org>
62 Date: Tue Jan 14 09:37:51 2014 +1100
64 Fixed remaining 64 bit build warnings.
66 Some of these may be real bugs.
68 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
71 Author: Andrew Tridgell <tridge@samba.org>
72 Date: Tue Jan 14 09:25:28 2014 +1100
74 Prevent corruption of FAT during fsck on 64 bit platforms.
76 unsigned long is 64 bit on x86-64, which means set_fat was writing two
77 entries, which corrupts the next entry. This can cause loss of data in
80 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
82 commit 0d2c9bc (tag: v3.0.24)
83 Author: Daniel Baumann <mail@daniel-baumann.ch>
84 Date: Sat Nov 23 10:36:55 2013 +0100
86 Releasing version 3.0.24.
88 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
91 Author: Jaroslav Skarvada <jskarvad@redhat.com>
92 Date: Sat Nov 23 10:34:48 2013 +0100
94 Fixed dosfsck on big endian platforms (Resolves: rhbz#1029695).
96 It seems there is problem in the double conversion on big endians.
97 The first conversion is done by the explicit conversion to __u16
98 in the GET_UNALIGNED_W macro, so the secondary conversion by le16toh
99 seems to be redundant (and wrong).
101 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
103 commit 6debb4a (tag: v3.0.23)
104 Author: Daniel Baumann <mail@daniel-baumann.ch>
105 Date: Tue Oct 15 08:05:46 2013 +0200
107 Releasing version 3.0.23.
109 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
112 Author: Daniel Baumann <mail@daniel-baumann.ch>
113 Date: Tue Oct 15 08:04:11 2013 +0200
115 Reformating mkfs.fat manpage.
117 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
120 Author: Michael Shigorin <mike@altlinux.org>
121 Date: Tue Oct 15 01:29:33 2013 +0400
123 Fixing "Fixing default sectors per cluster for FAT32" for UEFI.
125 FAT32 "EFI System Partition" is basically required for UEFI boot;
126 commit ge048a8d broke that for me with both virtualbox-4.2 and
127 real hardware (ASUS C60M1-I to be exact) given ~250Mb filesystem.
129 This commit amends that one by reverting its effects for these
130 small sizes by restoring 512b cluster size for <= 260Mb FAT32.
132 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
135 Author: Daniel Baumann <mail@daniel-baumann.ch>
136 Date: Fri Aug 9 09:38:13 2013 +0200
138 Also allowing lowercase labels in mkfs (with warning message) consistent with the recent fsck change, thanks to Michael Baum <mbaum@devonit.com>.
140 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
143 Author: Tim Harder <radhermit@gentoo.org>
144 Date: Fri Jul 19 18:15:21 2013 +0200
146 Add install-man dependency to install-symlinks Makefile target.
148 This fixes a race condition during parallel installs where man page
149 symlinks won't be installed because install-man hasn't been run yet.
151 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
153 commit 651f91c (tag: v3.0.22)
154 Author: Daniel Baumann <mail@daniel-baumann.ch>
155 Date: Fri Jul 19 07:01:19 2013 +0200
157 Releasing version 3.0.22.
159 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
162 Author: Daniel Baumann <mail@daniel-baumann.ch>
163 Date: Fri Jul 19 06:55:24 2013 +0200
165 Addding install-symlinks target to phony targets in Makefile.
167 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
170 Author: Daniel Baumann <mail@daniel-baumann.ch>
171 Date: Fri Jul 19 06:55:00 2013 +0200
173 Adding uninstall-symlinks target in Makefile.
175 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
178 Author: Daniel Baumann <mail@daniel-baumann.ch>
179 Date: Fri Jul 19 06:45:40 2013 +0200
181 Allowing fatlabel to write labels in all lowercase but give a warning about DOS/Windows (Closes: #714971).
183 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
186 Author: John S Gruber <JohnSGruber@gmail.com>
187 Date: Fri Jul 19 06:40:21 2013 +0200
189 Add options and make dos boot sector more compatible with reference system (Closes: #552673).
191 Unless overridden by the user sets the DOS boot sector's
192 hidden-sectors field to match the start of a hard disk's
195 Initialize DOS boot sector drive_number according to FAT media type
196 Addresses LP: #398241 and Debian #552673
198 Adds options to override the DOS boot sector device_number and
201 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
204 Author: Daniel Baumann <mail@daniel-baumann.ch>
205 Date: Wed Jul 17 12:52:20 2013 +0200
207 Correcting wrong check preventing installation of fatlabel legacy manpage symlink.
209 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
211 commit d0065d3 (tag: v3.0.21)
212 Author: Daniel Baumann <mail@daniel-baumann.ch>
213 Date: Tue Jul 16 08:34:28 2013 +0200
215 Releasing version 3.0.21.
217 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
220 Author: Jaroslav Skarvada <jskarvad@redhat.com>
221 Date: Tue Jun 25 14:53:14 2013 +0200
223 Adding the missing -p option to the fsck manpage (to be consistent with the output of the tool).
225 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
228 Author: Patrick J. Volkerding <volkerdi@slackware.com>
229 Date: Mon Jun 24 14:23:00 2013 +0200
231 Using $MANDIR instead of hardcoded ${PREFIX}/share/man in the Makefile.
233 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
236 Author: Daniel Baumann <mail@daniel-baumann.ch>
237 Date: Fri Jun 14 18:50:31 2013 +0200
239 Making install-symlinks Makefile target depend on install-bin to not break when using make in parallel, thanks to David Walser <luigiwalser@yahoo.com>.
241 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
244 Author: Daniel Baumann <mail@daniel-baumann.ch>
245 Date: Wed Jun 12 13:00:10 2013 +0200
247 Using US digit date format in version date, rather than name abbrev.
249 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
251 commit a64195f (tag: v3.0.20)
252 Author: Daniel Baumann <mail@daniel-baumann.ch>
253 Date: Wed Jun 12 12:25:32 2013 +0200
255 Releasing version 3.0.20.
257 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
260 Author: Daniel Baumann <mail@daniel-baumann.ch>
261 Date: Wed Jun 12 12:07:58 2013 +0200
263 Softening message about different boot sectors a bit (Closes: #704198).
265 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
268 Author: Daniel Baumann <mail@daniel-baumann.ch>
269 Date: Wed Jun 12 11:42:52 2013 +0200
271 Harmonizing program name output.
273 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
276 Author: Martin Wilck <mwilck@arcor.de>
277 Date: Wed Jun 12 11:38:00 2013 +0200
279 Don't align FAT to cluster size.
281 See previous patch for explanation.
283 With this patch and the previous two, the
284 mkdosfs generated FAT32 file systems work well in my extremely
285 picky TechniSat device. Of course, they're also detected cleanly
286 by Linux and Windows.
288 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
291 Author: Martin Wilck <mwilck@arcor.de>
292 Date: Wed Jun 12 11:36:08 2013 +0200
294 Don't align FAT32 reserved sectors to cluster size.
296 For certain file system sizes (in particular, exact GB sizes -
297 don't ask me why) a Technisat HD S2 Plus DVB receiver will still
298 choke on mkdosfs generated file systems, even if the sectors per
299 cluster problem is fixed.
301 By comparing the properties of generated FAT32 FS with results
302 of the Windows tool "h2format" (www.heise.de/download/h2format.html),
303 I found that the remaining problems were caused by rounding of the
304 reserved sectors and FAT space to cluster size (the h2format tool
307 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
310 Author: Martin Wilck <mwilck@arcor.de>
311 Date: Wed Jun 12 11:33:33 2013 +0200
313 Fixing default sectors per cluster for FAT32 (Closes: #690062).
315 The default sectors per cluster calculated by mkdosfs are outdated,
316 see http://technet.microsoft.com/en-us/library/cc938438.aspx.
318 The deviations may cause some 3rd party devices (e.g. TechniSat DVB
319 receivers) to hang when reading mkdosfs generated file systems.
321 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
324 Author: Daniel Baumann <mail@daniel-baumann.ch>
325 Date: Tue Jun 11 20:19:09 2013 +0200
327 Splitting out legacy symlink creation in toplevel Makefile to own target.
329 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
332 Author: Daniel Baumann <mail@daniel-baumann.ch>
333 Date: Wed Jun 12 11:29:12 2013 +0200
335 Correcting wrong toolname in fsck.fat.
337 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
340 Author: Daniel Baumann <mail@daniel-baumann.ch>
341 Date: Tue Jun 11 19:51:47 2013 +0200
343 Consistently spelling filesystem as filesystem, and not file system.
345 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
348 Author: Daniel Baumann <mail@daniel-baumann.ch>
349 Date: Tue Jun 11 19:30:19 2013 +0200
351 Removing Debian reference in GPL license headers.
353 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
355 commit 5505cc2 (tag: v3.0.19)
356 Author: Daniel Baumann <mail@daniel-baumann.ch>
357 Date: Tue Jun 11 18:46:03 2013 +0200
359 Releasing version 3.0.19.
361 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
364 Author: Daniel Baumann <mail@daniel-baumann.ch>
365 Date: Tue Jun 11 18:44:50 2013 +0200
367 Running indent on source files.
369 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
372 Author: Daniel Baumann <mail@daniel-baumann.ch>
373 Date: Tue Jun 11 18:41:41 2013 +0200
375 Using memcpy instead of strcpy to fix segfault with fortify, thanks to Dave Reisner <falconindy@jabber.org>.
377 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
380 Author: Daniel Baumann <mail@daniel-baumann.ch>
381 Date: Sun Jun 9 13:17:16 2013 +0200
383 Correcting fsck.fat spelling error in manpages, thanks to E.J.M. Hartman <E.J.M.Hartman@tudelft.nl>.
385 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
387 commit 2d8ef9b (tag: v3.0.18)
388 Author: Daniel Baumann <mail@daniel-baumann.ch>
389 Date: Thu Jun 6 09:49:00 2013 +0200
391 Releasing version 3.0.18.
393 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
396 Author: Daniel Baumann <mail@daniel-baumann.ch>
397 Date: Thu Jun 6 09:38:45 2013 +0200
399 Adding initial i18n support for manpages with po4a.
401 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
404 Author: Daniel Baumann <mail@daniel-baumann.ch>
405 Date: Thu Jun 6 09:17:13 2013 +0200
407 Renaming tools to sane namespace and keeping legacy symlinks in place.
409 dosfslabel becomes fatlabel,
410 dosfsck becomes fsck.fat,
411 and mkdosfs becomes mkfs.fat.
413 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
416 Author: Daniel Baumann <mail@daniel-baumann.ch>
417 Date: Wed Jun 5 07:12:03 2013 +0200
419 Correcting wrong spelling of Debian in mkdosfs manpage.
421 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
424 Author: Daniel Baumann <mail@daniel-baumann.ch>
425 Date: Wed Jun 5 07:10:50 2013 +0200
427 Correcting spelling typo in boot.c.
429 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
432 Author: Martin Pitt <martinpitt@gnome.org>
433 Date: Fri May 24 09:35:44 2013 +0200
435 dosfslabel: Do not read beyond string length (Closes: #709587).
437 When checking whether the label contains any lower-case characters, do not read
438 beyond the end of the string.
440 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
442 commit 4203a90 (tag: v3.0.17)
443 Author: Daniel Baumann <mail@daniel-baumann.ch>
444 Date: Wed May 29 10:14:09 2013 +0200
446 Releasing version 3.0.17.
448 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
451 Author: Daniel Baumann <mail@daniel-baumann.ch>
452 Date: Wed May 29 09:48:24 2013 +0200
454 Updating maximal lenght of a label in manpage to talk about bytes instead of characters, thanks to Francois Wendling <frwendling@gmail.com> (Closes: #655953).
456 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
459 Author: Jaroslav Skarvada <jskarvad@redhat.com>
460 Date: Wed May 29 09:56:08 2013 +0200
462 Fixing segfault in dosfslabel.
464 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
467 Author: James Byrne <jbyrne@aminocom.com>
468 Date: Mon Apr 22 12:29:51 2013 +0100
470 Allow operation on SH4 CPUs and remove compiler warnings.
472 Simplify the GET_UNALIGNED_W macro and use it in all cases instead of making it
473 conditional on CPU types. This missed some CPUs that needed it (e.g. SH4), and
474 in any case the implementation caused "dereferencing type-punned pointer will
475 break strict-aliasing rules" warnings.
477 Enable extra warnings, but disable signed comparison and missing field
478 initializer warnings as these are not helpful.
480 Update write_boot_label() so that the boot_sector_16 and boot_sector cases are
481 handled separately instead of using an aliased pointer, as that causes
482 "dereferencing type-punned pointer will break strict-aliasing rules" warnings.
484 Make date_dos2unix(), usage() and cdiv() static functions as they are only used
485 in the files in which they are declared.
487 Update bad_name() and lfn_get() so that the extension is processed separately
488 instead of by indexing past the end of the name field as that causes "array
489 subscript is above array bounds" warnings.
491 Update the dosfsck() main function to avoid a warning that free_clusters may
492 be used uninitialized. Do not print the final count of files and clusters when
493 dosfsck is run with the "-b" option because the used files and clusters have
494 not been counted in this case.
496 Alter the setup_tables() function so that it does not cause an "array subscript
497 is below array bounds" warning.
499 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
502 Author: James Byrne <jbyrne@aminocom.com>
503 Date: Mon Apr 22 13:32:01 2013 +0100
505 Add a .gitignore file.
507 Add a .gitignore file so that the results of compilation do not appear as
510 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
513 Author: James Byrne <jbyrne@aminocom.com>
514 Date: Mon Apr 22 12:38:52 2013 +0100
516 Finish cleanup of byteswap code.
518 Commit 9ba8992 left three references to the old CT_LE_W macro.
519 Remove these since no conversion was needed as the value being
522 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
525 Author: Daniel Baumann <mail@daniel-baumann.ch>
526 Date: Thu Apr 4 08:08:00 2013 +0200
528 Shortening links to upstream homepage.
530 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
533 Author: Cristian RodrÃguez <crrodriguez@opensuse.org>
534 Date: Fri Mar 1 08:23:34 2013 +0100
536 Fix offsetof definition.
538 * include stddef.h to get the correct offsetof definition.
539 * remove local offsetof definition, systems not having it on stddef.h
540 are in violation of C89, C99, POSIX.1-2001.
542 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
545 Author: Cristian RodrÃguez <crrodriguez@opensuse.org>
546 Date: Fri Mar 1 08:58:36 2013 +0100
548 Cleanup byteswap code.
550 Remove all duplicate macro definitions for byteswapping routines
551 and replace them for proper usage of userspace endian(3).
553 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
555 commit 8733e12 (tag: v3.0.16)
556 Author: Daniel Baumann <mail@daniel-baumann.ch>
557 Date: Wed May 29 10:06:01 2013 +0200
559 Releasing version 3.0.16.
561 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
564 Author: Petr Gajdos <pgajdos@suse.cz>
565 Date: Fri Mar 1 08:34:12 2013 +0100
567 Create rootdir entry volume label with mkdosfs, create it when
568 it doesn't exist with dosfslabel.
570 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
571 for more information.
573 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
576 Author: Petr Gajdos <pgajdos@suse.cz>
577 Date: Fri Mar 1 08:33:18 2013 +0100
579 Forbid lowercase letters in label.
581 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
582 http://support.microsoft.com/kb/71715/en-us for more information.
584 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
587 Author: Petr Gajdos <pgajdos@suse.cz>
588 Date: Fri Mar 1 08:32:02 2013 +0100
590 Read label also from rootdir entry.
592 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4
593 for more information.
595 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
598 Author: Petr Gajdos <pgajdos@suse.cz>
599 Date: Fri Mar 1 08:30:21 2013 +0100
601 alloc_rootdir_entry() is intended to be called with pattern == "FSCK%04dREC",
602 the old code (probably c&p from auto_rename()) doesn't reflect this.
604 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
607 Author: Petr Gajdos <pgajdos@suse.cz>
608 Date: Fri Mar 1 08:29:00 2013 +0100
610 Instead of eleven blanks, fill in "NO NAME " as specification tells.
612 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
613 http://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html for more information.
615 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
618 Author: Petr Gajdos <pgajdos@suse.cz>
619 Date: Fri Mar 1 08:58:15 2013 +0100
621 Write uppercase letters in label.
623 See https://bugzilla.novell.com/show_bug.cgi?id=657011#c4 and
624 http://support.microsoft.com/kb/71715/en-us for more information.
626 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
628 commit a75fb1c (tag: v3.0.15)
629 Author: Daniel Baumann <mail@daniel-baumann.ch>
630 Date: Thu Feb 21 15:06:52 2013 +0100
632 Releasing version 3.0.15.
634 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
637 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
638 Date: Mon Feb 4 00:22:34 2013 +0400
640 Using wcstombs() to convert LFN unicode characters to printable text.
642 This closes Debian bug #596336.
644 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
647 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
648 Date: Sun Sep 5 18:59:47 2010 +0400
650 Recode short filenames from DOS codepage (default 437).
652 Recode short filenames from DOS codepage (default 437) to the current
653 character encoding. This makes messages of dosfsck more readable.
654 Partially closes Debian bug #596336.
656 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
659 Author: Jaroslav Skarvada <jskarvad@redhat.com>
660 Date: Thu Feb 21 14:40:52 2013 +0100
662 Fixing root directory allocation.
664 See https://bugzilla.redhat.com/show_bug.cgi?id=674095 for more information.
666 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
669 Author: Jaroslav Skarvada <jskarvad@redhat.com>
670 Date: Thu Feb 21 14:40:25 2013 +0100
672 Fixing device detection.
674 See https://bugzilla.redhat.com/show_bug.cgi?id=710480 for more information.
676 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
678 commit 7a75638 (tag: v3.0.14)
679 Author: Daniel Baumann <mail@daniel-baumann.ch>
680 Date: Wed Jan 23 13:22:01 2013 +0100
682 Releasing version 3.0.14.
684 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
687 Author: Daniel Baumann <mail@daniel-baumann.ch>
688 Date: Wed Jan 23 13:16:20 2013 +0100
690 Documenting dosfsck -b in its manpage.
692 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
695 Author: Oleksij Rempel <bug-track@fisher-privat.net>
696 Date: Wed Jan 23 12:36:56 2013 +0100
698 Adding option for bootsector read-only check.
700 Most boot sectors may contains marker for filesystem state. We can this
701 bit on every mount and warn user if some thing wrong, without checking
704 Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
705 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
708 Author: Oleksij Rempel <bug-track@fisher-privat.net>
709 Date: Wed Jan 23 12:35:13 2013 +0100
711 Checking boot sector for dirty bit.
713 Some OSos use reseved byte of boot sector to set state of the file
714 system. If first bit set, then filesystem is proably damaged - write
715 operation was not finished/cache not snycted/...
717 Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
718 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
721 Author: Daniel Baumann <mail@daniel-baumann.ch>
722 Date: Wed Jan 23 12:25:59 2013 +0100
724 Completing and updating all copyright headers for 2013.
726 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
729 Author: Daniel Baumann <mail@daniel-baumann.ch>
730 Date: Wed Jan 23 12:17:20 2013 +0100
732 Updating my email address.
734 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
736 commit 13cdb4d (tag: v3.0.13)
737 Author: Daniel Baumann <mail@daniel-baumann.ch>
738 Date: Sat Jun 30 19:10:44 2012 +0200
740 Releasing version 3.0.13.
742 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
745 Author: Jaroslav Å karvada <jskarvad@redhat.com>
746 Date: Sat Jun 30 19:09:11 2012 +0200
748 Fix 'dosfslabel throws "Seek to 114116076544:Invalid argument" error when labeling'.
750 See https://bugzilla.redhat.com/show_bug.cgi?id=693662 for more information.
752 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
754 commit e243612 (tag: v3.0.12)
755 Author: Daniel Baumann <mail@daniel-baumann.ch>
756 Date: Sat Oct 29 08:40:53 2011 +0200
758 Releasing version 3.0.12.
760 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
763 Author: Michael Casadevall <mcasadevall@ubuntu.com>
764 Date: Tue Jun 7 19:19:30 2011 +0200
766 Correcting miscalculation of sector number in some cases.
768 mkdosfs will incorrectly calculate the number of sectors of a
769 given FAT partition if the number sectors are odd due to
770 count_blocks incorrectly handling the remainder of a division
771 operation. This miscalculation causes the OMAP4 bootloader to
774 This bug can be observed by comparing the total sector size in
775 fdisk expert more to fsck.msdos; this discrepancy only shows up
776 when the number of sectors are odd.
778 See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043
779 for more information.
781 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
784 Author: Daniel Baumann <mail@daniel-baumann.ch>
785 Date: Sat Jan 8 23:38:59 2011 +0100
789 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
792 Author: Sergey Gusarov <laborer2008@gmail.com>
793 Date: Sat Jan 8 23:36:11 2011 +0100
795 Fixing compiler warnings related to the mismatch of types "char *" / "unsigned
798 These warnings appear when you compile the project with the option "-Wall", what
799 is done with the current default Makefile.
801 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
804 Author: Jaroslav Skarvada <jskarvad@redhat.com>
805 Date: Thu Jan 6 22:35:00 2011 +0100
807 Fixing overflow bug in reclaim_file function, see
808 https://bugzilla.redhat.com/show_bug.cgi?id=660154 for more information.
810 The problem is that alloc_rootdir_entry counts with 10000 files at max, but the
811 filename buffer is only 8 chars long. Due to pattern mask used it results to
812 only 10 files at max (FSCK0-9REC). If there is more than 10 files, it overflows
815 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
818 Author: Sergey Gusarov <laborer2008@gmail.com>
819 Date: Thu Jan 6 22:31:39 2011 +0100
821 Fixing conversion specifiers in accordance with the type of expressions.
823 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
826 Author: Daniel Baumann <mail@daniel-baumann.ch>
827 Date: Sun Jan 2 15:41:44 2011 +0100
829 Indenting source files.
831 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
834 Author: Daniel Baumann <mail@daniel-baumann.ch>
835 Date: Sun Jan 2 15:39:03 2011 +0100
837 Adding Nindent script from syslinux.
839 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
841 commit 66d55cd (tag: v3.0.11)
842 Author: Daniel Baumann <mail@daniel-baumann.ch>
843 Date: Fri Dec 24 17:58:29 2010 +0100
845 Releasing version 3.0.11.
847 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
850 Author: Michael Stapelberg <michael@stapelberg.de>
851 Date: Fri Nov 19 14:09:36 2010 +0100
853 Add better error message when the device cannot be opened.
855 This is helpful for SD cards or other removable media which have an enabled
856 write lock -- without the "Permission denied" message, the user has to strace
857 mkdosfs to find out what's going on.
859 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
862 Author: Jaroslav Skarvada <jskarvad@redhat.com>
863 Date: Fri Oct 8 13:38:16 2010 +0200
865 Unalign on s390x, see http://bugzilla.redhat.com/show_bug.cgi?id=624596 for
868 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
870 commit 5ef7f1f (tag: v3.0.10)
871 Author: Daniel Baumann <mail@daniel-baumann.ch>
872 Date: Sun Sep 12 09:35:47 2010 +0200
874 Releasing version 3.0.10.
876 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
879 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
880 Date: Sun Sep 12 09:29:12 2010 +0200
882 Modify LFN direntries when file is renamed or deleted, see
885 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
888 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
889 Date: Sun Sep 12 09:27:07 2010 +0200
891 If the test of short filename fails, dosfsck could complain about
892 bad long filename, see Debian bug #596327.
894 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
897 Author: Alexander Korolkov <alexander.korolkov@gmail.com>
898 Date: Sun Sep 12 09:24:47 2010 +0200
900 dosfsck: don't complain about bad filenames when short filename
901 contains 7 or more characters with codes 128-255, see Debian
904 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
907 Author: Mitch Rybczynski <mrybczynski@miovision.com>
908 Date: Mon Jul 5 14:45:54 2010 +0200
910 Adding __arm__ define check for some crosscompile toolchains.
912 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
915 Author: Daniel Baumann <mail@daniel-baumann.ch>
916 Date: Sun Mar 14 16:42:32 2010 +0100
918 Modernizing dosfslabel manpage.
920 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
923 Author: Daniel Baumann <mail@daniel-baumann.ch>
924 Date: Sun Mar 14 16:33:47 2010 +0100
926 Modernizing dosfsck manpage.
928 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
931 Author: Daniel Baumann <mail@daniel-baumann.ch>
932 Date: Sun Mar 14 16:05:32 2010 +0100
934 Fixing spelling error in boot.c.
936 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
938 commit 5b6849d (tag: v3.0.9)
939 Author: Daniel Baumann <mail@daniel-baumann.ch>
940 Date: Sun Jan 31 08:31:32 2010 +0100
942 Releasing version 3.0.9.
944 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
947 Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
948 Date: Sun Jan 31 00:11:41 2010 -0500
950 Be sure to store the updated reserved_sector count in the boot sector,
951 see Debian bug #567337.
953 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
955 commit 2a3bef8 (tag: v3.0.8)
956 Author: Daniel Baumann <mail@daniel-baumann.ch>
957 Date: Sat Jan 23 10:16:18 2010 +0100
959 Releasing version 3.0.8.
961 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
964 Author: Daniel Baumann <mail@daniel-baumann.ch>
965 Date: Sat Jan 23 10:15:01 2010 +0100
967 Removing some cruft in end-comments.
969 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
972 Author: Steven J. Magnani <steve@digidescorp.com>
973 Date: Thu Jan 21 16:58:11 2010 +0100
975 When compiling a 32-bit version of dosfstools on an x86_64 machine,
976 the resulting applications report strange errors on "large" (> 2 GiB)
979 Seek to -2118967808:Invalid argument
981 Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
982 but has only 8613 clusters, less than the required minimum of 65525.
983 This may lead to problems on some systems.
985 This appears to be due to compilation with a 32-bit off_t and lseek() library
988 Use lseek64 for positioning, and change some suspect uses of off_t to loff_t.
990 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
993 Author: Steven J. Magnani <steve@digidescorp.com>
994 Date: Thu Jan 21 16:56:26 2010 +0100
996 If dosfsck is run in read-only mode (-n), exit with code 0
997 if the only issue found is an uninitialized free cluster summary.
999 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1002 Author: Steven J. Magnani <steve@digidescorp.com>
1003 Date: Thu Jan 21 16:55:30 2010 +0100
1005 On x86_64, dosfsck incorrectly claims that a free_cluster summary of
1006 0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong.
1008 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1011 Author: H. Peter Anvin <hpa@zytor.com>
1012 Date: Fri Jan 8 09:16:38 2010 +0100
1014 mkdosfs: correct alignment of the root directory.
1016 Correct the code to align the root directory; it was broken before
1017 since bs.dir_entries had already been set at the point of alignment.
1018 This patch removes the dual use of bs.dir_entries and root_dir_entries
1019 to carry the same information: the information is carried in
1020 root_dir_entires exclusively, and then bs.dir_entries is set inside
1021 setup_tables() at a late point.
1023 The code to align the root directory is also wrapped in
1024 if (align_structures); this avoids rounding the number of root
1025 directory entries up to a whole sector when used with -a
1026 (i.e. preserves the previous behavior.)
1028 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1031 Author: H. Peter Anvin <hpa@zytor.com>
1032 Date: Wed Jan 6 20:55:36 2010 +0100
1034 mkdosfs: improve wording in the man page for the -a option.
1036 Improve the English language used in the man page for the -a (no
1037 align) option to mkdosfs.
1039 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1042 Author: Daniel Baumann <mail@daniel-baumann.ch>
1043 Date: Wed Jan 6 11:27:25 2010 +0100
1045 Adding reference to dosfslable in mkdosfs manpage.
1047 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1050 Author: H. Peter Anvin <hpa@zytor.com>
1051 Date: Wed Jan 6 11:18:55 2010 +0100
1053 mkdosfs: by default align all structures to cluster boundaries
1055 Align all data structures (reserved sectors, FATs, root directory for
1056 FAT12/16) to an even multiple of the cluster size. This means that if
1057 the partition is aligned, so will all clusters be. This adds
1058 significant performance for anything where the physical sector size is
1059 larger than the logical sector size, e.g. flash media or large-sector
1062 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1064 commit 171bc07 (tag: v3.0.7)
1065 Author: Daniel Baumann <mail@daniel-baumann.ch>
1066 Date: Thu Dec 24 10:53:36 2009 +0100
1068 Releasing version 3.0.7.
1070 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1073 Author: Ben Hutchings <ben@decadent.org.uk>
1074 Date: Thu Dec 24 09:55:52 2009 +0100
1076 Fixing dosfslabel to set volume label in the right place,
1077 see Debian bug #559985.
1079 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1082 Author: Lubomir Rintel <lkundrak@v3.sk>
1083 Date: Thu Dec 24 09:39:39 2009 +0100
1085 Fixing out-of bound writes.
1087 Firstly, packed attribute is added to the structure so that extension
1088 is guarranteed to immediately follow name for the cross-name-extension
1091 Secondly, writes into dir_entry->name that span through the extension as
1092 well are split into two, so that FORTIFY_SOURCE's bound checking does
1093 not abort dosfsck. There also was an off-by-one error in auto_rename()'s
1096 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1099 Author: San Mehat <san@google.com>
1100 Date: Thu Dec 24 09:31:41 2009 +0100
1102 Adding custom exit code in dosfsck for the case where the FS is read only.
1104 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1106 commit 0657e01 (tag: v3.0.6)
1107 Author: Daniel Baumann <mail@daniel-baumann.ch>
1108 Date: Sun Oct 4 10:59:33 2009 +0200
1110 Releasing version 3.0.6.
1112 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1115 Author: Steven J. Magnani <steve@digidescorp.com>
1116 Date: Sun Oct 4 10:58:43 2009 +0200
1118 Attempt to improve clarity of the orphan cluster reclaim code.
1119 Minor optimization - remove some unnecessary checking.
1121 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1124 Author: Steven J. Magnani <steve@digidescorp.com>
1125 Date: Sun Oct 4 08:37:19 2009 +0200
1127 Close hole that permitted clusters to link to (invalid) cluster 1.
1129 If an orphan chain that linked to cluster 1 was reclaimed to a file,
1130 deletion of the file would result in a filesystem panic.
1132 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1135 Author: Steven J. Magnani <steve@digidescorp.com>
1136 Date: Sun Oct 4 08:32:30 2009 +0200
1138 Fix erroneous report of huge number of clusters in use on big-endian
1139 systems when the FSINFO free cluster count is reset.
1141 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1143 commit 16ba63f (tag: v3.0.5)
1144 Author: Daniel Baumann <mail@daniel-baumann.ch>
1145 Date: Mon Jul 27 14:26:11 2009 +0200
1147 Releasing version 3.0.5.
1149 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1152 Author: Piotr Kaczuba <pepe@attika.ath.cx>
1153 Date: Sun Jul 26 22:21:25 2009 +0200
1155 Signed/unsigned char mismatch in check.c causes false positives
1156 in bad_name() and can result in data loss, see Debian bug #538758.
1158 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1161 Author: Andrew Tridgell <tridge@samba.org>
1162 Date: Sun Jul 26 22:12:06 2009 +0200
1164 Update to new kernel patches that add FAT_NO_83NAME flag.
1166 See http://lkml.org/lkml/2009/7/20/425 and
1167 http://lkml.org/lkml/2009/7/20/424 for more information.
1169 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1171 commit dd0f0b5 (tag: v3.0.4)
1172 Author: Daniel Baumann <mail@daniel-baumann.ch>
1173 Date: Tue Jul 21 08:10:52 2009 +0200
1175 Releasing version 3.0.4.
1177 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1180 Author: Andrew Tridgell <tridge@samba.org>
1181 Date: Tue Jul 21 07:59:22 2009 +0200
1183 Modify dosfstools to support the dummy 8.3 short filename values
1184 used by Linux systems with the VFAT_FS_DUALNAMES option disabled.
1186 See http://lkml.org/lkml/2009/6/26/313 and
1187 http://lkml.org/lkml/2009/6/26/314 for more information.
1189 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1192 Author: Paul Rupe <prupe@nc.rr.com>
1193 Date: Tue May 19 10:37:52 2009 +0200
1195 Fixing "Too many files need repair" error during fsck.
1197 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1199 commit 7c16098 (tag: v3.0.3)
1200 Author: Daniel Baumann <mail@daniel-baumann.ch>
1201 Date: Mon May 18 15:12:04 2009 +0200
1203 Releasing version 3.0.3.
1205 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1208 Author: Daniel Baumann <mail@daniel-baumann.ch>
1209 Date: Mon May 18 15:10:55 2009 +0200
1211 Also declaring arm as an unaligned architecture, see Debian bug #502961.
1213 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1216 Author: Steven J. Magnani <steve@digidescorp.com>
1217 Date: Mon May 18 15:01:49 2009 +0200
1219 Adding support for limited-memory embedded systems.
1221 This patch reorganizes heap memory usage by dosfsck and mkdosfs
1222 to support limited-memory embedded systems - in particular, those
1223 based on Xilinx's Microblaze processor. It also adds a few comments.
1225 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1228 Author: Mike Frysinger <vapier@gentoo.org>
1229 Date: Thu Mar 5 07:03:36 2009 +0100
1231 Declaring Blackfin as an unaligned architecture.
1233 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1235 commit b54a8a4 (tag: v3.0.2)
1236 Author: Daniel Baumann <mail@daniel-baumann.ch>
1237 Date: Sat Feb 28 09:48:04 2009 +0100
1239 Releasing version 3.0.2.
1241 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1244 Author: Hiroaki Ishizawa <hiroaki.ishizawa@gmail.com>
1245 Date: Fri Feb 13 10:00:46 2009 +0100
1247 dosfsck corrupts root directory when fs->nfats is 1.
1249 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1252 Author: Stepan Kasal <skasal@redhat.com>
1253 Date: Fri Jan 30 14:56:33 2009 +0100
1255 src/dosfslabel.c (main): After writing the label, exit code should be 0.
1257 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1260 Author: Daniel Baumann <mail@daniel-baumann.ch>
1261 Date: Fri Jan 30 14:06:01 2009 +0100
1263 Also installing ChangeLog in install-doc target of Makefile.
1265 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1268 Author: Stepan Kasal <skasal@redhat.com>
1269 Date: Fri Jan 30 14:05:12 2009 +0100
1271 Makefile: Do not clobber time stamps of doc files.
1273 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1275 commit df2d2f1 (tag: v3.0.1)
1276 Author: Daniel Baumann <mail@daniel-baumann.ch>
1277 Date: Sun Nov 23 22:45:45 2008 +0100
1279 Releasing version 3.0.1.
1281 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1284 Author: Daniel Baumann <mail@daniel-baumann.ch>
1285 Date: Sun Nov 23 18:41:01 2008 +0100
1287 Applying Fedoras dosfstools-vfat-timingfix.diff from Bill Nottingham
1288 <notting@redhat.com> to fix vfat timing issue. See
1289 https://bugzilla.redhat.com/show_bug.cgi?id=448247 for more information.
1291 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1294 Author: Ulrich Mueller <ulm@gentoo.org>
1295 Date: Tue Oct 7 07:55:37 2008 +0200
1297 Patch to check for bad number of clusters in dosfsck:
1299 * FAT16 filesystems with 65525 clusters or more will be rejected
1300 (Before, this was not tested for. Up to 65535 clusters were accepted
1303 * For FAT32 filesystems with less than 65525 a warning message will be
1306 Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it
1307 consistent with the definition in mkdosfs and to remove the dependency
1308 on the kernel version.
1310 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1313 Author: Dann Frazier <dannf@hp.com>
1314 Date: Tue Sep 30 07:25:19 2008 +0200
1316 Changing some wording to make the indended meaning of "full-disk device"
1319 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1321 commit 21e9ba0 (tag: v3.0.0)
1322 Author: Daniel Baumann <mail@daniel-baumann.ch>
1323 Date: Sun Sep 28 11:43:19 2008 +0200
1325 Releasing version 3.0.0.
1327 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1330 Author: Daniel Baumann <mail@daniel-baumann.ch>
1331 Date: Sun Sep 28 11:29:01 2008 +0200
1333 Adding GPL headers to all files.
1335 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1338 Author: Daniel Baumann <mail@daniel-baumann.ch>
1339 Date: Sun Sep 28 10:51:55 2008 +0200
1341 Adding new GPL license file.
1343 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1346 Author: Daniel Baumann <mail@daniel-baumann.ch>
1347 Date: Fri Sep 26 23:31:12 2008 +0200
1349 Redoing Makefile from scratch.
1351 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1354 Author: Daniel Baumann <mail@daniel-baumann.ch>
1355 Date: Sat Sep 27 00:17:38 2008 +0200
1357 Removing whitespaces in all files at EOL and EOF.
1359 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1362 Author: Daniel Baumann <mail@daniel-baumann.ch>
1363 Date: Fri Sep 26 23:48:56 2008 +0200
1365 Adding Debians dosfslabel.8 manpage from Francois Wendling
1366 <frwendling@free.fr>.
1368 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1371 Author: Daniel Baumann <mail@daniel-baumann.ch>
1372 Date: Fri Sep 26 18:36:04 2008 +0200
1374 Updating version.h includes to new location of version.h file.
1376 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1379 Author: Daniel Baumann <mail@daniel-baumann.ch>
1380 Date: Fri Sep 26 18:19:36 2008 +0200
1382 Removing old lsm file.
1384 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1387 Author: Daniel Baumann <mail@daniel-baumann.ch>
1388 Date: Fri Sep 26 18:07:47 2008 +0200
1390 Removing old cvsignore files.
1392 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1395 Author: Daniel Baumann <mail@daniel-baumann.ch>
1396 Date: Fri Sep 26 18:18:39 2008 +0200
1398 Removing old build file.
1400 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1403 Author: Daniel Baumann <mail@daniel-baumann.ch>
1404 Date: Fri Sep 26 18:19:16 2008 +0200
1406 Removing old GPL license files.
1408 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1411 Author: Daniel Baumann <mail@daniel-baumann.ch>
1412 Date: Fri Sep 26 18:21:57 2008 +0200
1414 Unifying dosfsck and mkdosfs Makefiles in common src/Makefile.
1416 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1419 Author: Daniel Baumann <mail@daniel-baumann.ch>
1420 Date: Fri Sep 26 18:04:02 2008 +0200
1422 Unifying dosfsck and mkdosfs sources in common src directory.
1424 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1427 Author: Daniel Baumann <mail@daniel-baumann.ch>
1428 Date: Fri Sep 26 18:05:27 2008 +0200
1430 Unifying dosfsck and mkdosfs manpages in common man directory.
1432 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1435 Author: Daniel Baumann <mail@daniel-baumann.ch>
1436 Date: Fri Sep 26 18:12:29 2008 +0200
1438 Unifying dosfsck and mkdosfs documents in common doc directory.
1440 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1443 Author: Daniel Baumann <mail@daniel-baumann.ch>
1444 Date: Fri Sep 26 15:39:51 2008 +0200
1446 Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples
1447 <uberlord@gentoo.org> to alias dosfsck -p to -a:
1449 * Map -p to -a for baselayout-2, #177514.
1451 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1454 Author: Daniel Baumann <mail@daniel-baumann.ch>
1455 Date: Fri Sep 26 15:49:43 2008 +0200
1457 Applying Gentoos dosfstools-2.11-build.patch from Mike Frysinger
1458 <vapier@gentoo.org> to improve Makefile:
1460 * Respect user settings #157785/#157786 by Diego Petteno.
1462 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1465 Author: Daniel Baumann <mail@daniel-baumann.ch>
1466 Date: Fri Sep 26 15:37:34 2008 +0200
1468 Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from
1469 Robin H. Johnson <robbat2@gentoo.org> to fix double count of files
1470 during verification:
1472 * Don't double-count n_files during a verification pass.
1473 Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845
1475 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1478 Author: Daniel Baumann <mail@daniel-baumann.ch>
1479 Date: Fri Sep 26 15:33:36 2008 +0200
1481 Applying Gentoos dosfstools-2.11-fat32size.patch from Mike Frysinger
1482 <vapier@gentoo.org> to fix generation of filesystems on 256meg devices:
1484 * Fix generation of FAT filesystems on devices that are 256meg in size
1485 Patch by Ulrich Mueller and accepted upstream
1486 http://bugs.gentoo.org/112504
1488 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1491 Author: Daniel Baumann <mail@daniel-baumann.ch>
1492 Date: Fri Sep 26 15:22:06 2008 +0200
1494 Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr
1495 Gajdos <pgajdos@suse.cz> to add sector size warning:
1497 * added warning for creation msdos on filesystem with sector size
1498 greater than 4096 [fate#303325]
1500 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1503 Author: Daniel Baumann <mail@daniel-baumann.ch>
1504 Date: Fri Sep 26 15:18:35 2008 +0200
1506 Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel
1507 <lnussel@suse.de> to fix handling of zero heads and sectors:
1509 * the HDIO_GETGEO ioctl works on device mapper devices but returns
1510 zero heads and sectors. Therefore let's a) assume dummy values in
1511 that case in mkdosfs and b) don't consider such fat file systems as
1512 invalid in dosfsck. The Linux kernel accepts them anyways.
1514 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1517 Author: Daniel Baumann <mail@daniel-baumann.ch>
1518 Date: Fri Sep 26 15:15:40 2008 +0200
1520 Applying Suses dosfstools-2.11-linuxfs.patch from Ruediger Oertel
1521 <ro@suse.de> to not include linux/fs.h.
1523 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1526 Author: Daniel Baumann <mail@daniel-baumann.ch>
1527 Date: Fri Sep 26 15:11:50 2008 +0200
1529 Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
1530 <pvrabec@redhat.com> to remove linux 2.6 conditionals:
1532 * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
1533 glibc-kernheaders-2.4-9.1.94
1535 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1538 Author: Daniel Baumann <mail@daniel-baumann.ch>
1539 Date: Fri Sep 26 15:05:00 2008 +0200
1541 Applying Debians 99-conglomeration.dpatch (no other information
1544 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1547 Author: Daniel Baumann <mail@daniel-baumann.ch>
1548 Date: Fri Sep 26 14:26:41 2008 +0200
1550 Applying Debians 15-manpage-files.dpatch from Daniel Baumann
1551 <daniel@debian.org> to improve dosfsck manpage:
1553 * Lists fsckNNNN.rec files in FILES section (Closes: #444596).
1555 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1558 Author: Daniel Baumann <mail@daniel-baumann.ch>
1559 Date: Fri Sep 26 14:34:42 2008 +0200
1561 Applying Debians 13-getopt.dpatch from Adonikam Virgo
1562 <adonikam@virgonet.org> to fix mkdosfs getopt:
1564 * Fixes backup sector getopt (Closes: #232387, #479794).
1566 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1569 Author: Daniel Baumann <mail@daniel-baumann.ch>
1570 Date: Fri Sep 26 14:34:17 2008 +0200
1572 Applying Debians 12-zero-slot.dpatch by Karl Tomlinson
1573 <karlt@karlt.net> to fix dosfsck zero slot crashes:
1575 * Fixes crashes due to zero slot numbers causing a negative offset in
1576 the call to copy_lfn_part in lfn_add_slot. On amd64 this results in
1577 a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and
1578 thus sometimes a SIGSEGV or double free abort later. (Closes:
1579 #152550, #353198, #356377, #401798).
1581 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1584 Author: Daniel Baumann <mail@daniel-baumann.ch>
1585 Date: Fri Sep 26 14:33:54 2008 +0200
1587 Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen
1588 <eero.tamminen@nokia.com> to improve dosfsck memory efficiency:
1590 * Improves memory efficiency when checking filesystems.
1592 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1595 Author: Daniel Baumann <mail@daniel-baumann.ch>
1596 Date: Fri Sep 26 14:33:28 2008 +0200
1598 Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
1599 <daniel@debian.org> to fix manpage synopsis:
1601 * List alternative binary names in manpage synopsis (Closes: #284983).
1603 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1606 Author: Daniel Baumann <mail@daniel-baumann.ch>
1607 Date: Fri Sep 26 14:32:46 2008 +0200
1609 Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann
1610 <daniel@debian.org> to improve mkdosfs manpage:
1612 * Don't claim that FAT32 is not choosed automatically (Closes:
1615 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1618 Author: Daniel Baumann <mail@daniel-baumann.ch>
1619 Date: Fri Sep 26 14:32:23 2008 +0200
1621 Applying Debians 08-manpage-drop.dpatch from Daniel Baumann
1622 <daniel@debian.org> to improve dosfsck manpage:
1624 * Don't use confusing word 'drop' when 'delete' is meant (Closes:
1627 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1630 Author: Daniel Baumann <mail@daniel-baumann.ch>
1631 Date: Fri Sep 26 14:31:50 2008 +0200
1633 Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby
1634 <justinpryzby@users.sourceforge.net> to fix mkdosfs manpage typos.
1636 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1639 Author: Daniel Baumann <mail@daniel-baumann.ch>
1640 Date: Fri Sep 26 14:30:31 2008 +0200
1642 Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr
1643 Gajdos <pgajdos@suse.cz> to determine mkdosfs sector size automatically:
1645 * determine sector size of device automatically or if -S parameter
1646 present, verify, that it's not under physical sector size
1648 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1651 Author: Daniel Baumann <mail@daniel-baumann.ch>
1652 Date: Fri Sep 26 14:30:03 2008 +0200
1654 Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak
1655 <prusnak@suse.cz> to use O_EXCL in mkdosfs:
1657 * mkdosfs now opens device with O_EXCL [#238687]
1659 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1662 Author: Daniel Baumann <mail@daniel-baumann.ch>
1663 Date: Fri Sep 26 14:29:36 2008 +0200
1665 Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz
1666 <khalid_aziz@hp.com> to fix dosfsck unaligned memory accesses:
1668 * Fix unaligned memory accesses which cause warnings to appear
1669 everytime the elilo bootloader script runs. This has led a number of
1670 users to believe their install has failed (Closes: #258839).
1672 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1675 Author: Daniel Baumann <mail@daniel-baumann.ch>
1676 Date: Fri Sep 26 13:47:40 2008 +0200
1678 Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz
1679 <katzj@redhat.com> to add dosfslabel (originally by Peter Jones).
1681 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1684 Author: Daniel Baumann <mail@daniel-baumann.ch>
1685 Date: Fri Sep 26 13:41:14 2008 +0200
1687 Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek
1688 <jakub@redhat.com> to make it build with -D_FORTIFY_SOURCE=2:
1690 * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C
1691 standard), but isn't actually any buffer overflow. But using memcpy
1692 is more efficient anyway.
1694 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1697 Author: Daniel Baumann <mail@daniel-baumann.ch>
1698 Date: Fri Sep 26 13:40:47 2008 +0200
1700 Applying Fedoras dosfstools-2.7-argfix.patch (no other information
1703 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
1705 commit ba6774a (tag: v2.11)
1706 Author: Daniel Baumann <mail@daniel-baumann.ch>
1707 Date: Thu Jun 26 12:45:36 2008 +0200
1709 Adding version 2.11.
1711 Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>