Skip to content

Commit

Permalink
Releasing version 3.0.26.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Baumann <[email protected]>
  • Loading branch information
daniel-baumann committed Mar 7, 2014
1 parent 6893c45 commit 1646f6e
Show file tree
Hide file tree
Showing 15 changed files with 79 additions and 28 deletions.
53 changes: 52 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,55 @@
commit acf64ae (HEAD, origin/master, origin/HEAD, master)
commit 6893c45 (HEAD, origin/master, origin/HEAD, master)
Author: Dir Lotter <[email protected]>
Date: Fri Mar 7 18:25:39 2014 +0100

Fix "odd" files created by frequent power-loss.

After running many power losses the filesystem can degrate, containing "odd"
files making the filesystem corrupt that could not be solved by fsck:

* file was not visible in a ls -l
* ls -i reported a "invalid file name" on the console
* a test program with diropen/dirread showed the file, a stat on this file
failed
* file was not accessible and could not be deleted

After digging into the code we found why fsck didn't repair the file system:
One thing was we don't have short filenames. Another issue was that the LFN
pointer was set to NULL and so it looked like we didn't have short and long
filenames.

Our patch of check.c includes:

* returns 1 from function bad_name() in case no short and no long filename
exist
* auto_rename() and rename_file() got a special handling for the case no short
file name exist:
- it enables the short file name (we think here was a weakness of the old
code: it changed the short filename but didn't enabled it in the
file->dir_ent.lcase entry)
- it reset all attributes except ATTR_DIR and ATTR_VOLUME

This solved our problem pretty well.

Signed-off-by: Daniel Baumann <[email protected]>

commit 621e11f
Author: Natanael Copa <[email protected]>
Date: Sat Feb 8 18:53:30 2014 +0100

Build fixes for musl libc.

Signed-off-by: Daniel Baumann <[email protected]>

commit 52588b7 (tag: v3.0.25)
Author: Daniel Baumann <[email protected]>
Date: Fri Jan 17 07:11:11 2014 +0100

Releasing version 3.0.25.

Signed-off-by: Daniel Baumann <[email protected]>

commit acf64ae
Author: Daniel Baumann <[email protected]>
Date: Fri Jan 17 07:09:54 2014 +0100

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.25
3.0.26
2 changes: 1 addition & 1 deletion manpages/de/fatlabel.de.8
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH FATLABEL 8 2014\-01\-17 3.0.25 dosfstools
.TH FATLABEL 8 2014\-03\-07 3.0.26 dosfstools

.SH NAME
\fBfatlabel\fP \- set or get MS\-DOS filesystem label
Expand Down
2 changes: 1 addition & 1 deletion manpages/de/fsck.fat.de.8
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH FSCK.FAT 8 2014\-01\-17 3.0.25 dosfstools
.TH FSCK.FAT 8 2014\-03\-07 3.0.26 dosfstools

.SH NAME
\fBfsck.fat\fP \- check and repair MS\-DOS filesystems
Expand Down
2 changes: 1 addition & 1 deletion manpages/de/mkfs.fat.de.8
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH MKFS.FAT 8 2014\-01\-17 3.0.25 dosfstools
.TH MKFS.FAT 8 2014\-03\-07 3.0.26 dosfstools

.SH NAME
\fBmkfs.fat\fP \- create an MS\-DOS filesystem under Linux
Expand Down
2 changes: 1 addition & 1 deletion manpages/en/fatlabel.8
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.\" can be found in /usr/share/common-licenses/GPL-3 file.
.\"
.\"
.TH FATLABEL 8 2014\-01\-17 3.0.25 "dosfstools"
.TH FATLABEL 8 2014\-03\-07 3.0.26 "dosfstools"

.SH NAME
\fBfatlabel\fR \- set or get MS\-DOS filesystem label
Expand Down
2 changes: 1 addition & 1 deletion manpages/en/fsck.fat.8
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.\" can be found in /usr/share/common-licenses/GPL-3 file.
.\"
.\"
.TH FSCK.FAT 8 2014\-01\-17 3.0.25 "dosfstools"
.TH FSCK.FAT 8 2014\-03\-07 3.0.26 "dosfstools"

.SH NAME
\fBfsck.fat\fR \- check and repair MS\-DOS filesystems
Expand Down
2 changes: 1 addition & 1 deletion manpages/en/mkfs.fat.8
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.\" can be found in /usr/share/common-licenses/GPL-3 file.
.\"
.\"
.TH MKFS.FAT 8 2014\-01\-17 3.0.25 "dosfstools"
.TH MKFS.FAT 8 2014\-03\-07 3.0.26 "dosfstools"

.SH NAME
\fBmkfs.fat\fR \- create an MS-DOS filesystem under Linux
Expand Down
6 changes: 3 additions & 3 deletions manpages/po/de/fatlabel.8.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: 2013-06-06 09:34+0300\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand All @@ -22,13 +22,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
6 changes: 3 additions & 3 deletions manpages/po/de/fsck.fat.8.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: 2013-06-06 09:34+0300\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand All @@ -16,13 +16,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
6 changes: 3 additions & 3 deletions manpages/po/de/mkfs.fat.8.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: 2013-06-06 09:34+0300\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
Expand All @@ -16,13 +16,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
6 changes: 3 additions & 3 deletions manpages/pot/fatlabel.8.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -25,13 +25,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
6 changes: 3 additions & 3 deletions manpages/pot/fsck.fat.8.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -19,13 +19,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
6 changes: 3 additions & 3 deletions manpages/pot/mkfs.fat.8.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: dosfstools VERSION\n"
"POT-Creation-Date: 2014-01-17 07:10+0100\n"
"POT-Creation-Date: 2014-03-07 18:39+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -19,13 +19,13 @@ msgstr ""
#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "2014-01-17"
msgid "2014-03-07"
msgstr ""

#. type: TH
#: en/fatlabel.8:22 en/fsck.fat.8:22 en/mkfs.fat.8:22
#, no-wrap
msgid "3.0.25"
msgid "3.0.26"
msgstr ""

#. type: TH
Expand Down
4 changes: 2 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#ifndef _version_h
#define _version_h

#define VERSION "3.0.25"
#define VERSION_DATE "2014-01-17"
#define VERSION "3.0.26"
#define VERSION_DATE "2014-03-07"

#endif

0 comments on commit 1646f6e

Please sign in to comment.