[haiku-development] Re: FAT volume names.
- From: Henri Vettenranta <henri.vettenranta@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 25 May 2009 00:46:43 +0300
On Sunday 24 May 2009 13:58:55 Bruno Albuquerque wrote:
> FAT volume names are always stored in uppercase on disk. Whenever we
> read it, we convert it to lowercase for displaying in Tracker. i want
> to change it so it will diplay it with the first letter in uppercase
> and the following ones in lowercase so, instead of, for example,
> "test", a possible partition name being show would be "Test". At
> least for me it makes the name more consistent with other partition
> names I use which are always capitalized.
+1; Your suggestion is the way Windows has shown FAT labels since
Windows 95 at least, so it would also increase consistency with other
systems.
On the other hand, Windows also shows files with no so-called long names
with that sort of casing. (Long names usually get generated to preserve
casing even if the length of the file name itself does not necessitate a
long name, so files without them are usually only generated by systems
which do not understand long names.) Currently Haiku seems to show these
kinds of files with completely upper-case file names, which I think is not
the best option. Unix systems usually convert the file names completely
to lower case, but they normally have very little if any upper-case
character in their file names in general. For consistency (both with the
label naming and with Windows) I think file names should be converted the
same way as was suggested for labels. Mixed case fits Haiku as well: most
bundled applications have mixed-case file names for example.
--
Henri Vettenranta
HeTo
Other related posts: