And you'll never guess the culprit. Once again, Microsoft technology bites something really important in the ass.
Powered by Dreamwidth Studios
Style Credit
- Style: Blue for Drifting by Jennie Griner
- Resources: OSWD design
And you'll never guess the culprit. Once again, Microsoft technology bites something really important in the ass.
no subject
It looks like the real problem was that at just one point some people allowed themselves to forget that they were programming an embedded system and allowed a piece of third-party software to be a memory hog.
Moral: rocket science has no tolerance for sloppiness. Even a tiny bit of sloppiness in an otherwise stunningly-brilliant project.
ObMicrosoftSlam: If the rovers were running a Microsoft OS, we'd all have been getting spam relayed from Mars for months now.
no subject
The root problem was the use of a filesystem on the flash RAM in which directory structures grow forever, because directory entry slots are never re-used, in an environment in which large numbers of small data files are constantly being created and written to the flash RAM. From reading NASA's description of the issue, if FAT recycled directory entries from deleted files instead of keeping them around forever, the problem would never have occurred.
I know, the original intention of simply tagging files as deleted and keeping the directory entries in place was to allow for file undeletion. But given the nature of FAT and how it allocates disk space, the odds are against any deleted file being recoverable at all across more than a single reboot anyway, and even then, file undeletion on FAT is a hazardous operation highly likely to result in crosslinked files and a corrupted filesystem.
no subject
As far as I know, the procedure in the FAT file system of replacing the first character of a file's name in the directory with a question mark was not so that the file could be undeleted, but probably just to keep the code simple. The entries in the file allocation table were zero'ed so the file could only be undeleted properly if it was contiguous, or if you used a third-party deletion tracking program.
The article doesn't say that the Wind River OS is using FAT or not. The problem is, as far as I know, consistent with the FAT directory structure. However, there are newer, better file systems and, at the time FAT was developed, it was on par with other file systems for personal computers. Besides, I don't know if MS even invented FAT anyway. MS-DOS grew out of CP/M and, if that OS used FAT as well, it's someone else's invention.
no subject
True, it doesn't. However, I believe you'll find that the vast majority of flash memory applications, at least in consumer products, embed VFAT as the filesystem.
Irony