Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#22 closed enhancement (wontfix)

FAT file names should be lower-case

Reported by: Martin Decky Owned by: Martin Decky
Priority: minor Milestone: 0.4.1
Component: helenos/unspecified Version: mainline
Keywords: Cc: jakub@…
Blocker for: Depends on:
See also:


The file names read from FAT16 filesystem should be presented in lower case.

Change History (8)

comment:1 by Jakub Jermář, 15 years ago


The ECMA-107 spec for FAT16 explicitly mentions upper case letters. More precisely, it only allows d-characters, which do not contain, besides other things, lower case letters.

comment:2 by Jakub Jermář, 15 years ago

Cc: Jakub Jermář added

comment:3 by Jakub Jermář, 15 years ago

Cc: Jakub Jermář removed

comment:4 by Jakub Jermář, 15 years ago

Cc: jakub@… added

comment:5 by Jakub Jermář, 15 years ago

Resolution: worksforme
Status: newclosed

I am going to close this ticket.
If you find a defendable argument why we should display FAT file names in a non-standard way, feel free to reopen the ticket.

comment:6 by Martin Decky, 15 years ago

Resolution: worksforme
Status: closedreopened

I have following reasons why I would prefer to see lower case file names on FAT16:

  • It simply looks better and it does not harm (file name matching is case insensitive on FAT).
  • Most of the time, users will type file names in lower case. Why not present the file names also in this way? Imagine tab completion in a shell — if the file names are upper case, the tab completion would either have to know about case insensitive matching or would require the user to start typing the file name in upper case to be effective.
  • If you mount a plain FAT16 filesystem (without LFN) in Linux (2.6.28), you also see lower-case file names by default. You can specify other conversions via a mount option (which might be also our solution).
  • On the other hand, in Windows (NT series) plain FAT16 file names are displayed in upper case. Windows use two special bits in the directory entry (called "lower case extension" and "lower case base name") to indicate whether to display each part of the file name in lower case. We can easily adopt these two bits to be compatible with Windows.

Note: I am really talking about the way file names are presented to the client applications. I do not propose to store the file names on the filesystem in lower case or in any other way conflicting the specs.

comment:7 by Martin Decky, 15 years ago

Resolution: wontfix
Status: reopenedclosed

OK, after some discussion in the mailing list I am closing this ticket again and replacing it with several other tickets, which are probably more specific and less controversial.

comment:8 by Jakub Jermář, 15 years ago

Component: unspecified
Note: See TracTickets for help on using tickets.