ChangeLog 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026
  1. commit 0d8f0020cae997f22c222f83ae8c2f65ab939fdc
  2. Author: Daniel Baumann <mail@daniel-baumann.ch>
  3. Date: Wed Jan 23 13:16:20 2013 +0100
  4. Documenting dosfsck -b in its manpage.
  5. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  6. commit a307be2b9cbfd0ed8c10dab79044cf6c7426ea18
  7. Author: Oleksij Rempel <bug-track@fisher-privat.net>
  8. Date: Wed Jan 23 12:36:56 2013 +0100
  9. Adding option for bootsector read-only check.
  10. Most boot sectors may contains marker for filesystem state. We can this
  11. bit on every mount and warn user if some thing wrong, without checking
  12. complete filesystem.
  13. Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
  14. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  15. commit ce2f8dc349a8a6b2c26d1b3892cc9b5f0408bd34
  16. Author: Oleksij Rempel <bug-track@fisher-privat.net>
  17. Date: Wed Jan 23 12:35:13 2013 +0100
  18. Checking boot sector for dirty bit.
  19. Some OSos use reseved byte of boot sector to set state of the file
  20. system. If first bit set, then filesystem is proably damaged - write
  21. operation was not finished/cache not snycted/...
  22. Signed-off-by: Oleksij Rempel <bug-track@fisher-privat.net>
  23. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  24. commit f33ee8ca5640191e7666402d6676073712b9c988
  25. Author: Daniel Baumann <mail@daniel-baumann.ch>
  26. Date: Wed Jan 23 12:25:59 2013 +0100
  27. Completing and updating all copyright headers for 2013.
  28. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  29. commit bfe6d25c6297b2fbca174ead56dffee340668a06
  30. Author: Daniel Baumann <mail@daniel-baumann.ch>
  31. Date: Wed Jan 23 12:17:20 2013 +0100
  32. Updating my email address.
  33. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  34. commit 13cdb4d262b4042ec2d94d706e30f45a63f1c029
  35. Author: Daniel Baumann <mail@daniel-baumann.ch>
  36. Date: Sat Jun 30 19:10:44 2012 +0200
  37. Releasing version 3.0.13.
  38. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  39. commit d03948265679186dd89403da46d1aba1decafd55
  40. Author: Jaroslav Škarvada <jskarvad@redhat.com>
  41. Date: Sat Jun 30 19:09:11 2012 +0200
  42. Fix 'dosfslabel throws "Seek to 114116076544:Invalid argument" error when labeling'.
  43. See https://bugzilla.redhat.com/show_bug.cgi?id=693662 for more information.
  44. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  45. commit e243612ccd10ec10a9877fe32524acc8b7f3d2a4
  46. Author: Daniel Baumann <mail@daniel-baumann.ch>
  47. Date: Sat Oct 29 08:40:53 2011 +0200
  48. Releasing version 3.0.12.
  49. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  50. commit 025b4f04fe3148b68c1857e3a26292d6330c748b
  51. Author: Michael Casadevall <mcasadevall@ubuntu.com>
  52. Date: Tue Jun 7 19:19:30 2011 +0200
  53. Correcting miscalculation of sector number in some cases.
  54. mkdosfs will incorrectly calculate the number of sectors of a
  55. given FAT partition if the number sectors are odd due to
  56. count_blocks incorrectly handling the remainder of a division
  57. operation. This miscalculation causes the OMAP4 bootloader to
  58. fail to boot.
  59. This bug can be observed by comparing the total sector size in
  60. fdisk expert more to fsck.msdos; this discrepancy only shows up
  61. when the number of sectors are odd.
  62. See https://bugs.launchpad.net/ubuntu/+source/dosfstools/+bug/794043
  63. for more information.
  64. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  65. commit 91a1fb9536b71133e6be9b0c09107c84d9cdfecb
  66. Author: Daniel Baumann <mail@daniel-baumann.ch>
  67. Date: Sat Jan 8 23:38:59 2011 +0100
  68. Re-running Nindent.
  69. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  70. commit 0390c4c1c12094aedb46d3bf800c9ac5900f9f56
  71. Author: Sergey Gusarov <laborer2008@gmail.com>
  72. Date: Sat Jan 8 23:36:11 2011 +0100
  73. Fixing compiler warnings related to the mismatch of types "char *" / "unsigned
  74. char *".
  75. These warnings appear when you compile the project with the option "-Wall", what
  76. is done with the current default Makefile.
  77. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  78. commit 4a8f8a66459f6d311672c42f8a9ac3661fb79208
  79. Author: Jaroslav Skarvada <jskarvad@redhat.com>
  80. Date: Thu Jan 6 22:35:00 2011 +0100
  81. Fixing overflow bug in reclaim_file function, see
  82. https://bugzilla.redhat.com/show_bug.cgi?id=660154 for more information.
  83. The problem is that alloc_rootdir_entry counts with 10000 files at max, but the
  84. filename buffer is only 8 chars long. Due to pattern mask used it results to
  85. only 10 files at max (FSCK0-9REC). If there is more than 10 files, it overflows
  86. and hangs.
  87. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  88. commit e0366dac9736a1a60459b33c2259785e8d08d647
  89. Author: Sergey Gusarov <laborer2008@gmail.com>
  90. Date: Thu Jan 6 22:31:39 2011 +0100
  91. Fixing conversion specifiers in accordance with the type of expressions.
  92. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  93. commit 2d8be9c62869c220be6426ef9f37662b4e671454
  94. Author: Daniel Baumann <mail@daniel-baumann.ch>
  95. Date: Sun Jan 2 15:41:44 2011 +0100
  96. Indenting source files.
  97. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  98. commit 697af859b69def125555403dc5521224c0813369
  99. Author: Daniel Baumann <mail@daniel-baumann.ch>
  100. Date: Sun Jan 2 15:39:03 2011 +0100
  101. Adding Nindent script from syslinux.
  102. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  103. commit 66d55cd07420a7f6da3c96412b9159439823ff97
  104. Author: Daniel Baumann <mail@daniel-baumann.ch>
  105. Date: Fri Dec 24 17:58:29 2010 +0100
  106. Releasing version 3.0.11.
  107. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  108. commit d57980204ef78b863130e9ef75f8e9f66bb677ec
  109. Author: Michael Stapelberg <michael@stapelberg.de>
  110. Date: Fri Nov 19 14:09:36 2010 +0100
  111. Add better error message when the device cannot be opened.
  112. This is helpful for SD cards or other removable media which have an enabled
  113. write lock -- without the "Permission denied" message, the user has to strace
  114. mkdosfs to find out what's going on.
  115. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  116. commit bb6000fc30809ad8025bac5eb173d46f56223a7e
  117. Author: Jaroslav Skarvada <jskarvad@redhat.com>
  118. Date: Fri Oct 8 13:38:16 2010 +0200
  119. Unalign on s390x, see http://bugzilla.redhat.com/show_bug.cgi?id=624596 for
  120. more information.
  121. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  122. commit 5ef7f1f78a13207fd4317a73dd0308c95faeaa44
  123. Author: Daniel Baumann <mail@daniel-baumann.ch>
  124. Date: Sun Sep 12 09:35:47 2010 +0200
  125. Releasing version 3.0.10.
  126. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  127. commit ea41797c7a7a0f56774f326beb916815541e62ae
  128. Author: Alexander Korolkov <alexander.korolkov@gmail.com>
  129. Date: Sun Sep 12 09:29:12 2010 +0200
  130. Modify LFN direntries when file is renamed or deleted, see
  131. Debian bug #596329.
  132. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  133. commit e56ff72c1659a6a34c981d4ff6ce7841c773d0a8
  134. Author: Alexander Korolkov <alexander.korolkov@gmail.com>
  135. Date: Sun Sep 12 09:27:07 2010 +0200
  136. If the test of short filename fails, dosfsck could complain about
  137. bad long filename, see Debian bug #596327.
  138. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  139. commit f0a42d0634302c3fbdbe4bb717b0a9a17235a828
  140. Author: Alexander Korolkov <alexander.korolkov@gmail.com>
  141. Date: Sun Sep 12 09:24:47 2010 +0200
  142. dosfsck: don't complain about bad filenames when short filename
  143. contains 7 or more characters with codes 128-255, see Debian
  144. bug #596327.
  145. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  146. commit 0113c5bd145749772e2c808224f7c571024eb5fa
  147. Author: Mitch Rybczynski <mrybczynski@miovision.com>
  148. Date: Mon Jul 5 14:45:54 2010 +0200
  149. Adding __arm__ define check for some crosscompile toolchains.
  150. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  151. commit 88cb84f1402d23bdf94f3cfd934792e7a04333fc
  152. Author: Daniel Baumann <mail@daniel-baumann.ch>
  153. Date: Sun Mar 14 16:42:32 2010 +0100
  154. Modernizing dosfslabel manpage.
  155. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  156. commit 5aa7ec4f2d0e02207709eb0b4f1487ea9193dd26
  157. Author: Daniel Baumann <mail@daniel-baumann.ch>
  158. Date: Sun Mar 14 16:33:47 2010 +0100
  159. Modernizing dosfsck manpage.
  160. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  161. commit 807ed8028357ebb5ec78d92c405c7c80c8f3d749
  162. Author: Daniel Baumann <mail@daniel-baumann.ch>
  163. Date: Sun Mar 14 16:05:32 2010 +0100
  164. Fixing spelling error in boot.c.
  165. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  166. commit 5b6849dc6268dfdede6e57c50d28f4179416b127
  167. Author: Daniel Baumann <mail@daniel-baumann.ch>
  168. Date: Sun Jan 31 08:31:32 2010 +0100
  169. Releasing version 3.0.9.
  170. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  171. commit 33bca7d6b5157ad7cde134f7edb3d6677317e15c
  172. Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
  173. Date: Sun Jan 31 00:11:41 2010 -0500
  174. Be sure to store the updated reserved_sector count in the boot sector,
  175. see Debian bug #567337.
  176. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  177. commit 2a3bef84fbee41ba055ecd57b6ded334e80b9b7f
  178. Author: Daniel Baumann <mail@daniel-baumann.ch>
  179. Date: Sat Jan 23 10:16:18 2010 +0100
  180. Releasing version 3.0.8.
  181. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  182. commit 726c02daf6f8d1f3bf47467bb3989357241ee24f
  183. Author: Daniel Baumann <mail@daniel-baumann.ch>
  184. Date: Sat Jan 23 10:15:01 2010 +0100
  185. Removing some cruft in end-comments.
  186. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  187. commit a5961d734410944ed88a7d67d6d27850e2ed065e
  188. Author: Steven J. Magnani <steve@digidescorp.com>
  189. Date: Thu Jan 21 16:58:11 2010 +0100
  190. When compiling a 32-bit version of dosfstools on an x86_64 machine,
  191. the resulting applications report strange errors on "large" (> 2 GiB)
  192. partitions:
  193. Seek to -2118967808:Invalid argument
  194. Warning: Filesystem is FAT32 according to fat_length and fat32_length fields,
  195. but has only 8613 clusters, less than the required minimum of 65525.
  196. This may lead to problems on some systems.
  197. This appears to be due to compilation with a 32-bit off_t and lseek() library
  198. function.
  199. Use lseek64 for positioning, and change some suspect uses of off_t to loff_t.
  200. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  201. commit bbb25bf11aeda92f6cc75d32a5fdb5789348bb08
  202. Author: Steven J. Magnani <steve@digidescorp.com>
  203. Date: Thu Jan 21 16:56:26 2010 +0100
  204. If dosfsck is run in read-only mode (-n), exit with code 0
  205. if the only issue found is an uninitialized free cluster summary.
  206. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  207. commit 1cae726e2da261e669557bb4a118371c8b836ad5
  208. Author: Steven J. Magnani <steve@digidescorp.com>
  209. Date: Thu Jan 21 16:55:30 2010 +0100
  210. On x86_64, dosfsck incorrectly claims that a free_cluster summary of
  211. 0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong.
  212. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  213. commit 62f806a2921a9ed0a44c3dd4d83a786b19924b72
  214. Author: H. Peter Anvin <hpa@zytor.com>
  215. Date: Fri Jan 8 09:16:38 2010 +0100
  216. mkdosfs: correct alignment of the root directory.
  217. Correct the code to align the root directory; it was broken before
  218. since bs.dir_entries had already been set at the point of alignment.
  219. This patch removes the dual use of bs.dir_entries and root_dir_entries
  220. to carry the same information: the information is carried in
  221. root_dir_entires exclusively, and then bs.dir_entries is set inside
  222. setup_tables() at a late point.
  223. The code to align the root directory is also wrapped in
  224. if (align_structures); this avoids rounding the number of root
  225. directory entries up to a whole sector when used with -a
  226. (i.e. preserves the previous behavior.)
  227. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  228. commit 8825bda33bdce3ce30458dad26f7800b667516d3
  229. Author: H. Peter Anvin <hpa@zytor.com>
  230. Date: Wed Jan 6 20:55:36 2010 +0100
  231. mkdosfs: improve wording in the man page for the -a option.
  232. Improve the English language used in the man page for the -a (no
  233. align) option to mkdosfs.
  234. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  235. commit 21d3f8192aaa9958c626b87bcb9d94727b38ba80
  236. Author: Daniel Baumann <mail@daniel-baumann.ch>
  237. Date: Wed Jan 6 11:27:25 2010 +0100
  238. Adding reference to dosfslable in mkdosfs manpage.
  239. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  240. commit 247ba068d4ceea886ca16c95ab4a8eb772dc4f7a
  241. Author: H. Peter Anvin <hpa@zytor.com>
  242. Date: Wed Jan 6 11:18:55 2010 +0100
  243. mkdosfs: by default align all structures to cluster boundaries
  244. Align all data structures (reserved sectors, FATs, root directory for
  245. FAT12/16) to an even multiple of the cluster size. This means that if
  246. the partition is aligned, so will all clusters be. This adds
  247. significant performance for anything where the physical sector size is
  248. larger than the logical sector size, e.g. flash media or large-sector
  249. hard disks.
  250. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  251. commit 171bc07b0c3eff0eec01d899326ac2a34ea51e72
  252. Author: Daniel Baumann <mail@daniel-baumann.ch>
  253. Date: Thu Dec 24 10:53:36 2009 +0100
  254. Releasing version 3.0.7.
  255. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  256. commit 28708fc8a66e571eb61d3fc2592c17b85f463b40
  257. Author: Ben Hutchings <ben@decadent.org.uk>
  258. Date: Thu Dec 24 09:55:52 2009 +0100
  259. Fixing dosfslabel to set volume label in the right place,
  260. see Debian bug #559985.
  261. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  262. commit 2c405dd8da0f7a1a006aaf91e548676a023bab92
  263. Author: Lubomir Rintel <lkundrak@v3.sk>
  264. Date: Thu Dec 24 09:39:39 2009 +0100
  265. Fixing out-of bound writes.
  266. Firstly, packed attribute is added to the structure so that extension
  267. is guarranteed to immediately follow name for the cross-name-extension
  268. reads to succeed.
  269. Secondly, writes into dir_entry->name that span through the extension as
  270. well are split into two, so that FORTIFY_SOURCE's bound checking does
  271. not abort dosfsck. There also was an off-by-one error in auto_rename()'s
  272. sprintf().
  273. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  274. commit b8f3efed9cb0265968d0d5f2310eb9241a1b5650
  275. Author: San Mehat <san@google.com>
  276. Date: Thu Dec 24 09:31:41 2009 +0100
  277. Adding custom exit code in dosfsck for the case where the FS is read only.
  278. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  279. commit 0657e018980f46932f7c438b4b1593c0ed10ccca
  280. Author: Daniel Baumann <mail@daniel-baumann.ch>
  281. Date: Sun Oct 4 10:59:33 2009 +0200
  282. Releasing version 3.0.6.
  283. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  284. commit bc842544573e4a6c4dcf14892ffd82aa7d590ae1
  285. Author: Steven J. Magnani <steve@digidescorp.com>
  286. Date: Sun Oct 4 10:58:43 2009 +0200
  287. Attempt to improve clarity of the orphan cluster reclaim code.
  288. Minor optimization - remove some unnecessary checking.
  289. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  290. commit 8054b4a371a69eab1cb9c3c639dc38f5d3c03ddb
  291. Author: Steven J. Magnani <steve@digidescorp.com>
  292. Date: Sun Oct 4 08:37:19 2009 +0200
  293. Close hole that permitted clusters to link to (invalid) cluster 1.
  294. If an orphan chain that linked to cluster 1 was reclaimed to a file,
  295. deletion of the file would result in a filesystem panic.
  296. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  297. commit e51af88eed55631b35578c4a30f234ba6f829528
  298. Author: Steven J. Magnani <steve@digidescorp.com>
  299. Date: Sun Oct 4 08:32:30 2009 +0200
  300. Fix erroneous report of huge number of clusters in use on big-endian
  301. systems when the FSINFO free cluster count is reset.
  302. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  303. commit 16ba63f98a310d9743e5b9dbd0f9d7a4f4717455
  304. Author: Daniel Baumann <mail@daniel-baumann.ch>
  305. Date: Mon Jul 27 14:26:11 2009 +0200
  306. Releasing version 3.0.5.
  307. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  308. commit 28ff9d967c23caa8da10479c91d0ba8cc55397ea
  309. Author: Piotr Kaczuba <pepe@attika.ath.cx>
  310. Date: Sun Jul 26 22:21:25 2009 +0200
  311. Signed/unsigned char mismatch in check.c causes false positives
  312. in bad_name() and can result in data loss, see Debian bug #538758.
  313. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  314. commit d42a27373ac20030dac3849d532e79a5841fa957
  315. Author: Andrew Tridgell <tridge@samba.org>
  316. Date: Sun Jul 26 22:12:06 2009 +0200
  317. Update to new kernel patches that add FAT_NO_83NAME flag.
  318. See http://lkml.org/lkml/2009/7/20/425 and
  319. http://lkml.org/lkml/2009/7/20/424 for more information.
  320. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  321. commit dd0f0b53926fbd3b0c262cc09b5d3e0fc19c7ec8
  322. Author: Daniel Baumann <mail@daniel-baumann.ch>
  323. Date: Tue Jul 21 08:10:52 2009 +0200
  324. Releasing version 3.0.4.
  325. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  326. commit b9f37a61a63b8552806042328c1eb67fd4c8a5d2
  327. Author: Andrew Tridgell <tridge@samba.org>
  328. Date: Tue Jul 21 07:59:22 2009 +0200
  329. Modify dosfstools to support the dummy 8.3 short filename values
  330. used by Linux systems with the VFAT_FS_DUALNAMES option disabled.
  331. See http://lkml.org/lkml/2009/6/26/313 and
  332. http://lkml.org/lkml/2009/6/26/314 for more information.
  333. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  334. commit ecd15e86e8c1b9d24443e4fc1948c6effbcfaac3
  335. Author: Paul Rupe <prupe@nc.rr.com>
  336. Date: Tue May 19 10:37:52 2009 +0200
  337. Fixing "Too many files need repair" error during fsck.
  338. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  339. commit 7c16098be2b04ab791a520bf4ca2319233f4bd73
  340. Author: Daniel Baumann <mail@daniel-baumann.ch>
  341. Date: Mon May 18 15:12:04 2009 +0200
  342. Releasing version 3.0.3.
  343. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  344. commit b396dcfb09dba6c55575aaa4b94a408604febd27
  345. Author: Daniel Baumann <mail@daniel-baumann.ch>
  346. Date: Mon May 18 15:10:55 2009 +0200
  347. Also declaring arm as an unaligned architecture, see Debian bug #502961.
  348. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  349. commit ff1b24e91db6df1076dc5c053f34ff1a3924578d
  350. Author: Steven J. Magnani <steve@digidescorp.com>
  351. Date: Mon May 18 15:01:49 2009 +0200
  352. Adding support for limited-memory embedded systems.
  353. This patch reorganizes heap memory usage by dosfsck and mkdosfs
  354. to support limited-memory embedded systems - in particular, those
  355. based on Xilinx's Microblaze processor. It also adds a few comments.
  356. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  357. commit 89f0b727b56f544e40d8066d7711734fc57a051f
  358. Author: Mike Frysinger <vapier@gentoo.org>
  359. Date: Thu Mar 5 07:03:36 2009 +0100
  360. Declaring Blackfin as an unaligned architecture.
  361. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  362. commit b54a8a46ef08e1993796673cfe6c732fe238f74d
  363. Author: Daniel Baumann <mail@daniel-baumann.ch>
  364. Date: Sat Feb 28 09:48:04 2009 +0100
  365. Releasing version 3.0.2.
  366. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  367. commit 95005294d8356b81401101e5f0473f49f45d05b7
  368. Author: Hiroaki Ishizawa <hiroaki.ishizawa@gmail.com>
  369. Date: Fri Feb 13 10:00:46 2009 +0100
  370. dosfsck corrupts root directory when fs->nfats is 1.
  371. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  372. commit 043f8a8fb1decf9f6d4b6fcf23267264422a8dab
  373. Author: Stepan Kasal <skasal@redhat.com>
  374. Date: Fri Jan 30 14:56:33 2009 +0100
  375. src/dosfslabel.c (main): After writing the label, exit code should be 0.
  376. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  377. commit 017da27f1a2b7845cab5fb4e1259d3e0739ef777
  378. Author: Daniel Baumann <mail@daniel-baumann.ch>
  379. Date: Fri Jan 30 14:06:01 2009 +0100
  380. Also installing ChangeLog in install-doc target of Makefile.
  381. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  382. commit 1c76f0faf837f203dc2b1353ce202111ca9183f0
  383. Author: Stepan Kasal <skasal@redhat.com>
  384. Date: Fri Jan 30 14:05:12 2009 +0100
  385. Makefile: Do not clobber time stamps of doc files.
  386. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  387. commit df2d2f17898cb5e13e9017aef1ccaae3b11a201b
  388. Author: Daniel Baumann <mail@daniel-baumann.ch>
  389. Date: Sun Nov 23 22:45:45 2008 +0100
  390. Releasing version 3.0.1.
  391. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  392. commit 17b269b03d758b3946451e2724708d72a8882ed4
  393. Author: Daniel Baumann <mail@daniel-baumann.ch>
  394. Date: Sun Nov 23 18:41:01 2008 +0100
  395. Applying Fedoras dosfstools-vfat-timingfix.diff from Bill Nottingham
  396. <notting@redhat.com> to fix vfat timing issue. See
  397. https://bugzilla.redhat.com/show_bug.cgi?id=448247 for more information.
  398. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  399. commit e597cafef44da9ca46eb2d4999a98c7e23072e46
  400. Author: Ulrich Mueller <ulm@gentoo.org>
  401. Date: Tue Oct 7 07:55:37 2008 +0200
  402. Patch to check for bad number of clusters in dosfsck:
  403. * FAT16 filesystems with 65525 clusters or more will be rejected
  404. (Before, this was not tested for. Up to 65535 clusters were accepted
  405. as good).
  406. * For FAT32 filesystems with less than 65525 a warning message will be
  407. output.
  408. Macro MSDOS_FAT12 is now replaced by FAT12_THRESHOLD to make it
  409. consistent with the definition in mkdosfs and to remove the dependency
  410. on the kernel version.
  411. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  412. commit 90102bcd5447abbb7a155e25bb953a9e690c279c
  413. Author: Dann Frazier <dannf@hp.com>
  414. Date: Tue Sep 30 07:25:19 2008 +0200
  415. Changing some wording to make the indended meaning of "full-disk device"
  416. more obvious.
  417. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  418. commit 21e9ba0a43ed34e8424cac4fdb1d1d8d02e43336
  419. Author: Daniel Baumann <mail@daniel-baumann.ch>
  420. Date: Sun Sep 28 11:43:19 2008 +0200
  421. Releasing version 3.0.0.
  422. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  423. commit eaf145d51bd47f34f0c1d36ea72242edae8660d5
  424. Author: Daniel Baumann <mail@daniel-baumann.ch>
  425. Date: Sun Sep 28 11:29:01 2008 +0200
  426. Adding GPL headers to all files.
  427. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  428. commit 0826117103ea3e87f7b2cbd6f6daaa842f780b9f
  429. Author: Daniel Baumann <mail@daniel-baumann.ch>
  430. Date: Sun Sep 28 10:51:55 2008 +0200
  431. Adding new GPL license file.
  432. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  433. commit f8d6127d8ba4cd6c02ea698e14afa7f1bca59fb2
  434. Author: Daniel Baumann <mail@daniel-baumann.ch>
  435. Date: Fri Sep 26 23:31:12 2008 +0200
  436. Redoing Makefile from scratch.
  437. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  438. commit b4feb7319f6c506f21346e1faea060e1d8429ccb
  439. Author: Daniel Baumann <mail@daniel-baumann.ch>
  440. Date: Sat Sep 27 00:17:38 2008 +0200
  441. Removing whitespaces in all files at EOL and EOF.
  442. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  443. commit 1410138d03618ac4a8f4a670bec1e6640c3dfe12
  444. Author: Daniel Baumann <mail@daniel-baumann.ch>
  445. Date: Fri Sep 26 23:48:56 2008 +0200
  446. Adding Debians dosfslabel.8 manpage from Francois Wendling
  447. <frwendling@free.fr>.
  448. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  449. commit f62e7f27a7f7bcc51c30860ab0422deb273353bf
  450. Author: Daniel Baumann <mail@daniel-baumann.ch>
  451. Date: Fri Sep 26 18:36:04 2008 +0200
  452. Updating version.h includes to new location of version.h file.
  453. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  454. commit 32e5952f4f3610b5f28f427717d838c6e28307d6
  455. Author: Daniel Baumann <mail@daniel-baumann.ch>
  456. Date: Fri Sep 26 18:19:36 2008 +0200
  457. Removing old lsm file.
  458. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  459. commit 25a433bd3d6d9f8bca75ea44afd101e8cf965308
  460. Author: Daniel Baumann <mail@daniel-baumann.ch>
  461. Date: Fri Sep 26 18:07:47 2008 +0200
  462. Removing old cvsignore files.
  463. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  464. commit acac13fb85ed10120420be7a7bd15463389c9759
  465. Author: Daniel Baumann <mail@daniel-baumann.ch>
  466. Date: Fri Sep 26 18:18:39 2008 +0200
  467. Removing old build file.
  468. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  469. commit 3ecdd2122504642e014916b2849e675dbdcddd73
  470. Author: Daniel Baumann <mail@daniel-baumann.ch>
  471. Date: Fri Sep 26 18:19:16 2008 +0200
  472. Removing old GPL license files.
  473. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  474. commit f183d0eaa90668e70ce1e0f092baf66e88a213c9
  475. Author: Daniel Baumann <mail@daniel-baumann.ch>
  476. Date: Fri Sep 26 18:21:57 2008 +0200
  477. Unifying dosfsck and mkdosfs Makefiles in common src/Makefile.
  478. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  479. commit 61e7466965387a881671c74156a14659362c3a4e
  480. Author: Daniel Baumann <mail@daniel-baumann.ch>
  481. Date: Fri Sep 26 18:04:02 2008 +0200
  482. Unifying dosfsck and mkdosfs sources in common src directory.
  483. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  484. commit 7552d5752706db94db069c40e844e6a01844cbae
  485. Author: Daniel Baumann <mail@daniel-baumann.ch>
  486. Date: Fri Sep 26 18:05:27 2008 +0200
  487. Unifying dosfsck and mkdosfs manpages in common man directory.
  488. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  489. commit 124598b2bdfc9901ce4a612f4ef4e4c916a2faa3
  490. Author: Daniel Baumann <mail@daniel-baumann.ch>
  491. Date: Fri Sep 26 18:12:29 2008 +0200
  492. Unifying dosfsck and mkdosfs documents in common doc directory.
  493. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  494. commit fb9c46b59a1fdcea7360008abfe22136f0069d8b
  495. Author: Daniel Baumann <mail@daniel-baumann.ch>
  496. Date: Fri Sep 26 15:39:51 2008 +0200
  497. Applying Gentoos dosfstools-2.11-preen.patch from Roy Marples
  498. <uberlord@gentoo.org> to alias dosfsck -p to -a:
  499. * Map -p to -a for baselayout-2, #177514.
  500. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  501. commit aaa40a9bbc615e7947569e52724c2c5dae36577a
  502. Author: Daniel Baumann <mail@daniel-baumann.ch>
  503. Date: Fri Sep 26 15:49:43 2008 +0200
  504. Applying Gentoos dosfstools-2.11-build.patch from Mike Frysinger
  505. <vapier@gentoo.org> to improve Makefile:
  506. * Respect user settings #157785/#157786 by Diego Petteno.
  507. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  508. commit 251626dd60a085675bf8120c047458312bb21f49
  509. Author: Daniel Baumann <mail@daniel-baumann.ch>
  510. Date: Fri Sep 26 15:37:34 2008 +0200
  511. Applying Gentoos dosfstools-2.11-verify-double-count-fix.patch from
  512. Robin H. Johnson <robbat2@gentoo.org> to fix double count of files
  513. during verification:
  514. * Don't double-count n_files during a verification pass.
  515. Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99845
  516. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  517. commit e670ea82c9a0da446a0d7c88c580c4d2c8be7b59
  518. Author: Daniel Baumann <mail@daniel-baumann.ch>
  519. Date: Fri Sep 26 15:33:36 2008 +0200
  520. Applying Gentoos dosfstools-2.11-fat32size.patch from Mike Frysinger
  521. <vapier@gentoo.org> to fix generation of filesystems on 256meg devices:
  522. * Fix generation of FAT filesystems on devices that are 256meg in size
  523. Patch by Ulrich Mueller and accepted upstream
  524. http://bugs.gentoo.org/112504
  525. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  526. commit a6dc6a4d4bb89ec3997a72fd084a83147c6e66b6
  527. Author: Daniel Baumann <mail@daniel-baumann.ch>
  528. Date: Fri Sep 26 15:22:06 2008 +0200
  529. Applying Suses dosfstools-2.11-unsupported-sector-size.patch from Petr
  530. Gajdos <pgajdos@suse.cz> to add sector size warning:
  531. * added warning for creation msdos on filesystem with sector size
  532. greater than 4096 [fate#303325]
  533. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  534. commit f74695618bd347cc42632794c278b208e464d6e9
  535. Author: Daniel Baumann <mail@daniel-baumann.ch>
  536. Date: Fri Sep 26 15:18:35 2008 +0200
  537. Applying Suses dosfstools-2.11-mkdosfs-geo0.diff from Ludwig Nussel
  538. <lnussel@suse.de> to fix handling of zero heads and sectors:
  539. * the HDIO_GETGEO ioctl works on device mapper devices but returns
  540. zero heads and sectors. Therefore let's a) assume dummy values in
  541. that case in mkdosfs and b) don't consider such fat file systems as
  542. invalid in dosfsck. The Linux kernel accepts them anyways.
  543. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  544. commit cf243e4a84f10db0f42ddadd663cb013c0f47e85
  545. Author: Daniel Baumann <mail@daniel-baumann.ch>
  546. Date: Fri Sep 26 15:15:40 2008 +0200
  547. Applying Suses dosfstools-2.11-linuxfs.patch from Ruediger Oertel
  548. <ro@suse.de> to not include linux/fs.h.
  549. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  550. commit 2d4f18457e65556277fe203aeee2bc6e20f87a44
  551. Author: Daniel Baumann <mail@daniel-baumann.ch>
  552. Date: Fri Sep 26 15:11:50 2008 +0200
  553. Applying Fedoras dosfstools-2.11-assumeKernel26.patch from Peter Vrabec
  554. <pvrabec@redhat.com> to remove linux 2.6 conditionals:
  555. * LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) does not work with
  556. glibc-kernheaders-2.4-9.1.94
  557. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  558. commit 739a6fb2880643a575c5b6d39444a2d0eca7badf
  559. Author: Daniel Baumann <mail@daniel-baumann.ch>
  560. Date: Fri Sep 26 15:05:00 2008 +0200
  561. Applying Debians 99-conglomeration.dpatch (no other information
  562. available).
  563. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  564. commit 3b5ed8a4b186e8b5c1b72a20cbb07b36596550c8
  565. Author: Daniel Baumann <mail@daniel-baumann.ch>
  566. Date: Fri Sep 26 14:26:41 2008 +0200
  567. Applying Debians 15-manpage-files.dpatch from Daniel Baumann
  568. <daniel@debian.org> to improve dosfsck manpage:
  569. * Lists fsckNNNN.rec files in FILES section (Closes: #444596).
  570. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  571. commit 3b6a8634f4dd9500c16edff2b883ecac6cde8e88
  572. Author: Daniel Baumann <mail@daniel-baumann.ch>
  573. Date: Fri Sep 26 14:34:42 2008 +0200
  574. Applying Debians 13-getopt.dpatch from Adonikam Virgo
  575. <adonikam@virgonet.org> to fix mkdosfs getopt:
  576. * Fixes backup sector getopt (Closes: #232387, #479794).
  577. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  578. commit 1b2c8ca3b4b1b308b684a032c794799c0d967536
  579. Author: Daniel Baumann <mail@daniel-baumann.ch>
  580. Date: Fri Sep 26 14:34:17 2008 +0200
  581. Applying Debians 12-zero-slot.dpatch by Karl Tomlinson
  582. <karlt@karlt.net> to fix dosfsck zero slot crashes:
  583. * Fixes crashes due to zero slot numbers causing a negative offset in
  584. the call to copy_lfn_part in lfn_add_slot. On amd64 this results in
  585. a SIGSEGV in copy_lfn_part. On x86 the result is heap corruption and
  586. thus sometimes a SIGSEGV or double free abort later. (Closes:
  587. #152550, #353198, #356377, #401798).
  588. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  589. commit eec8585c731da25a24b731a500720a56d39df64e
  590. Author: Daniel Baumann <mail@daniel-baumann.ch>
  591. Date: Fri Sep 26 14:33:54 2008 +0200
  592. Applying Debians 11-memory-efficiency.dpatch from Eero Tamminen
  593. <eero.tamminen@nokia.com> to improve dosfsck memory efficiency:
  594. * Improves memory efficiency when checking filesystems.
  595. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  596. commit 06bd6697f3776156d646891fdef1cebb95c48ddc
  597. Author: Daniel Baumann <mail@daniel-baumann.ch>
  598. Date: Fri Sep 26 14:33:28 2008 +0200
  599. Applying Debians 10-manpage-synopsis.dpatch from Daniel Baumann
  600. <daniel@debian.org> to fix manpage synopsis:
  601. * List alternative binary names in manpage synopsis (Closes: #284983).
  602. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  603. commit 42d340d05672d12a0cd001f89bfb508e05066f47
  604. Author: Daniel Baumann <mail@daniel-baumann.ch>
  605. Date: Fri Sep 26 14:32:46 2008 +0200
  606. Applying Debians 09-manpage-fat32.dpatch from Daniel Baumann
  607. <daniel@debian.org> to improve mkdosfs manpage:
  608. * Don't claim that FAT32 is not choosed automatically (Closes:
  609. #414183).
  610. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  611. commit 0f5ce0d8f6bd5c7027e799a82f9fe6b814c0be6f
  612. Author: Daniel Baumann <mail@daniel-baumann.ch>
  613. Date: Fri Sep 26 14:32:23 2008 +0200
  614. Applying Debians 08-manpage-drop.dpatch from Daniel Baumann
  615. <daniel@debian.org> to improve dosfsck manpage:
  616. * Don't use confusing word 'drop' when 'delete' is meant (Closes:
  617. #134100).
  618. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  619. commit 8ec54ddfee9aa394a32bcaaa1945eb6273047d18
  620. Author: Daniel Baumann <mail@daniel-baumann.ch>
  621. Date: Fri Sep 26 14:31:50 2008 +0200
  622. Applying Debians 07-manpage-spelling.dpatch from Justin Pryzby
  623. <justinpryzby@users.sourceforge.net> to fix mkdosfs manpage typos.
  624. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  625. commit 4371588cfac03a516447e95164b19a6945efb7a7
  626. Author: Daniel Baumann <mail@daniel-baumann.ch>
  627. Date: Fri Sep 26 14:30:31 2008 +0200
  628. Applying Suses dosfstools-2.11_determine-sector-size.patch from Petr
  629. Gajdos <pgajdos@suse.cz> to determine mkdosfs sector size automatically:
  630. * determine sector size of device automatically or if -S parameter
  631. present, verify, that it's not under physical sector size
  632. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  633. commit fc92e197f870c2f161035fd0c90da5a3ae361be3
  634. Author: Daniel Baumann <mail@daniel-baumann.ch>
  635. Date: Fri Sep 26 14:30:03 2008 +0200
  636. Applying Suses dosfstools-2.11-o_excl.patch from Pavol Rusnak
  637. <prusnak@suse.cz> to use O_EXCL in mkdosfs:
  638. * mkdosfs now opens device with O_EXCL [#238687]
  639. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  640. commit 30846972f9d956b74ec1a3b6749798ab5191ce5a
  641. Author: Daniel Baumann <mail@daniel-baumann.ch>
  642. Date: Fri Sep 26 14:29:36 2008 +0200
  643. Applying Debians 04-unaligned-memory.dpatch from Khalid Aziz
  644. <khalid_aziz@hp.com> to fix dosfsck unaligned memory accesses:
  645. * Fix unaligned memory accesses which cause warnings to appear
  646. everytime the elilo bootloader script runs. This has led a number of
  647. users to believe their install has failed (Closes: #258839).
  648. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  649. commit 6d5c09188c4549a1438656dd574b6142542174dd
  650. Author: Daniel Baumann <mail@daniel-baumann.ch>
  651. Date: Fri Sep 26 13:47:40 2008 +0200
  652. Applying Fedoras dosfstools-2.11-label.patch from Jeremy Katz
  653. <katzj@redhat.com> to add dosfslabel (originally by Peter Jones).
  654. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  655. commit 07ef48724795f7d415bd07850d2440c327b28541
  656. Author: Daniel Baumann <mail@daniel-baumann.ch>
  657. Date: Fri Sep 26 13:41:14 2008 +0200
  658. Applying Fedoras dosfstools-2.11-fortify.patch from Jakub Jelinek
  659. <jakub@redhat.com> to make it build with -D_FORTIFY_SOURCE=2:
  660. * This violates -D_FORTIFY_SOURCE=2 (which is stricter than C
  661. standard), but isn't actually any buffer overflow. But using memcpy
  662. is more efficient anyway.
  663. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  664. commit 78f9dca40b2ba699daab0f7d8e7a2ff833919f94
  665. Author: Daniel Baumann <mail@daniel-baumann.ch>
  666. Date: Fri Sep 26 13:40:47 2008 +0200
  667. Applying Fedoras dosfstools-2.7-argfix.patch (no other information
  668. available).
  669. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
  670. commit ba6774ae1dd5199a733dfaeaf438dff095284de7
  671. Author: Daniel Baumann <mail@daniel-baumann.ch>
  672. Date: Thu Jun 26 12:45:36 2008 +0200
  673. Adding version 2.11.
  674. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>