Solved

calculate the LFN checksum byte ?

Posted on 1997-04-03
1
666 Views
Last Modified: 2013-12-03
Hi everyone,

I wonder how to calculate the long file name checksum byte that verify if
the 8.3 filename is valid ?

According to PC Magzine June 25 1996 - How Windows 95 Stores Long
Flenames by Jeff Prosise

"The LFN directory entry's checksum byte holds an eight-bit checksum value computed by adding certain fields of the 8.3 directory entry and performing a modulo 256 operation on the result. Windows 95 uses this checksum to detect orphaned or corrupted LFN directory entries."

Best regards

/Thu
0
Comment
Question by:thu040397
1 Comment
 
LVL 1

Accepted Solution

by:
strobert earned 50 total points
ID: 1334394
try looking at the linux kernel code (available via FTP from many places including ftp.kernel.org)  the dir fs/vfat should have the code.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question