forked from dosfstools/dosfstools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daniel Baumann <[email protected]>
- Loading branch information
1 parent
6893c45
commit 1646f6e
Showing
15 changed files
with
79 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.0.25 | ||
3.0.26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters