8.1 Static and Dynamic Files

   

Static files and directories contain information that usually does not change after system installation. The files that fall into this category are executable files, libraries, applications, and so on. This part contains /sbin , /usr , and the application directories under /opt . As these files are also shared among many systems in a network where diskless or dataless clients are used, they are also called shared files. The dynamic files are those that are found in other directories like the /var directory, which holds most of the log files. In fact, the name var also comes from "variable." Similarly, you place temporary files in the /tmp directory. Most of the applications also put their temporary files in the /var/tmp directory and it continuously changes. Contents of the home directory also change whenever a user is created or deleted or whenever a user makes changes to any of his or her files. Figure 8-1 shows the division of a file system into static and variable directories.

Figure 8-1. Static and dynamic directories.

graphics/08fig01.gif

To keep the logical division of files and directories, HP-UX keeps all application directories separate from system directories so that these two types of files never get mixed with each other. Similarly, executable and nonexecutable files and directories are also kept separate from each other. In the following part of this chapter, you will get a brief introduction to the contents of each directory under the root directory. The directory tree is specific to HP-UX version 10.x and above.


   
Top


HP Certified
HP Certified: HP-UX System Administration
ISBN: 0130183741
EAN: 2147483647
Year: 2000
Pages: 390
Authors: Rafeeq Rehman

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net