From 945defbb1404d6f1139facb97ba9c6b16f237df5 Mon Sep 17 00:00:00 2001 From: JinWang An Date: Mon, 26 Dec 2022 13:14:05 +0900 Subject: [PATCH] Imported Upstream version 3.0.18 --- .gitignore | 6 +- ChangeLog | 303 +++++++++------- Makefile | 94 +++-- VERSION | 1 + manpages/Makefile | 49 +++ manpages/bin/update-version.sh | 55 +++ manpages/de/fatlabel.de.8 | 60 ++++ manpages/de/fsck.fat.de.8 | 182 ++++++++++ manpages/de/mkfs.fat.de.8 | 166 +++++++++ man/dosfslabel.8 => manpages/en/fatlabel.8 | 16 +- man/dosfsck.8 => manpages/en/fsck.fat.8 | 28 +- man/mkdosfs.8 => manpages/en/mkfs.fat.8 | 36 +- manpages/po/de/fatlabel.8.po | 153 +++++++++ manpages/po/de/fsck.fat.8.po | 533 +++++++++++++++++++++++++++++ manpages/po/de/mkfs.fat.8.po | 414 ++++++++++++++++++++++ manpages/po4a.cfg | 5 + manpages/pot/fatlabel.8.pot | 153 +++++++++ manpages/pot/fsck.fat.8.pot | 533 +++++++++++++++++++++++++++++ manpages/pot/mkfs.fat.8.pot | 414 ++++++++++++++++++++++ src/boot.c | 4 +- src/check.c | 2 +- src/fat.c | 2 +- src/{dosfslabel.c => fatlabel.c} | 14 +- src/{dosfsck.c => fsck.fat.c} | 8 +- src/{dosfsck.h => fsck.fat.h} | 2 +- src/io.c | 2 +- src/lfn.c | 2 +- src/{mkdosfs.c => mkfs.fat.c} | 10 +- src/version.h | 4 +- 29 files changed, 3035 insertions(+), 216 deletions(-) create mode 100644 VERSION create mode 100644 manpages/Makefile create mode 100755 manpages/bin/update-version.sh create mode 100644 manpages/de/fatlabel.de.8 create mode 100644 manpages/de/fsck.fat.de.8 create mode 100644 manpages/de/mkfs.fat.de.8 rename man/dosfslabel.8 => manpages/en/fatlabel.8 (76%) rename man/dosfsck.8 => manpages/en/fsck.fat.8 (87%) rename man/mkdosfs.8 => manpages/en/mkfs.fat.8 (92%) create mode 100644 manpages/po/de/fatlabel.8.po create mode 100644 manpages/po/de/fsck.fat.8.po create mode 100644 manpages/po/de/mkfs.fat.8.po create mode 100644 manpages/po4a.cfg create mode 100644 manpages/pot/fatlabel.8.pot create mode 100644 manpages/pot/fsck.fat.8.pot create mode 100644 manpages/pot/mkfs.fat.8.pot rename src/{dosfslabel.c => fatlabel.c} (89%) rename src/{dosfsck.c => fsck.fat.c} (97%) rename src/{dosfsck.h => fsck.fat.h} (99%) rename src/{mkdosfs.c => mkfs.fat.c} (99%) diff --git a/.gitignore b/.gitignore index 3956eda..384f131 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *.o -/dosfsck -/dosfslabel -/mkdosfs +/fatlabel +/fsck.fat +/mkfs.fat diff --git a/ChangeLog b/ChangeLog index dd88607..bed1cac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,59 @@ -commit 3aa88ed2a22d517d4a392bef3fc3f27b878ee8a6 (HEAD, origin/master, origin/HEAD, master) +commit d4e1180 (HEAD, origin/master, origin/HEAD, master) +Author: Daniel Baumann +Date: Thu Jun 6 09:38:45 2013 +0200 + + Adding initial i18n support for manpages with po4a. + + Signed-off-by: Daniel Baumann + +commit ea8f712 +Author: Daniel Baumann +Date: Thu Jun 6 09:17:13 2013 +0200 + + Renaming tools to sane namespace and keeping legacy symlinks in place. + + dosfslabel becomes fatlabel, + dosfsck becomes fsck.fat, + and mkdosfs becomes mkfs.fat. + + Signed-off-by: Daniel Baumann + +commit a42b127 +Author: Daniel Baumann +Date: Wed Jun 5 07:12:03 2013 +0200 + + Correcting wrong spelling of Debian in mkdosfs manpage. + + Signed-off-by: Daniel Baumann + +commit 2749084 +Author: Daniel Baumann +Date: Wed Jun 5 07:10:50 2013 +0200 + + Correcting spelling typo in boot.c. + + Signed-off-by: Daniel Baumann + +commit 6461c83 +Author: Martin Pitt +Date: Fri May 24 09:35:44 2013 +0200 + + dosfslabel: Do not read beyond string length (Closes: #709587). + + When checking whether the label contains any lower-case characters, do not read + beyond the end of the string. + + Signed-off-by: Daniel Baumann + +commit 4203a90 (tag: v3.0.17) +Author: Daniel Baumann +Date: Wed May 29 10:14:09 2013 +0200 + + Releasing version 3.0.17. + + Signed-off-by: Daniel Baumann + +commit 3aa88ed Author: Daniel Baumann Date: Wed May 29 09:48:24 2013 +0200 @@ -6,7 +61,7 @@ Date: Wed May 29 09:48:24 2013 +0200 Signed-off-by: Daniel Baumann -commit 0916f8a0e0051ddfe1c4c96a399421a3832acd4f +commit 0916f8a Author: Jaroslav Skarvada Date: Wed May 29 09:56:08 2013 +0200 @@ -14,7 +69,7 @@ Date: Wed May 29 09:56:08 2013 +0200 Signed-off-by: Daniel Baumann -commit 4a265c67e036ee12a0393656b0167d3e7833cda8 +commit 4a265c6 Author: James Byrne Date: Mon Apr 22 12:29:51 2013 +0100 @@ -49,7 +104,7 @@ Date: Mon Apr 22 12:29:51 2013 +0100 Signed-off-by: Daniel Baumann -commit eb68a14005ec5230eed4615576a70406bc37f66d +commit eb68a14 Author: James Byrne Date: Mon Apr 22 13:32:01 2013 +0100 @@ -60,7 +115,7 @@ Date: Mon Apr 22 13:32:01 2013 +0100 Signed-off-by: Daniel Baumann -commit 336e8f105a741767aa4daed3e40906e4a68abea1 +commit 336e8f1 Author: James Byrne Date: Mon Apr 22 12:38:52 2013 +0100 @@ -72,7 +127,7 @@ Date: Mon Apr 22 12:38:52 2013 +0100 Signed-off-by: Daniel Baumann -commit 64b6227186d08a0a1c339fb0b894ca9c0050ffac +commit 64b6227 Author: Daniel Baumann Date: Thu Apr 4 08:08:00 2013 +0200 @@ -80,7 +135,7 @@ Date: Thu Apr 4 08:08:00 2013 +0200 Signed-off-by: Daniel Baumann -commit 76304bef84f8aa5e99128b982d5c9dc5b90c09e5 +commit 76304be Author: Cristian Rodríguez Date: Fri Mar 1 08:23:34 2013 +0100 @@ -92,7 +147,7 @@ Date: Fri Mar 1 08:23:34 2013 +0100 Signed-off-by: Daniel Baumann -commit 9ba8992e2e889d19b479a5f62ed41bb93bad8bb5 +commit 9ba8992 Author: Cristian Rodríguez Date: Fri Mar 1 08:58:36 2013 +0100 @@ -103,7 +158,7 @@ Date: Fri Mar 1 08:58:36 2013 +0100 Signed-off-by: Daniel Baumann -commit 8733e12a3eb24bfbb56f3a40863053e1197039a6 (tag: v3.0.16) +commit 8733e12 (tag: v3.0.16) Author: Daniel Baumann Date: Wed May 29 10:06:01 2013 +0200 @@ -111,7 +166,7 @@ Date: Wed May 29 10:06:01 2013 +0200 Signed-off-by: Daniel Baumann -commit a9fa87e758291fa2b4143ad6db07aa4a2ee72eb6 +commit a9fa87e Author: Petr Gajdos Date: Fri Mar 1 08:34:12 2013 +0100 @@ -123,7 +178,7 @@ Date: Fri Mar 1 08:34:12 2013 +0100 Signed-off-by: Daniel Baumann -commit 92057f1731557ee90ad793567b3164478ac46106 +commit 92057f1 Author: Petr Gajdos Date: Fri Mar 1 08:33:18 2013 +0100 @@ -134,7 +189,7 @@ Date: Fri Mar 1 08:33:18 2013 +0100 Signed-off-by: Daniel Baumann -commit 5e265c42aab04a906f2dd8a570c5c26519860cb4 +commit 5e265c4 Author: Petr Gajdos Date: Fri Mar 1 08:32:02 2013 +0100 @@ -145,7 +200,7 @@ Date: Fri Mar 1 08:32:02 2013 +0100 Signed-off-by: Daniel Baumann -commit 5cec53c43cb453a0e1c1adc0369fdc5d45356384 +commit 5cec53c Author: Petr Gajdos Date: Fri Mar 1 08:30:21 2013 +0100 @@ -154,7 +209,7 @@ Date: Fri Mar 1 08:30:21 2013 +0100 Signed-off-by: Daniel Baumann -commit 63938f0606f896d979ccb7d8056e9a1275b961ef +commit 63938f0 Author: Petr Gajdos Date: Fri Mar 1 08:29:00 2013 +0100 @@ -165,7 +220,7 @@ Date: Fri Mar 1 08:29:00 2013 +0100 Signed-off-by: Daniel Baumann -commit 10c1c41fd8e2813fe42b279e5a3c6261da8d318c +commit 10c1c41 Author: Petr Gajdos Date: Fri Mar 1 08:58:15 2013 +0100 @@ -176,7 +231,7 @@ Date: Fri Mar 1 08:58:15 2013 +0100 Signed-off-by: Daniel Baumann -commit a75fb1c838a47b8f54ff567ca2eb71e98ccb691c (tag: v3.0.15) +commit a75fb1c (tag: v3.0.15) Author: Daniel Baumann Date: Thu Feb 21 15:06:52 2013 +0100 @@ -184,7 +239,7 @@ Date: Thu Feb 21 15:06:52 2013 +0100 Signed-off-by: Daniel Baumann -commit c8f84fdcddf0982b86ef53250b08a005c80925ef +commit c8f84fd Author: Alexander Korolkov Date: Mon Feb 4 00:22:34 2013 +0400 @@ -194,7 +249,7 @@ Date: Mon Feb 4 00:22:34 2013 +0400 Signed-off-by: Daniel Baumann -commit 154654555730874c1656bb6c63292a85a2260bdf +commit 1546545 Author: Alexander Korolkov Date: Sun Sep 5 18:59:47 2010 +0400 @@ -206,7 +261,7 @@ Date: Sun Sep 5 18:59:47 2010 +0400 Signed-off-by: Daniel Baumann -commit ad76cae648d3b7895e97e16f8212ae8089b8846b +commit ad76cae Author: Jaroslav Skarvada Date: Thu Feb 21 14:40:52 2013 +0100 @@ -216,7 +271,7 @@ Date: Thu Feb 21 14:40:52 2013 +0100 Signed-off-by: Daniel Baumann -commit b8201b34eb83c2bf87bd1c2b1a7fa57a1dc28191 +commit b8201b3 Author: Jaroslav Skarvada Date: Thu Feb 21 14:40:25 2013 +0100 @@ -226,7 +281,7 @@ Date: Thu Feb 21 14:40:25 2013 +0100 Signed-off-by: Daniel Baumann -commit 7a756385ed6bce393396c699e068b5f239053db6 (tag: v3.0.14) +commit 7a75638 (tag: v3.0.14) Author: Daniel Baumann Date: Wed Jan 23 13:22:01 2013 +0100 @@ -234,7 +289,7 @@ Date: Wed Jan 23 13:22:01 2013 +0100 Signed-off-by: Daniel Baumann -commit 5bdd7ef95c7f18e9e6571bf0718a564bd15b30d5 +commit 5bdd7ef Author: Daniel Baumann Date: Wed Jan 23 13:16:20 2013 +0100 @@ -242,7 +297,7 @@ Date: Wed Jan 23 13:16:20 2013 +0100 Signed-off-by: Daniel Baumann -commit a307be2b9cbfd0ed8c10dab79044cf6c7426ea18 +commit a307be2 Author: Oleksij Rempel Date: Wed Jan 23 12:36:56 2013 +0100 @@ -255,7 +310,7 @@ Date: Wed Jan 23 12:36:56 2013 +0100 Signed-off-by: Oleksij Rempel Signed-off-by: Daniel Baumann -commit ce2f8dc349a8a6b2c26d1b3892cc9b5f0408bd34 +commit ce2f8dc Author: Oleksij Rempel Date: Wed Jan 23 12:35:13 2013 +0100 @@ -268,7 +323,7 @@ Date: Wed Jan 23 12:35:13 2013 +0100 Signed-off-by: Oleksij Rempel Signed-off-by: Daniel Baumann -commit f33ee8ca5640191e7666402d6676073712b9c988 +commit f33ee8c Author: Daniel Baumann Date: Wed Jan 23 12:25:59 2013 +0100 @@ -276,7 +331,7 @@ Date: Wed Jan 23 12:25:59 2013 +0100 Signed-off-by: Daniel Baumann -commit bfe6d25c6297b2fbca174ead56dffee340668a06 +commit bfe6d25 Author: Daniel Baumann Date: Wed Jan 23 12:17:20 2013 +0100 @@ -284,7 +339,7 @@ Date: Wed Jan 23 12:17:20 2013 +0100 Signed-off-by: Daniel Baumann -commit 13cdb4d262b4042ec2d94d706e30f45a63f1c029 (tag: v3.0.13) +commit 13cdb4d (tag: v3.0.13) Author: Daniel Baumann Date: Sat Jun 30 19:10:44 2012 +0200 @@ -292,7 +347,7 @@ Date: Sat Jun 30 19:10:44 2012 +0200 Signed-off-by: Daniel Baumann -commit d03948265679186dd89403da46d1aba1decafd55 +commit d039482 Author: Jaroslav Škarvada Date: Sat Jun 30 19:09:11 2012 +0200 @@ -302,7 +357,7 @@ Date: Sat Jun 30 19:09:11 2012 +0200 Signed-off-by: Daniel Baumann -commit e243612ccd10ec10a9877fe32524acc8b7f3d2a4 (tag: v3.0.12) +commit e243612 (tag: v3.0.12) Author: Daniel Baumann Date: Sat Oct 29 08:40:53 2011 +0200 @@ -310,7 +365,7 @@ Date: Sat Oct 29 08:40:53 2011 +0200 Signed-off-by: Daniel Baumann -commit 025b4f04fe3148b68c1857e3a26292d6330c748b +commit 025b4f0 Author: Michael Casadevall Date: Tue Jun 7 19:19:30 2011 +0200 @@ -331,7 +386,7 @@ Date: Tue Jun 7 19:19:30 2011 +0200 Signed-off-by: Daniel Baumann -commit 91a1fb9536b71133e6be9b0c09107c84d9cdfecb +commit 91a1fb9 Author: Daniel Baumann Date: Sat Jan 8 23:38:59 2011 +0100 @@ -339,7 +394,7 @@ Date: Sat Jan 8 23:38:59 2011 +0100 Signed-off-by: Daniel Baumann -commit 0390c4c1c12094aedb46d3bf800c9ac5900f9f56 +commit 0390c4c Author: Sergey Gusarov Date: Sat Jan 8 23:36:11 2011 +0100 @@ -351,7 +406,7 @@ Date: Sat Jan 8 23:36:11 2011 +0100 Signed-off-by: Daniel Baumann -commit 4a8f8a66459f6d311672c42f8a9ac3661fb79208 +commit 4a8f8a6 Author: Jaroslav Skarvada Date: Thu Jan 6 22:35:00 2011 +0100 @@ -365,7 +420,7 @@ Date: Thu Jan 6 22:35:00 2011 +0100 Signed-off-by: Daniel Baumann -commit e0366dac9736a1a60459b33c2259785e8d08d647 +commit e0366da Author: Sergey Gusarov Date: Thu Jan 6 22:31:39 2011 +0100 @@ -373,7 +428,7 @@ Date: Thu Jan 6 22:31:39 2011 +0100 Signed-off-by: Daniel Baumann -commit 2d8be9c62869c220be6426ef9f37662b4e671454 +commit 2d8be9c Author: Daniel Baumann Date: Sun Jan 2 15:41:44 2011 +0100 @@ -381,7 +436,7 @@ Date: Sun Jan 2 15:41:44 2011 +0100 Signed-off-by: Daniel Baumann -commit 697af859b69def125555403dc5521224c0813369 +commit 697af85 Author: Daniel Baumann Date: Sun Jan 2 15:39:03 2011 +0100 @@ -389,7 +444,7 @@ Date: Sun Jan 2 15:39:03 2011 +0100 Signed-off-by: Daniel Baumann -commit 66d55cd07420a7f6da3c96412b9159439823ff97 (tag: v3.0.11) +commit 66d55cd (tag: v3.0.11) Author: Daniel Baumann Date: Fri Dec 24 17:58:29 2010 +0100 @@ -397,7 +452,7 @@ Date: Fri Dec 24 17:58:29 2010 +0100 Signed-off-by: Daniel Baumann -commit d57980204ef78b863130e9ef75f8e9f66bb677ec +commit d579802 Author: Michael Stapelberg Date: Fri Nov 19 14:09:36 2010 +0100 @@ -409,7 +464,7 @@ Date: Fri Nov 19 14:09:36 2010 +0100 Signed-off-by: Daniel Baumann -commit bb6000fc30809ad8025bac5eb173d46f56223a7e +commit bb6000f Author: Jaroslav Skarvada Date: Fri Oct 8 13:38:16 2010 +0200 @@ -418,7 +473,7 @@ Date: Fri Oct 8 13:38:16 2010 +0200 Signed-off-by: Daniel Baumann -commit 5ef7f1f78a13207fd4317a73dd0308c95faeaa44 (tag: v3.0.10) +commit 5ef7f1f (tag: v3.0.10) Author: Daniel Baumann Date: Sun Sep 12 09:35:47 2010 +0200 @@ -426,7 +481,7 @@ Date: Sun Sep 12 09:35:47 2010 +0200 Signed-off-by: Daniel Baumann -commit ea41797c7a7a0f56774f326beb916815541e62ae +commit ea41797 Author: Alexander Korolkov Date: Sun Sep 12 09:29:12 2010 +0200 @@ -435,7 +490,7 @@ Date: Sun Sep 12 09:29:12 2010 +0200 Signed-off-by: Daniel Baumann -commit e56ff72c1659a6a34c981d4ff6ce7841c773d0a8 +commit e56ff72 Author: Alexander Korolkov Date: Sun Sep 12 09:27:07 2010 +0200 @@ -444,7 +499,7 @@ Date: Sun Sep 12 09:27:07 2010 +0200 Signed-off-by: Daniel Baumann -commit f0a42d0634302c3fbdbe4bb717b0a9a17235a828 +commit f0a42d0 Author: Alexander Korolkov Date: Sun Sep 12 09:24:47 2010 +0200 @@ -454,7 +509,7 @@ Date: Sun Sep 12 09:24:47 2010 +0200 Signed-off-by: Daniel Baumann -commit 0113c5bd145749772e2c808224f7c571024eb5fa +commit 0113c5b Author: Mitch Rybczynski Date: Mon Jul 5 14:45:54 2010 +0200 @@ -462,7 +517,7 @@ Date: Mon Jul 5 14:45:54 2010 +0200 Signed-off-by: Daniel Baumann -commit 88cb84f1402d23bdf94f3cfd934792e7a04333fc +commit 88cb84f Author: Daniel Baumann Date: Sun Mar 14 16:42:32 2010 +0100 @@ -470,7 +525,7 @@ Date: Sun Mar 14 16:42:32 2010 +0100 Signed-off-by: Daniel Baumann -commit 5aa7ec4f2d0e02207709eb0b4f1487ea9193dd26 +commit 5aa7ec4 Author: Daniel Baumann Date: Sun Mar 14 16:33:47 2010 +0100 @@ -478,7 +533,7 @@ Date: Sun Mar 14 16:33:47 2010 +0100 Signed-off-by: Daniel Baumann -commit 807ed8028357ebb5ec78d92c405c7c80c8f3d749 +commit 807ed80 Author: Daniel Baumann Date: Sun Mar 14 16:05:32 2010 +0100 @@ -486,7 +541,7 @@ Date: Sun Mar 14 16:05:32 2010 +0100 Signed-off-by: Daniel Baumann -commit 5b6849dc6268dfdede6e57c50d28f4179416b127 (tag: v3.0.9) +commit 5b6849d (tag: v3.0.9) Author: Daniel Baumann Date: Sun Jan 31 08:31:32 2010 +0100 @@ -494,7 +549,7 @@ Date: Sun Jan 31 08:31:32 2010 +0100 Signed-off-by: Daniel Baumann -commit 33bca7d6b5157ad7cde134f7edb3d6677317e15c +commit 33bca7d Author: Daniel Kahn Gillmor Date: Sun Jan 31 00:11:41 2010 -0500 @@ -503,7 +558,7 @@ Date: Sun Jan 31 00:11:41 2010 -0500 Signed-off-by: Daniel Baumann -commit 2a3bef84fbee41ba055ecd57b6ded334e80b9b7f (tag: v3.0.8) +commit 2a3bef8 (tag: v3.0.8) Author: Daniel Baumann Date: Sat Jan 23 10:16:18 2010 +0100 @@ -511,7 +566,7 @@ Date: Sat Jan 23 10:16:18 2010 +0100 Signed-off-by: Daniel Baumann -commit 726c02daf6f8d1f3bf47467bb3989357241ee24f +commit 726c02d Author: Daniel Baumann Date: Sat Jan 23 10:15:01 2010 +0100 @@ -519,7 +574,7 @@ Date: Sat Jan 23 10:15:01 2010 +0100 Signed-off-by: Daniel Baumann -commit a5961d734410944ed88a7d67d6d27850e2ed065e +commit a5961d7 Author: Steven J. Magnani Date: Thu Jan 21 16:58:11 2010 +0100 @@ -540,7 +595,7 @@ Date: Thu Jan 21 16:58:11 2010 +0100 Signed-off-by: Daniel Baumann -commit bbb25bf11aeda92f6cc75d32a5fdb5789348bb08 +commit bbb25bf Author: Steven J. Magnani Date: Thu Jan 21 16:56:26 2010 +0100 @@ -549,7 +604,7 @@ Date: Thu Jan 21 16:56:26 2010 +0100 Signed-off-by: Daniel Baumann -commit 1cae726e2da261e669557bb4a118371c8b836ad5 +commit 1cae726 Author: Steven J. Magnani Date: Thu Jan 21 16:55:30 2010 +0100 @@ -558,7 +613,7 @@ Date: Thu Jan 21 16:55:30 2010 +0100 Signed-off-by: Daniel Baumann -commit 62f806a2921a9ed0a44c3dd4d83a786b19924b72 +commit 62f806a Author: H. Peter Anvin Date: Fri Jan 8 09:16:38 2010 +0100 @@ -578,7 +633,7 @@ Date: Fri Jan 8 09:16:38 2010 +0100 Signed-off-by: Daniel Baumann -commit 8825bda33bdce3ce30458dad26f7800b667516d3 +commit 8825bda Author: H. Peter Anvin Date: Wed Jan 6 20:55:36 2010 +0100 @@ -589,7 +644,7 @@ Date: Wed Jan 6 20:55:36 2010 +0100 Signed-off-by: Daniel Baumann -commit 21d3f8192aaa9958c626b87bcb9d94727b38ba80 +commit 21d3f81 Author: Daniel Baumann Date: Wed Jan 6 11:27:25 2010 +0100 @@ -597,7 +652,7 @@ Date: Wed Jan 6 11:27:25 2010 +0100 Signed-off-by: Daniel Baumann -commit 247ba068d4ceea886ca16c95ab4a8eb772dc4f7a +commit 247ba06 Author: H. Peter Anvin Date: Wed Jan 6 11:18:55 2010 +0100 @@ -612,7 +667,7 @@ Date: Wed Jan 6 11:18:55 2010 +0100 Signed-off-by: Daniel Baumann -commit 171bc07b0c3eff0eec01d899326ac2a34ea51e72 (tag: v3.0.7) +commit 171bc07 (tag: v3.0.7) Author: Daniel Baumann Date: Thu Dec 24 10:53:36 2009 +0100 @@ -620,7 +675,7 @@ Date: Thu Dec 24 10:53:36 2009 +0100 Signed-off-by: Daniel Baumann -commit 28708fc8a66e571eb61d3fc2592c17b85f463b40 +commit 28708fc Author: Ben Hutchings Date: Thu Dec 24 09:55:52 2009 +0100 @@ -629,7 +684,7 @@ Date: Thu Dec 24 09:55:52 2009 +0100 Signed-off-by: Daniel Baumann -commit 2c405dd8da0f7a1a006aaf91e548676a023bab92 +commit 2c405dd Author: Lubomir Rintel Date: Thu Dec 24 09:39:39 2009 +0100 @@ -646,7 +701,7 @@ Date: Thu Dec 24 09:39:39 2009 +0100 Signed-off-by: Daniel Baumann -commit b8f3efed9cb0265968d0d5f2310eb9241a1b5650 +commit b8f3efe Author: San Mehat Date: Thu Dec 24 09:31:41 2009 +0100 @@ -654,7 +709,7 @@ Date: Thu Dec 24 09:31:41 2009 +0100 Signed-off-by: Daniel Baumann -commit 0657e018980f46932f7c438b4b1593c0ed10ccca (tag: v3.0.6) +commit 0657e01 (tag: v3.0.6) Author: Daniel Baumann Date: Sun Oct 4 10:59:33 2009 +0200 @@ -662,7 +717,7 @@ Date: Sun Oct 4 10:59:33 2009 +0200 Signed-off-by: Daniel Baumann -commit bc842544573e4a6c4dcf14892ffd82aa7d590ae1 +commit bc84254 Author: Steven J. Magnani Date: Sun Oct 4 10:58:43 2009 +0200 @@ -671,7 +726,7 @@ Date: Sun Oct 4 10:58:43 2009 +0200 Signed-off-by: Daniel Baumann -commit 8054b4a371a69eab1cb9c3c639dc38f5d3c03ddb +commit 8054b4a Author: Steven J. Magnani Date: Sun Oct 4 08:37:19 2009 +0200 @@ -682,7 +737,7 @@ Date: Sun Oct 4 08:37:19 2009 +0200 Signed-off-by: Daniel Baumann -commit e51af88eed55631b35578c4a30f234ba6f829528 +commit e51af88 Author: Steven J. Magnani Date: Sun Oct 4 08:32:30 2009 +0200 @@ -691,7 +746,7 @@ Date: Sun Oct 4 08:32:30 2009 +0200 Signed-off-by: Daniel Baumann -commit 16ba63f98a310d9743e5b9dbd0f9d7a4f4717455 (tag: v3.0.5) +commit 16ba63f (tag: v3.0.5) Author: Daniel Baumann Date: Mon Jul 27 14:26:11 2009 +0200 @@ -699,7 +754,7 @@ Date: Mon Jul 27 14:26:11 2009 +0200 Signed-off-by: Daniel Baumann -commit 28ff9d967c23caa8da10479c91d0ba8cc55397ea +commit 28ff9d9 Author: Piotr Kaczuba Date: Sun Jul 26 22:21:25 2009 +0200 @@ -708,7 +763,7 @@ Date: Sun Jul 26 22:21:25 2009 +0200 Signed-off-by: Daniel Baumann -commit d42a27373ac20030dac3849d532e79a5841fa957 +commit d42a273 Author: Andrew Tridgell Date: Sun Jul 26 22:12:06 2009 +0200 @@ -719,7 +774,7 @@ Date: Sun Jul 26 22:12:06 2009 +0200 Signed-off-by: Daniel Baumann -commit dd0f0b53926fbd3b0c262cc09b5d3e0fc19c7ec8 (tag: v3.0.4) +commit dd0f0b5 (tag: v3.0.4) Author: Daniel Baumann Date: Tue Jul 21 08:10:52 2009 +0200 @@ -727,7 +782,7 @@ Date: Tue Jul 21 08:10:52 2009 +0200 Signed-off-by: Daniel Baumann -commit b9f37a61a63b8552806042328c1eb67fd4c8a5d2 +commit b9f37a6 Author: Andrew Tridgell Date: Tue Jul 21 07:59:22 2009 +0200 @@ -739,7 +794,7 @@ Date: Tue Jul 21 07:59:22 2009 +0200 Signed-off-by: Daniel Baumann -commit ecd15e86e8c1b9d24443e4fc1948c6effbcfaac3 +commit ecd15e8 Author: Paul Rupe Date: Tue May 19 10:37:52 2009 +0200 @@ -747,7 +802,7 @@ Date: Tue May 19 10:37:52 2009 +0200 Signed-off-by: Daniel Baumann -commit 7c16098be2b04ab791a520bf4ca2319233f4bd73 (tag: v3.0.3) +commit 7c16098 (tag: v3.0.3) Author: Daniel Baumann Date: Mon May 18 15:12:04 2009 +0200 @@ -755,7 +810,7 @@ Date: Mon May 18 15:12:04 2009 +0200 Signed-off-by: Daniel Baumann -commit b396dcfb09dba6c55575aaa4b94a408604febd27 +commit b396dcf Author: Daniel Baumann Date: Mon May 18 15:10:55 2009 +0200 @@ -763,7 +818,7 @@ Date: Mon May 18 15:10:55 2009 +0200 Signed-off-by: Daniel Baumann -commit ff1b24e91db6df1076dc5c053f34ff1a3924578d +commit ff1b24e Author: Steven J. Magnani Date: Mon May 18 15:01:49 2009 +0200 @@ -775,7 +830,7 @@ Date: Mon May 18 15:01:49 2009 +0200 Signed-off-by: Daniel Baumann -commit 89f0b727b56f544e40d8066d7711734fc57a051f +commit 89f0b72 Author: Mike Frysinger Date: Thu Mar 5 07:03:36 2009 +0100 @@ -783,7 +838,7 @@ Date: Thu Mar 5 07:03:36 2009 +0100 Signed-off-by: Daniel Baumann -commit b54a8a46ef08e1993796673cfe6c732fe238f74d (tag: v3.0.2) +commit b54a8a4 (tag: v3.0.2) Author: Daniel Baumann Date: Sat Feb 28 09:48:04 2009 +0100 @@ -791,7 +846,7 @@ Date: Sat Feb 28 09:48:04 2009 +0100 Signed-off-by: Daniel Baumann -commit 95005294d8356b81401101e5f0473f49f45d05b7 +commit 9500529 Author: Hiroaki Ishizawa Date: Fri Feb 13 10:00:46 2009 +0100 @@ -799,7 +854,7 @@ Date: Fri Feb 13 10:00:46 2009 +0100 Signed-off-by: Daniel Baumann -commit 043f8a8fb1decf9f6d4b6fcf23267264422a8dab +commit 043f8a8 Author: Stepan Kasal Date: Fri Jan 30 14:56:33 2009 +0100 @@ -807,7 +862,7 @@ Date: Fri Jan 30 14:56:33 2009 +0100 Signed-off-by: Daniel Baumann -commit 017da27f1a2b7845cab5fb4e1259d3e0739ef777 +commit 017da27 Author: Daniel Baumann Date: Fri Jan 30 14:06:01 2009 +0100 @@ -815,7 +870,7 @@ Date: Fri Jan 30 14:06:01 2009 +0100 Signed-off-by: Daniel Baumann -commit 1c76f0faf837f203dc2b1353ce202111ca9183f0 +commit 1c76f0f Author: Stepan Kasal Date: Fri Jan 30 14:05:12 2009 +0100 @@ -823,7 +878,7 @@ Date: Fri Jan 30 14:05:12 2009 +0100 Signed-off-by: Daniel Baumann -commit df2d2f17898cb5e13e9017aef1ccaae3b11a201b (tag: v3.0.1) +commit df2d2f1 (tag: v3.0.1) Author: Daniel Baumann Date: Sun Nov 23 22:45:45 2008 +0100 @@ -831,7 +886,7 @@ Date: Sun Nov 23 22:45:45 2008 +0100 Signed-off-by: Daniel Baumann -commit 17b269b03d758b3946451e2724708d72a8882ed4 +commit 17b269b Author: Daniel Baumann Date: Sun Nov 23 18:41:01 2008 +0100 @@ -841,7 +896,7 @@ Date: Sun Nov 23 18:41:01 2008 +0100 Signed-off-by: Daniel Baumann -commit e597cafef44da9ca46eb2d4999a98c7e23072e46 +commit e597caf Author: Ulrich Mueller Date: Tue Oct 7 07:55:37 2008 +0200 @@ -860,7 +915,7 @@ Date: Tue Oct 7 07:55:37 2008 +0200 Signed-off-by: Daniel Baumann -commit 90102bcd5447abbb7a155e25bb953a9e690c279c +commit 90102bc Author: Dann Frazier Date: Tue Sep 30 07:25:19 2008 +0200 @@ -869,7 +924,7 @@ Date: Tue Sep 30 07:25:19 2008 +0200 Signed-off-by: Daniel Baumann -commit 21e9ba0a43ed34e8424cac4fdb1d1d8d02e43336 (tag: v3.0.0) +commit 21e9ba0 (tag: v3.0.0) Author: Daniel Baumann Date: Sun Sep 28 11:43:19 2008 +0200 @@ -877,7 +932,7 @@ Date: Sun Sep 28 11:43:19 2008 +0200 Signed-off-by: Daniel Baumann -commit eaf145d51bd47f34f0c1d36ea72242edae8660d5 +commit eaf145d Author: Daniel Baumann Date: Sun Sep 28 11:29:01 2008 +0200 @@ -885,7 +940,7 @@ Date: Sun Sep 28 11:29:01 2008 +0200 Signed-off-by: Daniel Baumann -commit 0826117103ea3e87f7b2cbd6f6daaa842f780b9f +commit 0826117 Author: Daniel Baumann Date: Sun Sep 28 10:51:55 2008 +0200 @@ -893,7 +948,7 @@ Date: Sun Sep 28 10:51:55 2008 +0200 Signed-off-by: Daniel Baumann -commit f8d6127d8ba4cd6c02ea698e14afa7f1bca59fb2 +commit f8d6127 Author: Daniel Baumann Date: Fri Sep 26 23:31:12 2008 +0200 @@ -901,7 +956,7 @@ Date: Fri Sep 26 23:31:12 2008 +0200 Signed-off-by: Daniel Baumann -commit b4feb7319f6c506f21346e1faea060e1d8429ccb +commit b4feb73 Author: Daniel Baumann Date: Sat Sep 27 00:17:38 2008 +0200 @@ -909,7 +964,7 @@ Date: Sat Sep 27 00:17:38 2008 +0200 Signed-off-by: Daniel Baumann -commit 1410138d03618ac4a8f4a670bec1e6640c3dfe12 +commit 1410138 Author: Daniel Baumann Date: Fri Sep 26 23:48:56 2008 +0200 @@ -918,7 +973,7 @@ Date: Fri Sep 26 23:48:56 2008 +0200 Signed-off-by: Daniel Baumann -commit f62e7f27a7f7bcc51c30860ab0422deb273353bf +commit f62e7f2 Author: Daniel Baumann Date: Fri Sep 26 18:36:04 2008 +0200 @@ -926,7 +981,7 @@ Date: Fri Sep 26 18:36:04 2008 +0200 Signed-off-by: Daniel Baumann -commit 32e5952f4f3610b5f28f427717d838c6e28307d6 +commit 32e5952 Author: Daniel Baumann Date: Fri Sep 26 18:19:36 2008 +0200 @@ -934,7 +989,7 @@ Date: Fri Sep 26 18:19:36 2008 +0200 Signed-off-by: Daniel Baumann -commit 25a433bd3d6d9f8bca75ea44afd101e8cf965308 +commit 25a433b Author: Daniel Baumann Date: Fri Sep 26 18:07:47 2008 +0200 @@ -942,7 +997,7 @@ Date: Fri Sep 26 18:07:47 2008 +0200 Signed-off-by: Daniel Baumann -commit acac13fb85ed10120420be7a7bd15463389c9759 +commit acac13f Author: Daniel Baumann Date: Fri Sep 26 18:18:39 2008 +0200 @@ -950,7 +1005,7 @@ Date: Fri Sep 26 18:18:39 2008 +0200 Signed-off-by: Daniel Baumann -commit 3ecdd2122504642e014916b2849e675dbdcddd73 +commit 3ecdd21 Author: Daniel Baumann Date: Fri Sep 26 18:19:16 2008 +0200 @@ -958,7 +1013,7 @@ Date: Fri Sep 26 18:19:16 2008 +0200 Signed-off-by: Daniel Baumann -commit f183d0eaa90668e70ce1e0f092baf66e88a213c9 +commit f183d0e Author: Daniel Baumann Date: Fri Sep 26 18:21:57 2008 +0200 @@ -966,7 +1021,7 @@ Date: Fri Sep 26 18:21:57 2008 +0200 Signed-off-by: Daniel Baumann -commit 61e7466965387a881671c74156a14659362c3a4e +commit 61e7466 Author: Daniel Baumann Date: Fri Sep 26 18:04:02 2008 +0200 @@ -974,7 +1029,7 @@ Date: Fri Sep 26 18:04:02 2008 +0200 Signed-off-by: Daniel Baumann -commit 7552d5752706db94db069c40e844e6a01844cbae +commit 7552d57 Author: Daniel Baumann Date: Fri Sep 26 18:05:27 2008 +0200 @@ -982,7 +1037,7 @@ Date: Fri Sep 26 18:05:27 2008 +0200 Signed-off-by: Daniel Baumann -commit 124598b2bdfc9901ce4a612f4ef4e4c916a2faa3 +commit 124598b Author: Daniel Baumann Date: Fri Sep 26 18:12:29 2008 +0200 @@ -990,7 +1045,7 @@ Date: Fri Sep 26 18:12:29 2008 +0200 Signed-off-by: Daniel Baumann -commit fb9c46b59a1fdcea7360008abfe22136f0069d8b +commit fb9c46b Author: Daniel Baumann Date: Fri Sep 26 15:39:51 2008 +0200 @@ -1001,7 +1056,7 @@ Date: Fri Sep 26 15:39:51 2008 +0200 Signed-off-by: Daniel Baumann -commit aaa40a9bbc615e7947569e52724c2c5dae36577a +commit aaa40a9 Author: Daniel Baumann Date: Fri Sep 26 15:49:43 2008 +0200 @@ -1012,7 +1067,7 @@ Date: Fri Sep 26 15:49:43 2008 +0200 Signed-off-by: Daniel Baumann -commit 251626dd60a085675bf8120c047458312bb21f49 +commit 251626d Author: Daniel Baumann Date: Fri Sep 26 15:37:34 2008 +0200 @@ -1025,7 +1080,7 @@ Date: Fri Sep 26 15:37:34 2008 +0200 Signed-off-by: Daniel Baumann -commit e670ea82c9a0da446a0d7c88c580c4d2c8be7b59 +commit e670ea8 Author: Daniel Baumann Date: Fri Sep 26 15:33:36 2008 +0200 @@ -1038,7 +1093,7 @@ Date: Fri Sep 26 15:33:36 2008 +0200 Signed-off-by: Daniel Baumann -commit a6dc6a4d4bb89ec3997a72fd084a83147c6e66b6 +commit a6dc6a4 Author: Daniel Baumann Date: Fri Sep 26 15:22:06 2008 +0200 @@ -1050,7 +1105,7 @@ Date: Fri Sep 26 15:22:06 2008 +0200 Signed-off-by: Daniel Baumann -commit f74695618bd347cc42632794c278b208e464d6e9 +commit f746956 Author: Daniel Baumann Date: Fri Sep 26 15:18:35 2008 +0200 @@ -1064,7 +1119,7 @@ Date: Fri Sep 26 15:18:35 2008 +0200 Signed-off-by: Daniel Baumann -commit cf243e4a84f10db0f42ddadd663cb013c0f47e85 +commit cf243e4 Author: Daniel Baumann Date: Fri Sep 26 15:15:40 2008 +0200 @@ -1073,7 +1128,7 @@ Date: Fri Sep 26 15:15:40 2008 +0200 Signed-off-by: Daniel Baumann -commit 2d4f18457e65556277fe203aeee2bc6e20f87a44 +commit 2d4f184 Author: Daniel Baumann Date: Fri Sep 26 15:11:50 2008 +0200 @@ -1085,7 +1140,7 @@ Date: Fri Sep 26 15:11:50 2008 +0200 Signed-off-by: Daniel Baumann -commit 739a6fb2880643a575c5b6d39444a2d0eca7badf +commit 739a6fb Author: Daniel Baumann Date: Fri Sep 26 15:05:00 2008 +0200 @@ -1094,7 +1149,7 @@ Date: Fri Sep 26 15:05:00 2008 +0200 Signed-off-by: Daniel Baumann -commit 3b5ed8a4b186e8b5c1b72a20cbb07b36596550c8 +commit 3b5ed8a Author: Daniel Baumann Date: Fri Sep 26 14:26:41 2008 +0200 @@ -1105,7 +1160,7 @@ Date: Fri Sep 26 14:26:41 2008 +0200 Signed-off-by: Daniel Baumann -commit 3b6a8634f4dd9500c16edff2b883ecac6cde8e88 +commit 3b6a863 Author: Daniel Baumann Date: Fri Sep 26 14:34:42 2008 +0200 @@ -1116,7 +1171,7 @@ Date: Fri Sep 26 14:34:42 2008 +0200 Signed-off-by: Daniel Baumann -commit 1b2c8ca3b4b1b308b684a032c794799c0d967536 +commit 1b2c8ca Author: Daniel Baumann Date: Fri Sep 26 14:34:17 2008 +0200 @@ -1131,7 +1186,7 @@ Date: Fri Sep 26 14:34:17 2008 +0200 Signed-off-by: Daniel Baumann -commit eec8585c731da25a24b731a500720a56d39df64e +commit eec8585 Author: Daniel Baumann Date: Fri Sep 26 14:33:54 2008 +0200 @@ -1142,7 +1197,7 @@ Date: Fri Sep 26 14:33:54 2008 +0200 Signed-off-by: Daniel Baumann -commit 06bd6697f3776156d646891fdef1cebb95c48ddc +commit 06bd669 Author: Daniel Baumann Date: Fri Sep 26 14:33:28 2008 +0200 @@ -1153,7 +1208,7 @@ Date: Fri Sep 26 14:33:28 2008 +0200 Signed-off-by: Daniel Baumann -commit 42d340d05672d12a0cd001f89bfb508e05066f47 +commit 42d340d Author: Daniel Baumann Date: Fri Sep 26 14:32:46 2008 +0200 @@ -1165,7 +1220,7 @@ Date: Fri Sep 26 14:32:46 2008 +0200 Signed-off-by: Daniel Baumann -commit 0f5ce0d8f6bd5c7027e799a82f9fe6b814c0be6f +commit 0f5ce0d Author: Daniel Baumann Date: Fri Sep 26 14:32:23 2008 +0200 @@ -1177,7 +1232,7 @@ Date: Fri Sep 26 14:32:23 2008 +0200 Signed-off-by: Daniel Baumann -commit 8ec54ddfee9aa394a32bcaaa1945eb6273047d18 +commit 8ec54dd Author: Daniel Baumann Date: Fri Sep 26 14:31:50 2008 +0200 @@ -1186,7 +1241,7 @@ Date: Fri Sep 26 14:31:50 2008 +0200 Signed-off-by: Daniel Baumann -commit 4371588cfac03a516447e95164b19a6945efb7a7 +commit 4371588 Author: Daniel Baumann Date: Fri Sep 26 14:30:31 2008 +0200 @@ -1198,7 +1253,7 @@ Date: Fri Sep 26 14:30:31 2008 +0200 Signed-off-by: Daniel Baumann -commit fc92e197f870c2f161035fd0c90da5a3ae361be3 +commit fc92e19 Author: Daniel Baumann Date: Fri Sep 26 14:30:03 2008 +0200 @@ -1209,7 +1264,7 @@ Date: Fri Sep 26 14:30:03 2008 +0200 Signed-off-by: Daniel Baumann -commit 30846972f9d956b74ec1a3b6749798ab5191ce5a +commit 3084697 Author: Daniel Baumann Date: Fri Sep 26 14:29:36 2008 +0200 @@ -1222,7 +1277,7 @@ Date: Fri Sep 26 14:29:36 2008 +0200 Signed-off-by: Daniel Baumann -commit 6d5c09188c4549a1438656dd574b6142542174dd +commit 6d5c091 Author: Daniel Baumann Date: Fri Sep 26 13:47:40 2008 +0200 @@ -1231,7 +1286,7 @@ Date: Fri Sep 26 13:47:40 2008 +0200 Signed-off-by: Daniel Baumann -commit 07ef48724795f7d415bd07850d2440c327b28541 +commit 07ef487 Author: Daniel Baumann Date: Fri Sep 26 13:41:14 2008 +0200 @@ -1244,7 +1299,7 @@ Date: Fri Sep 26 13:41:14 2008 +0200 Signed-off-by: Daniel Baumann -commit 78f9dca40b2ba699daab0f7d8e7a2ff833919f94 +commit 78f9dca Author: Daniel Baumann Date: Fri Sep 26 13:40:47 2008 +0200 @@ -1253,7 +1308,7 @@ Date: Fri Sep 26 13:40:47 2008 +0200 Signed-off-by: Daniel Baumann -commit ba6774ae1dd5199a733dfaeaf438dff095284de7 (tag: v2.11) +commit ba6774a (tag: v2.11) Author: Daniel Baumann Date: Thu Jun 26 12:45:36 2008 +0200 diff --git a/Makefile b/Makefile index 5959306..db5f05c 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,8 @@ # On Debian systems, the complete text of the GNU General Public License # can be found in /usr/share/common-licenses/GPL-3 file. +SHELL := sh -e +LANGUAGES = $(shell cd manpages/po && ls) DESTDIR = PREFIX = /usr/local @@ -36,13 +38,13 @@ VPATH = src all: build -build: dosfsck dosfslabel mkdosfs +build: fatlabel fsck.fat mkfs.fat -dosfsck: boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o dosfsck.o +fatlabel: boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o fatlabel.o -dosfslabel: boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o dosfslabel.o +fsck.fat: boot.o check.o common.o fat.o file.o io.o lfn.o charconv.o fsck.fat.o -mkdosfs: mkdosfs.o +mkfs.fat: mkfs.fat.o rebuild: distclean build @@ -50,35 +52,65 @@ install: install-bin install-doc install-man install-bin: build install -d -m 0755 $(DESTDIR)/$(SBINDIR) - install -m 0755 dosfsck dosfslabel mkdosfs $(DESTDIR)/$(SBINDIR) + install -m 0755 fatlabel fsck.fat mkfs.fat $(DESTDIR)/$(SBINDIR) - ln -sf dosfsck $(DESTDIR)/$(SBINDIR)/fsck.msdos - ln -sf dosfsck $(DESTDIR)/$(SBINDIR)/fsck.vfat - ln -sf mkdosfs $(DESTDIR)/$(SBINDIR)/mkfs.msdos - ln -sf mkdosfs $(DESTDIR)/$(SBINDIR)/mkfs.vfat + # legacy symlinks + ln -sf fatlabel $(DESTDIR)/$(SBINDIR)/dosfslabel + + ln -sf fsck.fat $(DESTDIR)/$(SBINDIR)/dosfsck + ln -sf fsck.fat $(DESTDIR)/$(SBINDIR)/fsck.msdos + ln -sf fsck.fat $(DESTDIR)/$(SBINDIR)/fsck.vfat + + ln -sf mkfs.fat $(DESTDIR)/$(SBINDIR)/mkdosfs + ln -sf mkfs.fat $(DESTDIR)/$(SBINDIR)/mkfs.msdos + ln -sf mkfs.fat $(DESTDIR)/$(SBINDIR)/mkfs.vfat install-doc: install -d -m 0755 $(DESTDIR)/$(DOCDIR)/dosfstools install -p -m 0644 ChangeLog doc/* $(DESTDIR)/$(DOCDIR)/dosfstools install-man: - install -d -m 0755 $(DESTDIR)/$(MANDIR)/man8 - install -p -m 0644 man/*.8 $(DESTDIR)/$(MANDIR)/man8 - - ln -sf dosfsck.8 $(DESTDIR)/$(MANDIR)/man8/fsck.msdos.8 - ln -sf dosfsck.8 $(DESTDIR)/$(MANDIR)/man8/fsck.vfat.8 - ln -sf mkdosfs.8 $(DESTDIR)/$(MANDIR)/man8/mkfs.msdos.8 - ln -sf mkdosfs.8 $(DESTDIR)/$(MANDIR)/man8/mkfs.vfat.8 + for MANPAGE in manpages/en/*; \ + do \ + SECTION="8"; \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(PREFIX)/share/man/man$${SECTION}/$$(basename $${MANPAGE}); \ + done + + for LANGUAGE in $(LANGUAGES); \ + do \ + for MANPAGE in manpages/$${LANGUAGE}/*; \ + do \ + SECTION="8"; \ + install -D -m 0644 $${MANPAGE} $(DESTDIR)/$(PREFIX)/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + done; \ + done + + # legacy symlinks + ln -sf fatlabel.8 $(DESTDIR)/$(MANDIR)/man8/dosfslabel.8 + + ln -sf fsck.fat.8 $(DESTDIR)/$(MANDIR)/man8/dosfsck.8 + ln -sf fsck.fat.8 $(DESTDIR)/$(MANDIR)/man8/fsck.msdos.8 + ln -sf fsck.fat.8 $(DESTDIR)/$(MANDIR)/man8/fsck.vfat.8 + + ln -sf mkfs.fat.8 $(DESTDIR)/$(MANDIR)/man8/mkdosfs.8 + ln -sf mkfs.fat.8 $(DESTDIR)/$(MANDIR)/man8/mkfs.msdos.8 + ln -sf mkfs.fat.8 $(DESTDIR)/$(MANDIR)/man8/mkfs.vfat.8 uninstall: uninstall-bin uninstall-doc uninstall-man uninstall-bin: - rm -f $(DESTDIR)/$(SBINDIR)/dosfsck + rm -f $(DESTDIR)/$(SBINDIR)/fatlabel + rm -f $(DESTDIR)/$(SBINDIR)/fsck.fat + rm -f $(DESTDIR)/$(SBINDIR)/mkfs.fat + + # legacy symlinks rm -f $(DESTDIR)/$(SBINDIR)/dosfslabel - rm -f $(DESTDIR)/$(SBINDIR)/mkdosfs + rm -f $(DESTDIR)/$(SBINDIR)/dosfsck rm -f $(DESTDIR)/$(SBINDIR)/fsck.msdos rm -f $(DESTDIR)/$(SBINDIR)/fsck.vfat + + rm -f $(DESTDIR)/$(SBINDIR)/mkdosfs rm -f $(DESTDIR)/$(SBINDIR)/mkfs.msdos rm -f $(DESTDIR)/$(SBINDIR)/mkfs.vfat @@ -90,24 +122,38 @@ uninstall-doc: rmdir --ignore-fail-on-non-empty $(DESTDIR)/$(DOCDIR) uninstall-man: - rm -f $(DESTDIR)/$(MANDIR)/man8/dosfsck.8 + for MANPAGE in manpages/en/*; \ + do \ + SECTION="8"; \ + rm -f $(DESTDIR)/$(PREFIX)/share/man/man$${SECTION}/$$(basename $${MANPAGE} .en.$${SECTION}).$${SECTION}; \ + done + + for LANGUAGE in $(LANGUAGES); \ + do \ + for MANPAGE in manpages/$${LANGUAGE}/*; \ + do \ + SECTION="8"; \ + rm -f $(DESTDIR)/$(PREFIX)/share/man/$${LANGUAGE}/man$${SECTION}/$$(basename $${MANPAGE} .$${LANGUAGE}.$${SECTION}).$${SECTION}; \ + done; \ + done + + # legacy symlinks rm -f $(DESTDIR)/$(MANDIR)/man8/dosfslabel.8 - rm -f $(DESTDIR)/$(MANDIR)/man8/mkdosfs.8 + rm -f $(DESTDIR)/$(MANDIR)/man8/dosfsck.8 rm -f $(DESTDIR)/$(MANDIR)/man8/fsck.msdos.8 rm -f $(DESTDIR)/$(MANDIR)/man8/fsck.vfat.8 + + rm -f $(DESTDIR)/$(MANDIR)/man8/mkdosfs.8 rm -f $(DESTDIR)/$(MANDIR)/man8/mkfs.msdos.8 rm -f $(DESTDIR)/$(MANDIR)/man8/mkfs.vfat.8 - rmdir --ignore-fail-on-non-empty $(DESTDIR)/$(MANDIR)/man8 - rmdir --ignore-fail-on-non-empty $(DESTDIR)/$(MANDIR) - reinstall: distclean install clean: rm -f *.o distclean: clean - rm -f dosfsck dosfslabel mkdosfs + rm -f fatlabel fsck.fat mkfs.fat .PHONY: build rebuild install install-bin install-doc install-man uninstall uninstall-bin uninstall-doc uninstall-man reinstall clean distclean diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..29cec99 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +3.0.18 diff --git a/manpages/Makefile b/manpages/Makefile new file mode 100644 index 0000000..982557b --- /dev/null +++ b/manpages/Makefile @@ -0,0 +1,49 @@ +# Makefile + +## dosfstools(7) +## Copyright (C) 2006-2013 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +SHELL := sh -e + +LANGUAGES = $(shell cd po && ls) + +all: build + +po4a.cfg: + echo "[po4a_langs] $(LANGUAGES)" > po4a.cfg + echo "[po4a_paths] pot/\$$master.pot \$$lang:po/\$$lang/\$$master.po" >> po4a.cfg + + for MANPAGE in en/*; \ + do \ + SECTION="$$(basename $${MANPAGE} | sed -e 's|\.|\n|g' | tail -n1)"; \ + echo "[type: man] $${MANPAGE} \$$lang:\$$lang/$$(basename $${MANPAGE} .$${SECTION}).\$$lang.$${SECTION}" >> po4a.cfg; \ + done + +update: + ./bin/update-version.sh + +build: po4a.cfg + @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \ + then \ + echo "E: po4a - command not found"; \ + echo "I: po4a can be obtained from:"; \ + echo "I: http://po4a.alioth.debian.org/"; \ + echo "I: On Debian based systems, po4a can be installed with:"; \ + echo "I: apt-get install po4a"; \ + exit 1; \ + fi + + po4a --keep 0 --no-backups --package-name dosfstools po4a.cfg + +clean: + rm -rf $(LANGUAGES) + +distclean: clean + rm -f po4a.cfg + +rebuild: distclean update build diff --git a/manpages/bin/update-version.sh b/manpages/bin/update-version.sh new file mode 100755 index 0000000..6b13bfa --- /dev/null +++ b/manpages/bin/update-version.sh @@ -0,0 +1,55 @@ +#!/bin/sh + +## dosfstools(7) +## Copyright (C) 2006-2013 Daniel Baumann +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +set -e + +PROJECT="dosfstools" +VERSION="$(cat ../VERSION)" + +DATE="$(LC_ALL=C date +%Y\\\\-%m\\\\-%d)" + +DAY="$(LC_ALL=C date +%d)" +MONTH="$(LC_ALL=C date +%m)" +YEAR="$(LC_ALL=C date +%Y)" + +echo "Updating version headers..." + +for MANPAGE in en/* +do + PROGRAM="$(basename ${MANPAGE} | sed -e 's|\(.*\).[0-9]$|\1|' | tr [a-z] [A-Z])" + SECTION="$(basename ${MANPAGE} | sed -e 's|.*.\([0-9]\)$|\1|')" + + sed -i -e "s|^.TH.*$|.TH ${PROGRAM} ${SECTION} ${DATE} ${VERSION} \"${PROJECT}\"|" ${MANPAGE} +done + +# European date format +for _LANGUAGE in de es fr it +do + if ls po/${_LANGUAGE}/*.po > /dev/null 2>&1 + then + for _FILE in po/${_LANGUAGE}/*.po + do + sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ + -e "s|^msgstr .*.2013\"$|msgstr \"${DAY}.${MONTH}.${YEAR}\"|g" \ + "${_FILE}" + done + fi +done + +# Brazilian date format +if ls po/pt_BR/*.po > /dev/null 2>&1 +then + for _FILE in po/pt_BR/*.po + do + sed -i -e "s|^msgstr .*.2013-.*$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ + -e "s|^msgstr .*-2013\"$|msgstr \"${DAY}-${MONTH}-${YEAR}\"|g" \ + "${_FILE}" + done +fi diff --git a/manpages/de/fatlabel.de.8 b/manpages/de/fatlabel.de.8 new file mode 100644 index 0000000..65491d8 --- /dev/null +++ b/manpages/de/fatlabel.de.8 @@ -0,0 +1,60 @@ +.\" fatlabel.8 - manpage for fatlabel +.\" +.\" Copyright (C) 2006-2013 Daniel Baumann +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.\" On Debian systems, the complete text of the GNU General Public License +.\" can be found in /usr/share/common-licenses/GPL-3 file. +.\" +.\" +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH FATLABEL 8 2013\-06\-06 3.0.18 dosfstools + +.SH NAME +\fBfatlabel\fP \- set or get MS\-DOS filesystem label + +.SH SYNOPSIS +\fBfatlabel\fP \fIDEVICE\fP [\fILABEL\fP] + +.SH DESCRIPTION +\fBfatlabel\fP set or gets a MS\-DOS filesystem label from a given device. +.PP +If the label is omitted, then the label name of the specified device is +written on the standard output. A label can't be longer than 11 bytes. + +.SH OPTIONS +.IP "\fB\-h\fP, \fB\-\-help\fP" 4 +Displays a help message. +.IP "\fB\-V\fP, \fB\-\-version\fP" 4 +Shows version. + +.SH "SEE ALSO" +\fBfsck.fat\fP(8) +.br +\fBmkfs.fat\fP(8) + +.SH HOMEPAGE +More information about \fBfatlabel\fP and \fBdosfstools\fP can be found at +<\fIhttp://daniel\-baumann.ch/software/dosfstools/\fP>. + +.SH AUTHORS +\fBdosfstools\fP were written by Werner Almesberger +<\fIwerner.almesberger@lrc.di.epfl.ch\fP>, Roman Hodek +<\fIRoman.Hodek@informatik.uni\-erlangen.de\fP>, and others. The current +maintainer is Daniel Baumann <\fImail@daniel\-baumann.ch\fP>. diff --git a/manpages/de/fsck.fat.de.8 b/manpages/de/fsck.fat.de.8 new file mode 100644 index 0000000..afc7762 --- /dev/null +++ b/manpages/de/fsck.fat.de.8 @@ -0,0 +1,182 @@ +.\" fsc.fat.8 - manpage for fsc.fat +.\" +.\" Copyright (C) 2006-2013 Daniel Baumann +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.\" On Debian systems, the complete text of the GNU General Public License +.\" can be found in /usr/share/common-licenses/GPL-3 file. +.\" +.\" +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH FSCK.FAT 8 2013\-06\-06 3.0.18 dosfstools + +.SH NAME +\fBfsc.fat\fP \- check and repair MS\-DOS filesystems + +.SH SYNOPSIS +\fBfsc.fat\fP|\fBfsck.msdos\fP|\fBfsck.vfat\fP [\-aAflnrtvVwy] [\-d \fIPATH\fP \-d\ \fI...\fP] +[\-u\ \fIPATH\fP \-u \fI...\fP] \fIDEVICE\fP + +.SH DESCRIPTION +\fBfsc.fat\fP verifies the consistency of MS\-DOS filesystems and optionally +tries to repair them. +.PP +The following filesystem problems can be corrected (in this order): +.IP * 4 +FAT contains invalid cluster numbers. Cluster is changed to EOF. +.IP * 4 +File's cluster chain contains a loop. The loop is broken. +.IP * 4 +Bad clusters (read errors). The clusters are marked bad and they are removed +from files owning them. This check is optional. +.IP * 4 +Directories with a large number of bad entries (probably corrupt). The +directory can be deleted. +.IP * 4 +Files . and .. are non\-directories. They can be deleted or renamed. +.IP * 4 +Directories . and .. in root directory. They are deleted. +.IP * 4 +Bad filenames. They can be renamed. +.IP * 4 +Duplicate directory entries. They can be deleted or renamed. +.IP * 4 +Directories with non\-zero size field. Size is set to zero. +.IP * 4 +Directory . does not point to parent directory. The start pointer is +adjusted. +.IP * 4 +Directory .. does not point to parent of parent directory. The start pointer +is adjusted. +.IP * 4 +Start cluster number of a file is invalid. The file is truncated. +.IP * 4 +File contains bad or free clusters. The file is truncated. +.IP * 4 +File's cluster chain is longer than indicated by the size fields. The file +is truncated. +.IP * 4 +Two or more files share the same cluster(s). All but one of the files are +truncated. If the file being truncated is a directory file that has already +been read, the filesystem check is restarted after truncation. +.IP * 4 +File's cluster chain is shorter than indicated by the size fields. The file +is truncated. +.IP * 4 +Clusters are marked as used but are not owned by a file. They are marked as +free. +.PP +Additionally, the following problems are detected, but not repaired: +.IP * 4 +Invalid parameters in boot sector. +.IP * 4 +Absence of . and .. entries in non\-root directories +.PP +When \fBfsc.fat\fP checks a filesystem, it accumulates all changes in memory +and performs them only after all checks are complete. This can be disabled +with the \fB\-w\fP option. + +.SH OPTIONS +.IP \fB\-a\fP 4 +Automatically repair the filesystem. No user intervention is +necessary. Whenever there is more than one method to solve a problem, the +least destructive approach is used. +.IP \fB\-A\fP 4 +Use Atari variation of the MS\-DOS filesystem. This is default if \fBfsc.fat\fP +is run on an Atari, then this option turns off Atari format. There are some +minor differences in Atari format: Some boot sector fields are interpreted +slightly different, and the special FAT entries for end\-of\-file and bad +cluster can be different. Under MS\-DOS 0xfff8 is used for EOF and Atari +employs 0xffff by default, but both systems recognize all values from +0xfff8...0xffff as end\-of\-file. MS\-DOS uses only 0xfff7 for bad clusters, +where on Atari values 0xfff0...0xfff7 are for this purpose (but the standard +value is still 0xfff7). +.IP \fB\-b\fP 4 +Make read\-only boot sector check. +.IP \fB\-d\fP 4 +Delete the specified file. If more that one file with that name exists, the +first one is deleted. +.IP \fB\-f\fP 4 +Salvage unused cluster chains to files. By default, unused clusters are +added to the free disk space except in auto mode (\fB\-a\fP). +.IP \fB\-l\fP 4 +List path names of files being processed. +.IP \fB\-n\fP 4 +No\-operation mode: non\-interactively check for errors, but don't write +anything to the filesystem. +.IP \fB\-r\fP 4 +Interactively repair the filesystem. The user is asked for advice whenever +there is more than one approach to fix an inconsistency. +.IP \fB\-t\fP 4 +Mark unreadable clusters as bad. +.IP \fB\-u\fP 4 +Try to undelete the specified file. \fBfsc.fat\fP tries to allocate a chain of +contiguous unallocated clusters beginning with the start cluster of the +undeleted file. +.IP \fB\-v\fP 4 +Verbose mode. Generates slightly more output. +.IP \fB\-V\fP 4 +Perform a verification pass. The filesystem check is repeated after the +first run. The second pass should never report any fixable errors. It may +take considerably longer than the first pass, because the first pass may +have generated long list of modifications that have to be scanned for each +disk read. +.IP \fB\-w\fP 4 +Write changes to disk immediately. +.IP \fB\-y\fP 4 +Same as \fB\-a\fP (automatically repair filesystem) for compatibility with other +fsck tools. +.PP +\fBNote:\fP If \fB\-a\fP and \fB\-r\fP are absent, the filesystem is only checked, but +not repaired. + +.SH "EXIT STATUS" +.IP 0 4 +No recoverable errors have been detected. +.IP 1 4 +Recoverable errors have been detected or \fBfsc.fat\fP has discovered an +internal inconsistency. +.IP 2 4 +Usage error. \fBfsc.fat\fP did not access the filesystem. + +.SH FILES +.IP "fsck0000.rec, fsck0001.rec, ..." 4 +When recovering from a corrupted filesystem, \fBfsc.fat\fP dumps recovered data +into files named 'fsckNNNN.rec' in the top level directory of the +filesystem. + +.SH BUGS +Does not create . and .. files where necessary. Does not remove entirely +empty directories. Should give more diagnostic messages. Undeleting files +should use a more sophisticated algorithm. + +.SH "SEE ALSO" +\fBfatlabel\fP(8) +.br +\fBmkfs.fat\fP(8) + +.SH HOMEPAGE +More information about \fBfsck.fat\fP and \fBdosfstools\fP can be found at +<\fIhttp://daniel\-baumann.ch/software/dosfstools/\fP>. + +.SH AUTHORS +\fBdosfstools\fP were written by Werner Almesberger +<\fIwerner.almesberger@lrc.di.epfl.ch\fP>, Roman Hodek +<\fIRoman.Hodek@informatik.uni\-erlangen.de\fP>, and others. The current +maintainer is Daniel Baumann <\fImail@daniel\-baumann.ch\fP>. diff --git a/manpages/de/mkfs.fat.de.8 b/manpages/de/mkfs.fat.de.8 new file mode 100644 index 0000000..7470724 --- /dev/null +++ b/manpages/de/mkfs.fat.de.8 @@ -0,0 +1,166 @@ +.\" mkfs.fat.8 - manpage for fs.fatck +.\" +.\" Copyright (C) 2006-2013 Daniel Baumann +.\" +.\" This program is free software: you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation, either version 3 of the License, or +.\" (at your option) any later version. +.\" +.\" This program is distributed in the hope that it will be useful, +.\" but WITHOUT ANY WARRANTY; without even the implied warranty of +.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +.\" GNU General Public License for more details. +.\" +.\" You should have received a copy of the GNU General Public License +.\" along with this program. If not, see . +.\" +.\" On Debian systems, the complete text of the GNU General Public License +.\" can be found in /usr/share/common-licenses/GPL-3 file. +.\" +.\" +.\"******************************************************************* +.\" +.\" This file was generated with po4a. Translate the source file. +.\" +.\"******************************************************************* +.TH MKFS.FAT 8 2013\-06\-06 3.0.18 dosfstools +.SH NAME +\fBmkfs.fat\fP \- create an MS\-DOS file system under Linux +.SH SYNOPSIS +\fBmkfs.fat\fP [ \fB\-a\fP ] [ \fB\-A\fP ] [ \fB\-b\fP \fIsector\-of\-backup\fP ] [ \fB\-c\fP ] [ +\fB\-l\fP \fIfilename\fP ] [ \fB\-C\fP ] [ \fB\-f\fP \fInumber\-of\-FATs\fP ] [ \fB\-F\fP +\fIFAT\-size\fP ] [ \fB\-h\fP \fInumber\-of\-hidden\-sectors\fP ] [ \fB\-i\fP \fIvolume\-id\fP ] +[\fB \-I \fP] [ \fB\-m\fP \fImessage\-file\fP ] [ \fB\-n\fP \fIvolume\-name\fP ] [ \fB\-r\fP +\fIroot\-dir\-entries\fP ] [ \fB\-R\fP \fInumber\-of\-reserved\-sectors\fP ] [ \fB\-s\fP +\fIsectors\-per\-cluster\fP ] [ \fB\-S\fP \fIlogical\-sector\-size\fP ] [ \fB\-v\fP ] +\fIdevice\fP [ \fIblock\-count\fP ] +.SH DESCRIPTION +\fBmkfs.fat\fP is used to create an MS\-DOS file system under Linux on a device +(usually a disk partition). \fIdevice\fP is the special file corresponding to +the device (e.g /dev/hdXX). \fIblock\-count\fP is the number of blocks on the +device. If omitted, \fBmkfs.fat\fP automatically determines the file system +size. +.SH OPTIONS +.TP +\fB\-a\fP +Normally, for any filesystem except very small ones, \fBmkfs.fat\fP will align +all the data structures to cluster size, to make sure that as long as the +partition is properly aligned, so will all the data structures in the +filesystem. This option disables alignment; this may provide a handful of +additional clusters of storage at the expense of a significant performance +degradation on RAIDs, flash media or large\-sector hard disks. +.TP +\fB\-A\fP +Use Atari variation of the MS\-DOS file system. This is default if +\fBmkfs.fat\fP is run on an Atari, then this option turns off Atari +format. There are some differences when using Atari format: If not directed +otherwise by the user, \fBmkfs.fat\fP will always use 2 sectors per cluster, +since GEMDOS doesn't like other values very much. It will also obey the +maximum number of sectors GEMDOS can handle. Larger file systems are +managed by raising the logical sector size. Under Atari format, an +Atari\-compatible serial number for the file system is generated, and a 12 +bit FAT is used only for file systems that have one of the usual floppy +sizes (720k, 1.2M, 1.44M, 2.88M), a 16 bit FAT otherwise. This can be +overridden with the \fB\-F\fP option. Some PC\-specific boot sector fields aren't +written, and a boot message (option \fB\-m\fP) is ignored. +.TP +\fB\-b\fP\fI sector\-of\-backup \fP +Selects the location of the backup boot sector for FAT32. Default depends on +number of reserved sectors, but usually is sector 6. The backup must be +within the range of reserved sectors. +.TP +\fB\-c\fP +Check the device for bad blocks before creating the file system. +.TP +\fB\-C\fP +Create the file given as \fIdevice\fP on the command line, and write the +to\-be\-created file system to it. This can be used to create the new file +system in a file instead of on a real device, and to avoid using \fBdd\fP in +advance to create a file of appropriate size. With this option, the +\fIblock\-count\fP must be given, because otherwise the intended size of the +file system wouldn't be known. The file created is a sparse file, which +actually only contains the meta\-data areas (boot sector, FATs, and root +directory). The data portions won't be stored on the disk, but the file +nevertheless will have the correct size. The resulting file can be copied +later to a floppy disk or other device, or mounted through a loop device. +.TP +\fB\-f\fP\fI number\-of\-FATs\fP +Specify the number of file allocation tables in the file system. The +default is 2. Currently the Linux MS\-DOS file system does not support more +than 2 FATs. +.TP +\fB\-F\fP\fI FAT\-size\fP +Specifies the type of file allocation tables used (12, 16 or 32 bit). If +nothing is specified, \fBmkfs.fat\fP will automatically select between 12, 16 +and 32 bit, whatever fits better for the file system size. +.TP +\fB\-h\fP\fI number\-of\-hidden\-sectors \fP +Select the number of hidden sectors in the volume. Apparently some digital +cameras get indigestion if you feed them a CF card without such hidden +sectors, this option allows you to satisfy them. Assumes \'0\' if no value +is given on the command line. +.TP +\fI\-i volume\-id\fP +Sets the volume ID of the newly created file system; \fIvolume\-id\fP is a +32\-bit hexadecimal number (for example, 2e24ec82). The default is a number +which depends on the file system creation time. +.TP +\fB\-I\fP +It is typical for fixed disk devices to be partitioned so, by default, you +are not permitted to create a filesystem across the entire device. +\fBmkfs.fat\fP will complain and tell you that it refuses to work. This is +different when using MO disks. One doesn't always need partitions on MO +disks. The file system can go directly to the whole disk. Under other OSes +this is known as the 'superfloppy' format. + +This switch will force \fBmkfs.fat\fP to work properly. +.TP +\fB\-l\fP\fI filename\fP +Read the bad blocks list from \fIfilename\fP. +.TP +\fB\-m\fP\fI message\-file\fP +Sets the message the user receives on attempts to boot this file system +without having properly installed an operating system. The message file +must not exceed 418 bytes once line feeds have been converted to carriage +return\-line feed combinations, and tabs have been expanded. If the filename +is a hyphen (\-), the text is taken from standard input. +.TP +\fB\-n\fP\fI volume\-name\fP +Sets the volume name (label) of the file system. The volume name can be up +to 11 characters long. The default is no label. +.TP +\fB\-r\fP\fI root\-dir\-entries\fP +Select the number of entries available in the root directory. The default +is 112 or 224 for floppies and 512 for hard disks. +.TP +\fB\-R\fP\fI number\-of\-reserved\-sectors \fP +Select the number of reserved sectors. With FAT32 format at least 2 reserved +sectors are needed, the default is 32. Otherwise the default is 1 (only the +boot sector). +.TP +\fB\-s\fP\fI sectors\-per\-cluster\fP +Specify the number of disk sectors per cluster. Must be a power of 2, +i.e. 1, 2, 4, 8, ... 128. +.TP +\fB\-S\fP\fI logical\-sector\-size\fP +Specify the number of bytes per logical sector. Must be a power of 2 and +greater than or equal to 512, i.e. 512, 1024, 2048, 4096, 8192, 16384, or +32768. +.TP +\fB\-v\fP +Verbose execution. +.SH BUGS +\fBmkfs.fat\fP can not create boot\-able file systems. This isn't as easy as you +might think at first glance for various reasons and has been discussed a lot +already. \fBmkfs.fat\fP simply will not support it ;) +.SH AUTHOR +Dave Hudson \- ; modified by Peter Anvin +. Fixes and additions by Roman Hodek + for Debian GNU/Linux. +.SH ACKNOWLEDGMENTS +\fBmkfs.fat\fP is based on code from \fBmke2fs\fP (written by Remy Card \- +) which is itself based on \fBmkfs\fP (written by +Linus Torvalds \- ). +.SH "SEE ALSO" +\fBfsck.fat\fP(8), \fBfatlabel\fP(8), \fBmkfs\fP(8) diff --git a/man/dosfslabel.8 b/manpages/en/fatlabel.8 similarity index 76% rename from man/dosfslabel.8 rename to manpages/en/fatlabel.8 index f1c3a0d..95705b5 100644 --- a/man/dosfslabel.8 +++ b/manpages/en/fatlabel.8 @@ -1,4 +1,4 @@ -.\" dosfslabel.8 - manpage for dosfsck +.\" fatlabel.8 - manpage for fatlabel .\" .\" Copyright (C) 2006-2013 Daniel Baumann .\" @@ -19,16 +19,16 @@ .\" can be found in /usr/share/common-licenses/GPL-3 file. .\" .\" -.TH DOSFSLABEL 8 "2010\-01\-31" "3.0.9" "set or get MS\-DOS filesystem label" +.TH FATLABEL 8 2013\-06\-06 3.0.18 "dosfstools" .SH NAME -\fBdosfslabel\fR \- set or get MS\-DOS filesystem label +\fBfatlabel\fR \- set or get MS\-DOS filesystem label .SH SYNOPSIS -\fBdosfslabel\fR \fIDEVICE\fR [\fILABEL\fR] +\fBfatlabel\fR \fIDEVICE\fR [\fILABEL\fR] .SH DESCRIPTION -\fBdosfslabel\fR set or gets a MS\-DOS filesystem label from a given device. +\fBfatlabel\fR set or gets a MS\-DOS filesystem label from a given device. .PP If the label is omitted, then the label name of the specified device is written on the standard output. A label can't be longer than 11 bytes. @@ -39,12 +39,12 @@ Displays a help message. Shows version. .SH SEE ALSO -\fBdosfsck\fR(8) +\fBfsck.fat\fR(8) .br -\fBmkdosfs\fR(8) +\fBmkfs.fat\fR(8) .SH HOMEPAGE -More information about \fBdosfsck\fR and \fBdosfstools\fR can be found at <\fIhttp://daniel\-baumann.ch/software/dosfstools/\fR>. +More information about \fBfatlabel\fR and \fBdosfstools\fR can be found at <\fIhttp://daniel\-baumann.ch/software/dosfstools/\fR>. .SH AUTHORS \fBdosfstools\fR were written by Werner Almesberger <\fIwerner.almesberger@lrc.di.epfl.ch\fR>, Roman Hodek <\fIRoman.Hodek@informatik.uni-erlangen.de\fR>, and others. The current maintainer is Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/man/dosfsck.8 b/manpages/en/fsck.fat.8 similarity index 87% rename from man/dosfsck.8 rename to manpages/en/fsck.fat.8 index 8395fa8..ddef97a 100644 --- a/man/dosfsck.8 +++ b/manpages/en/fsck.fat.8 @@ -1,4 +1,4 @@ -.\" dosfsck.8 - manpage for dosfsck +.\" fsc.fat.8 - manpage for fsc.fat .\" .\" Copyright (C) 2006-2013 Daniel Baumann .\" @@ -19,16 +19,16 @@ .\" can be found in /usr/share/common-licenses/GPL-3 file. .\" .\" -.TH DOSFSCK 8 "2010\-01\-31" "3.0.9" "check and repair MS\-DOS filesystems" +.TH FSCK.FAT 8 2013\-06\-06 3.0.18 "dosfstools" .SH NAME -\fBdosfsck\fR \- check and repair MS\-DOS filesystems +\fBfsc.fat\fR \- check and repair MS\-DOS filesystems .SH SYNOPSIS -\fBdosfsck\fR|\fBfsck.msdos\fR|\fBfsck.vfat\fR [\-aAflnrtvVwy] [\-d \fIPATH\fR \-d\ \fI...\fR] [\-u\ \fIPATH\fR \-u \fI...\fR] \fIDEVICE\fR +\fBfsc.fat\fR|\fBfsck.msdos\fR|\fBfsck.vfat\fR [\-aAflnrtvVwy] [\-d \fIPATH\fR \-d\ \fI...\fR] [\-u\ \fIPATH\fR \-u \fI...\fR] \fIDEVICE\fR .SH DESCRIPTION -\fBdosfsck\fR verifies the consistency of MS\-DOS filesystems and optionally tries to repair them. +\fBfsc.fat\fR verifies the consistency of MS\-DOS filesystems and optionally tries to repair them. .PP The following filesystem problems can be corrected (in this order): .IP "*" 4 @@ -72,13 +72,13 @@ Invalid parameters in boot sector. .IP "*" 4 Absence of . and .. entries in non\-root directories .PP -When \fBdosfsck\fR checks a filesystem, it accumulates all changes in memory and performs them only after all checks are complete. This can be disabled with the \fB\-w\fR option. +When \fBfsc.fat\fR checks a filesystem, it accumulates all changes in memory and performs them only after all checks are complete. This can be disabled with the \fB\-w\fR option. .SH OPTIONS .IP "\fB\-a\fR" 4 Automatically repair the filesystem. No user intervention is necessary. Whenever there is more than one method to solve a problem, the least destructive approach is used. .IP "\fB\-A\fR" 4 -Use Atari variation of the MS\-DOS filesystem. This is default if \fBdosfsck\fR is run on an Atari, then this option turns off Atari format. There are some minor differences in Atari format: Some boot sector fields are interpreted slightly different, and the special FAT entries for end\-of\-file and bad cluster can be different. Under MS\-DOS 0xfff8 is used for EOF and Atari employs 0xffff by default, but both systems recognize all values from 0xfff8...0xffff as end\-of\-file. MS\-DOS uses only 0xfff7 for bad clusters, where on Atari values 0xfff0...0xfff7 are for this purpose (but the standard value is still 0xfff7). +Use Atari variation of the MS\-DOS filesystem. This is default if \fBfsc.fat\fR is run on an Atari, then this option turns off Atari format. There are some minor differences in Atari format: Some boot sector fields are interpreted slightly different, and the special FAT entries for end\-of\-file and bad cluster can be different. Under MS\-DOS 0xfff8 is used for EOF and Atari employs 0xffff by default, but both systems recognize all values from 0xfff8...0xffff as end\-of\-file. MS\-DOS uses only 0xfff7 for bad clusters, where on Atari values 0xfff0...0xfff7 are for this purpose (but the standard value is still 0xfff7). .IP "\fB-b\fR" 4 Make read-only boot sector check. .IP "\fB\-d\fR" 4 @@ -96,7 +96,7 @@ there is more than one approach to fix an inconsistency. .IP "\fB\-t\fR" 4 Mark unreadable clusters as bad. .IP "\fB\-u\fR" 4 -Try to undelete the specified file. \fBdosfsck\fR tries to allocate a chain of contiguous unallocated clusters beginning with the start cluster of the undeleted file. +Try to undelete the specified file. \fBfsc.fat\fR tries to allocate a chain of contiguous unallocated clusters beginning with the start cluster of the undeleted file. .IP "\fB\-v\fR" 4 Verbose mode. Generates slightly more output. .IP "\fB\-V\fR" 4 @@ -112,24 +112,24 @@ Same as \fB\-a\fR (automatically repair filesystem) for compatibility with other .IP "0" 4 No recoverable errors have been detected. .IP "1" 4 -Recoverable errors have been detected or \fBdosfsck\fR has discovered an internal inconsistency. +Recoverable errors have been detected or \fBfsc.fat\fR has discovered an internal inconsistency. .IP "2" 4 -Usage error. \fBdosfsck\fR did not access the filesystem. +Usage error. \fBfsc.fat\fR did not access the filesystem. .SH FILES .IP "fsck0000.rec, fsck0001.rec, ..." 4 -When recovering from a corrupted filesystem, \fBdosfsck\fR dumps recovered data into files named 'fsckNNNN.rec' in the top level directory of the filesystem. +When recovering from a corrupted filesystem, \fBfsc.fat\fR dumps recovered data into files named 'fsckNNNN.rec' in the top level directory of the filesystem. .SH BUGS Does not create . and .. files where necessary. Does not remove entirely empty directories. Should give more diagnostic messages. Undeleting files should use a more sophisticated algorithm. .SH SEE ALSO -\fBdosfslabel\fR(8) +\fBfatlabel\fR(8) .br -\fBmkdosfs\fR(8) +\fBmkfs.fat\fR(8) .SH HOMEPAGE -More information about \fBdosfsck\fR and \fBdosfstools\fR can be found at <\fIhttp://daniel\-baumann.ch/software/dosfstools/\fR>. +More information about \fBfsck.fat\fR and \fBdosfstools\fR can be found at <\fIhttp://daniel\-baumann.ch/software/dosfstools/\fR>. .SH AUTHORS \fBdosfstools\fR were written by Werner Almesberger <\fIwerner.almesberger@lrc.di.epfl.ch\fR>, Roman Hodek <\fIRoman.Hodek@informatik.uni-erlangen.de\fR>, and others. The current maintainer is Daniel Baumann <\fImail@daniel-baumann.ch\fR>. diff --git a/man/mkdosfs.8 b/manpages/en/mkfs.fat.8 similarity index 92% rename from man/mkdosfs.8 rename to manpages/en/mkfs.fat.8 index 840ac41..2672064 100644 --- a/man/mkdosfs.8 +++ b/manpages/en/mkfs.fat.8 @@ -1,4 +1,4 @@ -.\" mkdosfs.8 - manpage for dosfsck +.\" mkfs.fat.8 - manpage for fs.fatck .\" .\" Copyright (C) 2006-2013 Daniel Baumann .\" @@ -19,12 +19,12 @@ .\" can be found in /usr/share/common-licenses/GPL-3 file. .\" .\" -.TH MKDOSFS 8 "5 May 1995" "Version 2.x" +.TH MKFS.FAT 8 2013\-06\-06 3.0.18 "dosfstools" .SH NAME -.B mkdosfs +.B mkfs.fat \- create an MS-DOS file system under Linux .SH SYNOPSIS -.B mkdosfs|mkfs.msdos|mkfs.vfat +.B mkfs.fat [ .B \-a ] @@ -94,19 +94,19 @@ .I block-count ] .SH DESCRIPTION -.B mkdosfs +.B mkfs.fat is used to create an MS-DOS file system under Linux on a device (usually a disk partition). .I device is the special file corresponding to the device (e.g /dev/hdXX). .I block-count is the number of blocks on the device. If omitted, -.B mkdosfs +.B mkfs.fat automatically determines the file system size. .SH OPTIONS .TP .B \-a -Normally, for any filesystem except very small ones, \fBmkdosfs\fP +Normally, for any filesystem except very small ones, \fBmkfs.fat\fP will align all the data structures to cluster size, to make sure that as long as the partition is properly aligned, so will all the data structures in the filesystem. This option disables alignment; this @@ -116,9 +116,9 @@ large-sector hard disks. .TP .B \-A Use Atari variation of the MS-DOS file system. This is default if -\fBmkdosfs\fP is run on an Atari, then this option turns off Atari +\fBmkfs.fat\fP is run on an Atari, then this option turns off Atari format. There are some differences when using Atari format: If not -directed otherwise by the user, \fBmkdosfs\fP will always use 2 +directed otherwise by the user, \fBmkfs.fat\fP will always use 2 sectors per cluster, since GEMDOS doesn't like other values very much. It will also obey the maximum number of sectors GEMDOS can handle. Larger file systems are managed by raising the logical sector size. @@ -157,7 +157,7 @@ more than 2 FATs. .TP .BI \-F " FAT-size" Specifies the type of file allocation tables used (12, 16 or 32 bit). -If nothing is specified, \fBmkdosfs\fR will automatically select +If nothing is specified, \fBmkfs.fat\fR will automatically select between 12, 16 and 32 bit, whatever fits better for the file system size. .TP .BI \-h " number-of-hidden-sectors " @@ -175,14 +175,14 @@ is a number which depends on the file system creation time. .B \-I It is typical for fixed disk devices to be partitioned so, by default, you are not permitted to create a filesystem across the entire device. -.B mkdosfs +.B mkfs.fat will complain and tell you that it refuses to work. This is different when using MO disks. One doesn't always need partitions on MO disks. The file system can go directly to the whole disk. Under other OSes this is known as the 'superfloppy' format. This switch will force -.B mkdosfs +.B mkfs.fat to work properly. .TP .BI \-l " filename" @@ -221,24 +221,24 @@ and greater than or equal to 512, i.e. 512, 1024, 2048, 4096, 8192, .B \-v Verbose execution. .SH BUGS -.B mkdosfs +.B mkfs.fat can not create boot-able file systems. This isn't as easy as you might think at first glance for various reasons and has been discussed a lot already. -.B mkdosfs +.B mkfs.fat simply will not support it ;) .SH AUTHOR Dave Hudson - ; modified by Peter Anvin . Fixes and additions by Roman Hodek - for Debian/GNU Linux. + for Debian GNU/Linux. .SH ACKNOWLEDGMENTS -.B mkdosfs +.B mkfs.fat is based on code from .BR mke2fs (written by Remy Card - ) which is itself based on .BR mkfs (written by Linus Torvalds - ). .SH SEE ALSO -.BR dosfsck (8), -.BR dosfslabel (8), +.BR fsck.fat (8), +.BR fatlabel (8), .BR mkfs (8) diff --git a/manpages/po/de/fatlabel.8.po b/manpages/po/de/fatlabel.8.po new file mode 100644 index 0000000..184c10b --- /dev/null +++ b/manpages/po/de/fatlabel.8.po @@ -0,0 +1,153 @@ +# German translations for dosfstools package +# Copyright (C) 2013 Free Software Foundation, Inc. +# This file is distributed under the same license as the dosfstools package. +# Automatically generated, 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: dosfstools VERSION\n" +"POT-Creation-Date: 2013-06-06 09:34+0300\n" +"PO-Revision-Date: 2013-06-06 09:34+0300\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ASCII\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. type: TH +#: en/fatlabel.8:22 +#, no-wrap +msgid "FATLABEL" +msgstr "" + +#. type: TH +#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22 +#, no-wrap +msgid "2013-06-06" +msgstr "" + +#. type: TH +#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22 +#, no-wrap +msgid "3.0.18" +msgstr "" + +#. type: TH +#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22 +#, no-wrap +msgid "dosfstools" +msgstr "" + +#. type: SH +#: en/fatlabel.8:24 en/fsck.fat.8:24 en/mkfs.fat.8:23 +#, no-wrap +msgid "NAME" +msgstr "" + +#. type: Plain text +#: en/fatlabel.8:26 +msgid "B - set or get MS-DOS filesystem label" +msgstr "" + +#. type: SH +#: en/fatlabel.8:27 en/fsck.fat.8:27 en/mkfs.fat.8:26 +#, no-wrap +msgid "SYNOPSIS" +msgstr "" + +#. type: Plain text +#: en/fatlabel.8:29 +msgid "B I [I