Patent ID: 6374265
Filing Date: 2002-04-16
Classification: G06F,Y10S

Abstract:
A method for backup and recovery of the long filename in a computer system that does not support the long filename designation, said computer system containing a logical disk partition table for storing long filename and short filename items, said method comprising the following steps:(a) performing a long filename backup procedure by obtaining a file directory table (FDT) from a logical disk partition table, transferring and storing the long filename item and short filename item from the FDT into a long filename backup file; and (b) performing a long filename recovery procedure by obtaining the short filename of each FDT and sub-FDT, reversing the long filename backup process and writing the corresponding data of the long filename backup file back to the original FDT; (c) wherein the long filename backup procedure comprises the sub-steps of: searching the disk parameter block (DPB) of the partition according to the disk partition table; storing all the long filename item and short filename item of the FDT in the current directory as a long filename backup file; searching the FDT of the subdirectory; and storing all the long filename item and short filename item of the FDT of the subdirectory in the current subdirectory as a long filename backup file; and (d) wherein the long filename recovery procedure comprises the sub-steps of: obtaining the disk parameter block (DPB) of the partition according to the disk partition table; obtaining the corresponding data in all the long filename backup file according to each short filename item in the FDT of the partition, and replacing the directory's FDT with the corresponding short filename item and long filename item of the long filename backup file as a new file directory item; searching the FDT of subdirectories; and obtaining the corresponding data in all the long filename backup file according to each short filename item in the FDT of subdirectory, and replacing the subdirectory's FDT with the corresponding short filename item and long filename item of the long filename backup file as a new file directory item.