Maximum volume label length

Hello All,

I am trying to understand the fastfat sample code in wdk. I see in windows explorer that for NTFS, I can rename the volume label up to 32 characters and for FAT it is 11. I tried to change the length to 8 for fat, but windows explorer always allows me to input 11 characters even though it gives an error “invalid length” when trying to give 11 character name. How can I change this behavior through fastfat driver so that windows explorer doesn’t even give the option to input 11 characters and instead it limits the text box with up to 8 characters?

Thanks in advance,
Girish.

Not my thing, but I don’t think that you can

On Aug 11, 2010 2:12 AM, wrote:

Hello All,

I am trying to understand the fastfat sample code in wdk. I see in windows
explorer that for NTFS, I can rename the volume label up to 32 characters
and for FAT it is 11. I tried to change the length to 8 for fat, but windows
explorer always allows me to input 11 characters even though it gives an
error “invalid length” when trying to give 11 character name. How can I
change this behavior through fastfat driver so that windows explorer doesn’t
even give the option to input 11 characters and instead it limits the text
box with up to 8 characters?

Thanks in advance,
Girish.


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks for the comment. But what I think is since NTFS can make explorer allow up to 32 characters, there should be something in the driver which informs windows that it can allow up to n number of characters based on which the explorer allows the text box to accept up to n number of characters. Any more comments from anybody, please?

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?