Etc update dispatch conf
After making your final changes you can use the backup udev. Reading changes in all grey text can be a bit annoying. Configuration is simple - change the diff line in the config file to:.
Install colordiff with:. You can also use vimdiff for gvimdiff use -f option moreover to merge changes. Some useful commands related to merge with vimdiff :. This simple tool allows using just a few keys to toggle between options. Primarily, this is done through the a or b keys. The AMD64 Handbook and the man page contain further information on usage:. Warning When configured to use RCS, read and execute permissions of archived files may be inherited from a file's first check-in.
If the current configuration file has to be interactively updated, enter 3. There is no point in further elaborating the interactive merging here. For completeness sake, we will list the possible commands that can be used while interactively merging the two files. Users are greeted with two lines the original one, and the proposed new one and a prompt at which the user can enter one of the following commands:.
After having finished updating the important configuration files, users can then automatically update all the other configuration files. With quickpkg users can create archives of the packages that are already merged on the system. These archives can be used as prebuilt packages. Running quickpkg is straightforward: just add the names of the packages to archive.
Other languages:. Important It should be noted that etc-update is an older and largely unmaintained utility. It is not as simple to use as dispatch-conf , nor as fully featured. It is imperative to note it does not backup old versions of configuration files. Once a file is updated, the old version is gone forever. When possible, it is strongly recommended to use dispatch-conf see the previous section instead of etc-update.
CODE Options presented by etc-update. CODE Updating a specific configuration file. CODE Commands available for the interactive merging. About the installation. Choosing the media. Configuring the network. Preparing the disks. This means that if someone makes a mistake when updating a config file, the administrator can revert the file to the previous version at any time.
When using dispatch-conf , users can ask to keep the configuration file as-is, use the new configuration file, edit the current one or merge the changes interactively. Then, execute dispatch-conf :.
When running dispatch-conf , each changed config file will be reviewed one at a time. Press u to update replace the current config file with the new one and continue to the next file. Press z to zap delete the new config file and continue to the next file. The n key will instruct dispatch-conf to skip to the next file.
This can be done to delay a merge until a future time. Once all config files have been taken care of, dispatch-conf will exit. At any time, q can be used to exit the application as well.
For more information, check out the dispatch-conf man page. It describes how to interactively merge current and new config files, edit new config files, examine differences between files, and more. Another tool to merge configuration files is etc-update. It is not as simple to use as dispatch-conf , nor as fully featured, but it does provide an interactive merging setup and can also auto-merge trivial changes.
0コメント