Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

calculate the LFN checksum byte ?

Posted on 1997-04-03
1
Medium Priority
?
707 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 150 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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 describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

916 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