Patent ID: 6718548
Filing Date: 2004-04-06
Classification: G06F

Abstract:
A method for embedding an operating system and an application program into a memory apparatus, wherein the operating system includes a boot file and a run control (RC) program, the method comprising the steps of:(a) processing source codes of the operating system for obtaining a crunch file of the operating system by applying a crunch technique; (b) compiling the crunch file of the operating system resulting in an executable file of the operating system; (c) compressing the executable file of the operating system into a system compression file; (d) eliminating unnecessary comments and settings from source codes of the application program for obtaining a compact version of the application program; (e) mounting a program storage file as a mount point through a virtual node technique; (f) copying the compact version of the application program to the mount point; (g) compressing the program storage file into a program compression file; (h) formatting the memory apparatus; (i) copying the boot file, the system compression file, and the program compression file to the memory apparatus; and (i) modifying the RC program so that the RC program is able: (j1) to check whether the file system of the memory apparatus is functioning properly: if not correcting the file system; (j2) to set the memory apparatus to be read only: (j3) to mount the program compression file in the memory apparatus as a program storage directory through the virtual node technique; (j4) to automatically detect and install a hard disk drive and to automatically format the hard disk drive if the hard disk drive is not formatted; and then (j5) to automatically detect and set a network interface card and to set a parameter of the network interface card according to slots available in sequence.