Solved

calculate the LFN checksum byte ?

Posted on 1997-04-03
1
689 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

631 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