Scripts in /etc) or be relocatable before you write any Should decide if package objects will have fixed locations (such as start-up Instead, its location is determinedĪll or some of a package's objects can be defined as relocatable. Path names indicate that the object is relocatable.Ī relocatable object is one that does not needĪn absolute path location on the target system. Is defined by the package and cannot be changed. UsingĪn absolute path name means that the object's location on the target system Or a relative path name (for example, bin/mail). With either an absolute path name (for example, /usr/bin/mail) Package object will reside on the target system. The path field is used to define where the If you do not use classes, an object belongs to the noneĬlass, and when you execute the pkgmk command to build your In detail in Writing Class Action Scripts. Using classes is an optional package design feature, and is discussed The class field names the class to which an objectīelongs. Volatile file (whose contents are expectedīy this package (may contain unregistered logs or database information) Or removal (may be shared by several packages) Table 2–3 Valid File Types in the prototype File
![the prototype the prototype](https://images.fastcompany.net/image/upload/w_1280,f_auto,q_auto,fl_lossy/fc/1280-power-of-revenge-activision-campaign-commercial_0.jpg)
The ftype, or file type, field is a one-characterįield that specifies a package object's type. Usually, only the ftype, class, path, mode, owner, and group fields are defined,Īnd are described in the following sections. The object belongs (for example, bin or sys). Number for block or character special devices.
![the prototype the prototype](https://m.media-amazon.com/images/S/aplus-media/vc/c5bc18e0-9155-41ad-823d-0c7f76600d04.__CR0,0,300,300_PT0_SX300_V1___.jpg)
Path name indicating where the package object will reside on the target system. See The ftype Field.Ĭlass to which the object belongs. The format for each line in the prototype fileįield that enables you to group package objects into parts.