Re[2]: Maximum volume label length

I would guess that this is hard coded in Explorer since Windows 95,
where volume name was 8+3 on FAT.

As for NTFS: Explorer has been known to check for file system
by name, so I’d say there is like:

if(fsName == “NTFS”)
nMaxVolumeLabel = 32;
else
nMaxVolumeLabel = 8;

(even tho FAT volume name has always been 11, not 8, at least in DOS
times).

I don’t think you can change that in your driver.

L.

On Wed, 11 Aug 2010, Ladislav Zezula wrote:

I would guess that this is hard coded in Explorer since Windows 95,
where volume name was 8+3 on FAT.

As for NTFS: Explorer has been known to check for file system
by name, so I’d say there is like:

if(fsName == “NTFS”)

Yes this is right, the same issue has come up for other features in the
filesystem so some fs driver writers has considered letting their fs
return the name ntfs because to allow the user to use the advanced
features they support.

However you should file a bug report for Explorer!

Bo Branten

Thanks for the responses. That sounds strange anyway!. You may be right, I should rather file a bug for Explorer!!

Probably the Windows shell has hardcoded check for “NTFS” literal.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntfsd…
>I downloaded and installed ext2 filesystem for windows and formatted my drive to ext2. ext2 supports upto 16 characters. But still from windows explorer, I can input only upto 11 characters. Is this a windows limit or is the driver missing something?
>

Sounds like a bug in explorer.