1. Technical Field
The present disclosure relates to a method for installing File Allocation Table (FAT) file system, and particularly to a method for a server installing a FAT file system on client computers.
2. Description of Related Art
File Allocation Table or FAT is a computer file system architecture now widely used on most computer systems and most memory cards, such as those used with digital cameras. It was developed by Bill Gates and Marc McDonald during 1976-1977. It is the primary file system for various operating systems including DR-DOS, FreeDOS, MS-DOS, OS/2 (v1.1) and Microsoft Windows (up until Windows Me). For floppy disks, it has been standardized as ECMA-107 and ISO/IEC 9293. Those standards include only FAT12 and FAT16 without long filename support; long filenames with FAT is partially patented. The FAT file system is relatively straightforward technically and is supported by virtually all existing operating systems for personal computers. This makes it a useful format for solid-state memory cards and a convenient way to share data between operating systems. Typically, the FAT file system is installed on client computers using an installation disc, which is inefficient and wastes much time and money.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
In general, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprise connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
Referring to
The server 30 includes an image file creating system 31 for creating an image file of the FAT file system. The image file includes subarea basic parameters of original files and data blocks. The subarea basic parameters of original files include size of the FAT file blocks, and number of reserved blocks and nodes. The data blocks include system data and file data. The image file creating system 31 includes a reading module 311, an execution module 312, and a block indexing module 313. The reading module 311 reads data and path of the data from the server 30, and transmits the data and path to the execution module 312. The execution module 312 packs the data and path to create an image file. The execution module 312 further searches FAT files in sub-directories, and packs the found FAT files to the image file. The block indexing module 313 searches the path for storing data blocks of the image file in the client computers 10. The server 30 transmits the image file to the client computers 10 via the network 20.
Each client computer 10 includes a receiving module 11, and a file system installing module 12. The receiving module 11 receives the image file from the server 30. The file system installing module 12 analyzes data and path of the data from the image file received by the receiving module 11 and stores data and path of the data on a hard disc of the client computer 10. Each client computer 10 includes a plurality of data clusters. In computer file systems, a cluster is the unit of disk space allocated for files and directories. In order to reduce the overhead of managing on-disk data structures, the file system does not allocate individual disk sectors, but contiguous groups of sectors, called clusters. On a disk that uses 512-byte sectors, a 512-byte cluster contains one sector, whereas a 4-kilobyte (KB) cluster contains eight sectors. The size of FAT sectors corresponding to the size of data clusters is indicated in the table below:
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
It is also to be understood that the above description and the claims drawn to a method may include some indication in reference to certain steps. However, the indication used is only to be viewed for identification purposes and not as a suggestion as to an order for the steps.
Number | Date | Country | Kind |
---|---|---|---|
200910303147.7 | Jun 2009 | CN | national |