Skip to main content

Micro$oft is FAT!

Judge Kathleen Kottler-Kavein ruled that Microsoft must be broken up into two companies. The name of the two companies will be MICROS~1 and MICROS~2. HAHA!!

The Bug:
(not in reference to the car or the insect)

So... today I stumbled upon something weird with FAT16 partitions. Why FAT16? Because the manufacturers of the SD memory card formatted the card with FAT16... your own USB flash drive might also be FAT16. Anyways... here's what happened: I had 126 files (totaling over 1.4 GB) on the SD card. If I added one more file, Windows would complain, saying that it could not create the file. And, here's the strange part... if I deleted a 4 MB file and copied a 1 MB file, it would still not let me create a new file. And, even stranger... if I deleted all of the files and created 1000 small files, it would let me.

So... the problem doesn't seems to be a file size limit or a # of files limit. What is it then?

WTF, mates?

Here's a strange bug in FAT16: http://www.cocoadev.com/index.pl?MSDOSFileSystem

A long time ago, Microsoft made you create files with an 8.3 filename. What that means is... your files, by convention, had to start with 1-8 characters, followed by a period, and then followed by a 3-character-max file extension. After people realized that this limitation was ridiculous, they yelled at the evil empire. So, Gates hacked the FAT file system to create support for long filenames... and it created some complications... hidden complications... read the link above to find out.

Quoted from http://support.microsoft.com/kb/120138:
"This problem occurs when all 512 root directory entries have been used. This problem can also occur with fewer than 512 files and folders in the root directory because Windows 95 uses additional directory entries to store long file names. "

So, when Windows couldn't create a file due to some weird, mostly undocumented FAT16 limitation, it SHOULD HAVE SAID: "Bill Gates told me not to let you do that because there is some undocumented feature in FAT16 that won't let you. Try formatting in FAT32".

But, instead, I get the cryptic error message: "Sorry, Blake. I can't do that now. And, nope... I won't tell you why... you'll have to Google it... I mean... search using Windows Live, of course!"

Also see... http://en.wikipedia.org/wiki/Long_filename

Comments

Popular posts from this blog

Wedding Prediction - October, 2013

Carla and I are planning on getting married sometime in October next year.  We need to pick a date, and that decision may  involve some science and mathematics.  :) For example, we want the weather to be nice.  To be more precise, we'd like the high temperature for the wedding day to be between 60 and 80 degrees Fahrenheit.  Obviously, we have both lived in Ohio our entire lives, and we have a pretty good idea of what the weather will be like.  We both hypothesised that October was a "hit or miss" sort of month; it could be cold, or it could be nice. But, for me, a simple hypothesis was not enough; I really wanted to know the probabilities of decent weather based on historical weather data.  Many websites on the Internet (i.e. almanac.com) charge you to review historical weather data, but Carla and I discovered a cool page on cleveland.com that provided exactly what we wanted.  I loaded the historical temperature data from 1903 to 2011 f...

Web Browsers You Should Support

As a web developer, generally speaking, you should consider supporting the following browsers (at the time of this writing): Chrome (latest) - the browser that sets the bar for the others; you should be using it and supporting it Internet Explorer 9+ - the browser that finally caught up with the times a bit; basically, a Chrome wannabe.  I still say that IE sucks... even if it really doesn't anymore.  Yes... I'm sour about IE8 and below. Internet Explorer 8 - the old, sad browser that we sadly still have to support for a while.  CSS 3 is not well-supported here, so we use projects like CSS3 PIE or whatever.  By the way... IE8 sucks.  I can't wait until this comes off of the list. Firefox (latest) - the browser that was once awesome and has sadly suffered recently because it's slower than Chrome... but hey, lots of people still use it. Safari (latest) - Watch out for Safari as more iPhones, iPads, Macs, and more overly-priced Apple products flood the ...

BallWorld Screen Saver

Overview: My last Java programming assignment for my class at the University of Akron was called "BallWorld."  Its details can be found here .  I will not post any source code here, but I will post an executative JAR file that will run the screen saver.  Anyways, the final project of the BallWorld project was kind of cool, so I modified it a little bit to make a pretty neato screen saver.  You can download the project here:  BallWorld.zip .   The zip file contains a .JAR, an .EXE, and a .JOB.  The JAR file should execute the screen saver on any operating system.  The EXE file works only on Windows.  The JOB (Windows Task Scheduler) file can be used to automatically run the EXE file after a specified amount of computer idle time. Details: The EXE file was created using a program called Launch4j .  Launch4j simply takes a JAR file and converts it into a Win32 EXE.  Obviously, this destroys platform-inde...