# The Design and Implementation of a Novel Open Source Massive Deployment System
## 3 Design and Implementation
### Software Packaging
\begin{table}
\begin{tabular}{c c c c} \hline \hline
**File Name** & **Attribute** & **Description** & **Example** \\ \hline blkdev.list & plain text & Output of command “blkdev* & - \\ blkid.list & plain text & Output of command \"blkid\" & - \\  & & File to mark the directory is for Clonezilla & - \\ clonezilla-img & plain text & image; it also contains the screen output when & - \\  & & saving the image & \\ disk & plain text & Contain the disk device name (e.g., sda, sdb) & - \\ parts & plain text & Contain the partition device name (e.g., sda1, & - \\  & & sdb2, sdb1) & - \\ lvm\_logy.list & plain text & List of the logical volumes and their file & - \\  & & systems & - \\ lvm\_vg\_dev.list & Plain text & List of volume groups, physical volumes, and & - \\  & & their UUIDs & - \\ lvm\_TVGconf & plain text & Output of command “ygcfgbuckup” & lvm\_vg\_H9.conf \\ Info-dmi.txt & plain text & Output of command dmddecode & - \\ Info-lspcl.txt & plain text & Output of command lspcl & - \\ Info-slhw.txt & plain text & Output of command lshv & - \\ Info-packages.txt & plain text & List of Clonezilla-related packages and their & - \\  & & versions when image is saved & - \\ Info-saved-by-cmd.txt & plain text & includes the command and options when & - \\  & & image is saved & \\ \hline \multirow{3}{*}{[partition!VG-LV][fs]-ptcl} & \multirow{3}{*}{binary} & File system of a partition, dumped by & \multirow{3}{*}{sda1.ext4-ptcl-img.gz.aa} \\  & & & Partole, and compressed then split into & \\  & & multiple volumes & \\ \cline{1-1} \cline{2-5} [disk]-chs.sf & plain text & The cylinder, head, and sector numbers of disk & \multirow{2}{*}{sda-chs.sf} \\ \cline{1-1} \cline{2-5} [disk]-hidden-data-after-m & \multirow{2}{*}{binary} & The data between the MBR and the list & \multirow{2}{*}{sda-hidden-data-after-mbr} \\  & & & partition. Dumped by command “ddd” & \multirow{2}{*}{sda-mbr} \\  & & & The MBR data, dumped by command “dd” & \\ \cline{1-1} \cline{2-5} [disk]-pt\_parted & plain text & The partition table. Dumped by command & \multirow{2}{*}{sda-pt.parted} \\  & & & \(\quad\)parted + s/dev/(flisk) print” & \\ \cline{1-1} \cline{2-5} [disk]-pt\_parted.compact & plain text & The partition table. Dumped by command & \multirow{2}{*}{sda-pt.parted.compact} \\  & & & \(\quad\)parted + s/dev/(flisk) unit compact print* & \\ \cline{1-1} \cline{2-5} [disk]-pt\_sf & plain text & Output of command “sfskid-d” & \multirow{2}{*}{sda-pt.sf} \\ \cline{1-1} \cline{2-5} swappt-partition]\_info & plain text & The UUID, or also of a Linux swap partition & \multirow{2}{*}{swappt-sd.info} \\  & & & binary & The GPT binary data saved by gdisk & \multirow{2}{*}{sda-gpt.gdisk} \\  & & & The GPT basic summary data saved by sgdisk & \\ \cline{1-1} \cline{2-5} [disk]-gpt\_sgdisk & plain text & in plain text & \\ \hline \hline \end{tabular}
\end{table} 
Table 1: Files in a Clonezilla image directory. settings by the DHCP, mounting the NFS file server as an image repository, starting the ssh service, and then running a restoring job using the boot parameters of Clonezilla live is demonstrated, as follows: \(\text{ocs\_live\_prerun1=\"dhclient -v eth0\" \text{ocs\_live\_prerun2=\"mount -t nfs 192.168.100.254:/home/partimag/home/partimag\" \text{ocs\_daemonon=\"ssh\" \text{ocs\_live\_run=\"ocs-sr -g auto -e1 auto -e2 -batch -r -j2 -p poweroff restoredisk my-xenial-img sda\"}}\)