Duh
- 2 minutes read - 368 wordsThis has bitten me twice now, so I’m going to blog about it in the hope that somehow it sticks in my mind.
Here we go. USB keydrives are formatted in the universal language of storage, which is FAT-32. For Windows 7, Microsoft has finally fixed the ‘send to’ context menu option to include all available disk drives. So, at long last, you can right-click a file and send it to your keydrive.
Except when you can’t. Because sometimes you try to send a file and it says that the drive is full. But it isn’t — there’s a gig and a half free. What’s going on?
Time for a history lesson. FAT-32 is a descendant of FAT-16, which is an
extension to FAT-12, which was the original file system built for 256 KB
floppies. FAT-32 arrived with Windows 95, so that it could support long
file names. FAT-12 and FAT-16 only supported ‘8+3’ file names — so
“REPORT09.DAT” was as long as file names got. As FAT-16 only had to
support 10MB hard disks (no, really), it allowed only 112 entries in the
root folder, because the root directory structure cannot grow.
Sub-folders can, and so you can have as many files as you want in a
subfolder.
FAT-32 brings this restriction on, but with another wrinkle. Long file names are implemented by using more than one directory entry. So, if you send a few files to your keydrive, then you’ll fill up the root directory very quickly.
And now for the final wrinkle — this file system was built to support DOS. DOS didn’t really have a lot of options to signal that a write failure had occurred. And so, it was pretty much ‘disk is full’, or ‘disk is write-protected’. And since the keydrive isn’t write protected, ‘disk is full’ is pretty much the only option.
There are quite a lot of things to like about Windows 7, this is just one of those silly gotchas that could trip anything up. Interestingly, since this is a file system problem, this problem exists on any operating system that supports FAT-32, which is pretty much anything these days.
Got a silly tech gotcha? Leave me a comment!