New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fsck.fat does not repair badly named file called ..
or .
#169
Comments
Can you explain what is the issue? |
There is a regular file
The file |
Ok, now I see, this is for sure error. Are you able to provide that broken disk image dump? You should be able to upload packed disk image into .gz or .zip file archive directly to this github issue. |
I discovered this while investigating rust-lang/rust#89270 (comment) |
..
or .
..
or .
Microsoft fatgen103.doc specification says:
I understand it as that In your example you have file which has long name |
The short name is randomly generated, and bares no resemblance to the file name originally created. However, as you point out, it does have the advantage of being a valid file name. |
@pali are you suggesting that mks.fat should leave |
Ehm? mkfs.fat should erase everything which is stored on existing filesystem. |
Sorry, I meant fsck.fat. |
Hm... I'm not sure. |
I agree. It can be argued both ways:
|
For |
That seems very reasonable. It might be helpful to send a patch to the list to get the conversation going. |
Files called
.
or..
are not accessible on linux, since those filenames are hardcoded in the kernel as path walks.I can provide disk image if anyone is interested.
The text was updated successfully, but these errors were encountered: