17 Commits

Author SHA1 Message Date
Daniel Baumann
f183d0eaa9 Unifying dosfsck and mkdosfs Makefiles in common src/Makefile.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:12 +01:00
Daniel Baumann
61e7466965 Unifying dosfsck and mkdosfs sources in common src directory.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:11 +01:00
Daniel Baumann
7552d57527 Unifying dosfsck and mkdosfs manpages in common man directory.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:09 +01:00
Daniel Baumann
124598b2bd Unifying dosfsck and mkdosfs documents in common doc directory.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:08 +01:00
Daniel Baumann
fb9c46b59a Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples
<uberlord@gentoo.org> to alias dosfsck -p to -a:

  * Map -p to -a for baselayout-2, #177514.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:07 +01:00
Daniel Baumann
251626dd60 Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from
Robin H. Johnson <robbat2@gentoo.org> to fix double count of files
during verification:

  * Don't double-count n_files during a verification pass.
    Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:04 +01:00
Daniel Baumann
f74695618b Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel
<lnussel@suse.de> to fix handling of zero heads and sectors:

  * the HDIO_GETGEO ioctl works on device mapper devices but returns
    zero heads and sectors. Therefore let's a) assume dummy values in
    that case in mkdosfs and b) don't consider such fat file systems as
    invalid in dosfsck. The Linux kernel accepts them anyways.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:01 +01:00
Daniel Baumann
2d4f18457e Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
<pvrabec@redhat.com> to remove linux 2.6 conditionals:

  * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
    glibc-kernheaders-2.4-9.1.94

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:59 +01:00
Daniel Baumann
739a6fb288 Applying Debians 99-conglomeration.dpatch (no other information
available).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:57 +01:00
Daniel Baumann
3b5ed8a4b1 Applying Debians 15-manpage-files.dpatch from Daniel Baumann
<daniel@debian.org> to improve dosfsck manpage:

  * Lists fsckNNNN.rec files in FILES section (Closes: #444596).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:56 +01:00
Daniel Baumann
1b2c8ca3b4 Applying Debians 12-zero-slot.dpatch by Karl Tomlinson
<karlt@karlt.net> to fix dosfsck zero slot crashes:

  * Fixes crashes due to zero slot numbers causing a negative offset in
    the call to copy_lfn_part in lfn_add_slot. On amd64 this results in
    a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and
    thus sometimes a SIGSEGV or double free abort later. (Closes:
    #152550, #353198, #356377, #401798).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:48 +01:00
Daniel Baumann
eec8585c73 Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen
<eero.tamminen@nokia.com> to improve dosfsck memory efficiency:

  * Improves memory efficiency when checking filesystems.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:45 +01:00
Daniel Baumann
06bd6697f3 Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
<daniel@debian.org> to fix manpage synopsis:

  * List alternative binary names in manpage synopsis (Closes: #284983).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:37 +01:00
Daniel Baumann
0f5ce0d8f6 Applying Debians 08-manpage-drop.dpatch from Daniel Baumann
<daniel@debian.org> to improve dosfsck manpage:

  * Don't use confusing word 'drop' when 'delete' is meant (Closes:
    #134100).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:32 +01:00
Daniel Baumann
30846972f9 Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz
<khalid_aziz@hp.com> to fix dosfsck unaligned memory accesses:

  * Fix unaligned memory accesses which cause warnings to appear
    everytime the elilo bootloader script runs. This has led a number of
    users to believe their install has failed (Closes: #258839).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:25 +01:00
Daniel Baumann
6d5c09188c Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz
<katzj@redhat.com> to add dosfslabel (originally by Peter Jones).

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:49:23 +01:00
Daniel Baumann
ba6774ae1d Adding version 2.11.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:46:45 +01:00