Solved

calculate the LFN checksum byte ?

Posted on 1997-04-03
1
660 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now