Next Previous Contents

19. VIRTDB

( VIRTDB will die. Replaced by the virtual registry)

#Specification: VIRTDB / strategy ([virtdb.cc,7])

Linuxconf has a command line interface allowing one to easily manage different configuration file using a uniform command line interface. Linuxconf is virtualising access to several different config file using the VIRTDB objects. Each configuration file must register a static object derived from VIRTDB. This object must provide a name (normally the name of the configuration file. This object must also redefined the docmd function. The VIRTDB dispatcher do a small parsing of the command and then call the docmd of the proper object. This object read the configuration file and update the proper elements in it and then save the file. This should kill for good all those install scripts which try to sed/awk/perl there way in the different config files.


Next Previous Contents