If the test of short filename fails, dosfsck could complain about
bad long filename, see Debian bug #596327. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
parent
f0a42d0634
commit
e56ff72c16
@ -628,7 +628,8 @@ static int check_dir(DOS_FS *fs,DOS_FILE **root,int dots)
|
|||||||
}
|
}
|
||||||
if (!((*walk)->dir_ent.attr & ATTR_VOLUME) &&
|
if (!((*walk)->dir_ent.attr & ATTR_VOLUME) &&
|
||||||
bad_name(*walk)) {
|
bad_name(*walk)) {
|
||||||
printf("%s\n Bad file name.\n",path_name(*walk));
|
puts(path_name(*walk));
|
||||||
|
printf(" Bad short file name (%s).\n", file_name((*walk)->dir_ent.name));
|
||||||
if (interactive)
|
if (interactive)
|
||||||
printf("1) Drop file\n2) Rename file\n3) Auto-rename\n"
|
printf("1) Drop file\n2) Rename file\n3) Auto-rename\n"
|
||||||
"4) Keep it\n");
|
"4) Keep it\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user