Contenida dentro deEncontrar más documentaciónRecursos de soporte técnico destacados de | Descargar este libro en PDF (1583 KB)
Chapter 19 Installing and Administering Solaris Flash Archives (Tasks)This chapter provides references to procedures for installing Solaris Flash archives on clone systems and procedures for administering an archive. References to Procedures for Installing Solaris Flash ArchivesYou can use any of the Solaris installation methods to install Solaris Flash archives. For procedures for installing Solaris Flash archives, see the following references.
Administering Solaris Flash ArchivesThe flar command enables you to administer archives. You can split an archive into sections. Those sections can be modified, added to, or deleted, and then merged to create an archive. You can also obtain information about the archive. Do not modify the Archive Files section or you compromise the integrity of the archive. Splitting a Solaris Flash ArchiveYou can split an archive into sections, which enables you to modify some sections, add new sections, or delete sections. After you have modified the sections, you need to merge the sections to create an new archive. For example, you might want to add a User-Defined section or modify the Archive Identification section. Do not modify the Archive Files section or you compromise the integrity of the archive. The flar split command splits a Solaris Flash archive into sections. The flar command copies each section into a separate file in the current directory or specified directory. The files are named after the sections, for example, the archive cookie is saved in a file that is named cookie. You can specify that the flar split command save only one section. The syntax of the command is as follows: flar split[-d dir] [-u section] [-f archive] [-S section] [-t [-p posn] [-b blocksize]] filename
Example 19-1 Splitting an ArchiveIn the following example, archive1.flar is split into three files:
After the archive is split, you can modify the Archive Identification section or add a User-Defined section. The sections can then be merged to recreate the archive. Merging a Solaris Flash ArchiveAfter you have split an archive into sections, you can combine the sections to create a new archive. The flar combine command creates a Solaris Flash archive from individual sections. Each section is assumed to be in a separate file, the names of which are the section names. At a minimum, these three files must be present:
When combining sections, remember the following points:
flar combine [-d dir] [-u section] [-t [-p posn] [-b blocksize]] filename
Example 19-2 Merging a Solaris Flash ArchiveIn this example, an Archive Cookie section, an Archive Identification section, and an Archive Files section are combined to become a complete archive. The archive is named newarchive.flar.
Example 19-3 Merging a Solaris Flash Archive and Adding a User-Defined SectionIn this example, an Archive Cookie section, an Archive Identification section, an Archive Files section, and a User-Defined section are combined to become a complete archive. The archive is named newarchive.flar. The User-Defined section content is in the file that is named user-defined, which is in the current directory.
Extracting Information From an ArchiveUse the flar info command to get information about archives you have already created. The syntax of the command is as follows: flar info [-l] [-k keyword] [-t [-p posn] [-b blocksize]] filename
Example 19-4In this example, the file structure of the archive named, archive3.flar, is checked.
|
||||||||