logo       

[ rockbox-Bugs-782248 ] Should prevent saving "filename.": msg#00381

systems.archos.rockbox.sourceforge

Subject: [ rockbox-Bugs-782248 ] Should prevent saving "filename."

Bugs item #782248, was opened at 2003-08-03 09:59
Message generated for change (Comment added) made by moormaster
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439118&aid=782248&group_id=44306

Category: User Interface
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Barry McIntosh (combthins)
Assigned to: Nobody/Anonymous (nobody)
Summary: Should prevent saving "filename."

Initial Comment:
If you save a filename ending in "." the file is impossible
to remove, rename or open using Windows. For example
on General Settings menu, save settings to "config00."

The only way I have found to remove the file is using
the ROCKbox ON-PLAY menu. Windows lists the file but
can't do anything with it. cygwin "ls" sometimes lists it,
depending what options you give it, but can't remove or
rename it.

I assume that "filename." is an illegal filename as far as
FAT is concerned, so we should prevent ROCKbox from
creating such files.

Also, if we allow the user to create files called "." or ".."
that might cause even bigger problems. I haven't tried it.

Found on Player built from tarball rockbox-daily-
20030801.

----------------------------------------------------------------------

Comment By: Andre Herbst (moormaster)
Date: 2003-12-22 22:53

Message:
Logged In: YES
user_id=917543

Can't Scandisk repair those files? I cannot believe that is
really impossible to delete broken files in Windows. This has to
be a feature of an operating system.

have you tried to rename these files in a console? Sometimes
it works there to access files which Windows cannot handle.

(Windows 98 had the bug that every file with an ASCII 255-
character in the filename was not accessible by any program.
You could rename any file in the MSDOS-Command with this
character and you could rename it back there)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=439118&aid=782248&group_id=44306



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise