System Files

This files_system_objects.cfg example specifies system file lists referenced by various PIKT scripts (including for example FilesSystemPermissionsOwnersChanges, SystemFileNotExistEmergency, SystemFileSizeChangeUrgent, and others).  Note how the #include directives incorporate several different file lists, for example files_system_redhat_linux_objects.cfg, files_system_suse_linux_objects.cfg, or files_system_solaris_objects.cfg (and possibly still other file lists for other operating systems), together with system files local to the site (for files not included in a standard OS install).

///////////////////////////////////////////////////////////////////////////////
// 
// files_system_objects.cfg
// 
///////////////////////////////////////////////////////////////////////////////

FilesSystem

#include <objects/files_system_redhat_linux_objects.cfg>
#include <objects/files_system_suse_linux_objects.cfg>
#include <objects/files_system_solaris_objects.cfg>
[... and so on for other operating systems ...]
#include <objects/files_system_local_objects.cfg>

///////////////////////////////////////////////////////////////////////////////

On the piktmaster system, we would install the FilesSystem.obj file to each PIKT slave system with the command:

# piktc -iv +O FilesSystem +H all        [or: ... -H down]

For more examples, see Samples.

Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
near full disks
Pikt script