8 Commits

Author SHA1 Message Date
Ben Hutchings
28708fc8a6 Fixing dosfslabel to set volume label in the right place,
see Debian bug #559985.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:51:02 +01:00
Daniel Baumann
b396dcfb09 Also declaring arm as an unaligned architecture, see Debian bug #502961.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:39 +01:00
Steven J. Magnani
ff1b24e91d Adding support for limited-memory embedded systems.
This patch reorganizes heap memory usage by dosfsck and mkdosfs
to support limited-memory embedded systems - in particular, those
based on Xilinx's Microblaze processor. It also adds a few comments.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:38 +01:00
Mike Frysinger
89f0b727b5 Declaring Blackfin as an unaligned architecture.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:37 +01:00
Ulrich Mueller
e597cafef4 Patch to check for bad number of clusters in dosfsck:
* FAT16 filesystems with 65525 clusters or more will be rejected
    (Before, this was not tested for. Up to 65535 clusters were accepted
    as good).

  * For FAT32 filesystems with less than 65525 a warning message will be
    output.

Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it
consistent with the definition in mkdosfs and to remove the dependency
on the kernel version.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:27 +01:00
Daniel Baumann
eaf145d51b Adding GPL headers to all files.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:23 +01:00
Daniel Baumann
b4feb7319f Removing whitespaces in all files at EOL and EOF.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2013-01-23 12:50:20 +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