Method of cloning the file system of a window web operating system by using a bitmap file
First Claim
1. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,wherein when storing said file data from said source partition in said bitmap file, a position of a master file table (MFT) is found from a boot sector of said source partition, and then a first 20 records in the MFT are searched, so as to find a physical address and size of the bitmap file from the records, and to further obtain an actual address and size of the bitmap file.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of cloning the file system of a window web operating system by using a bitmap file includes the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk.
45 Citations
10 Claims
-
1. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,
wherein when storing said file data from said source partition in said bitmap file, a position of a master file table (MFT) is found from a boot sector of said source partition, and then a first 20 records in the MFT are searched, so as to find a physical address and size of the bitmap file from the records, and to further obtain an actual address and size of the bitmap file.
-
5. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,
wherein all useful data in said source partition is divided into a plurality of data blocks, the data in each data block is compressed, and the compressed data is decompressed and stored in the image file, and wherein when making the image file, data in a first sector is read from the source partition, a parameter block containing BIOS parameters is initialized, the parameter block is then read into a boot sector of the source partition, file system data is read into said bitmap file, the bitmap file is read and stored in a temporary file in a buffer, a judgement is made as to whether the bitmap file reading action has been terminated, and a largest cluster number from the file system data is changed to a smallest sector number and a remainder of the data in the bitmap file is written into the buffer if the bitmap file has all been read out, followed by return to the step of reading sector data from the source partition.
-
7. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,
wherein an initial address is stored in a file header structure, which is stored with physical parameters including a total number of sectors and partition information, and wherein when decompressing the image file, parameters of an image file header of the image file are read, a size of the source partition is compared with the object partition, the bitmap file and related parameters are modified subject to a comparison result, the modified data is written into the object partition, and a content of the data blocks of the source partition is cloned to the object partition of the object disk.
-
9. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,
wherein when the object partition is greater than the object partition and the original bitmap file represents a position of an end of the object partition, all redundant data is cleared before the end of the object partition, and a bitmap file end sign is set at a position of the end of the object partition to end modification of the bitmap file.
-
10. A method of cloning a file system of a window web operating system by using a bitmap file, comprising the steps of (i) storing file data from a source partition in a bitmap file, (ii) compressing the data of the source partition into an image file and cloning the image file to an object disk, (iii) decompressing the compressed bitmap file of the source partition in an object partition in the object disk, enabling decompressed data to be restored to the object partition, and (iv) modifying the bitmap file subject to the size of the object partition and the physical parameters of the object disk,
wherein when the object partition is greater than the source partition but the original bitmap file does not represent a position of the end of the object partition, a new position is found, a content of the original object partition is cloned, and a bitmap file end sign is set at a position of the end of the object partition to end modification of the bitmap file.
Specification