12.1.1 The aliases(5) File??™s Location
The location of aliases(5) is specified withth e ServiceSwitchFile option (?§24.9.108
on page 1088) and the AliasFile option (?§24.9.1 on page 970) in the configuration
file. Be aware that because these two options interact, it might not suffice to simply
declare one or the other. Also be aware that some systems (such as Solaris) supply
service-switch files that will override the ServiceSwitchFile option??™s setting.
Note that the service-switch file merely specifies the order in which various methods
should be used to look up aliases, not the specific files. If it lists files as a method:
aliases files
all the files declared with the AliasFile option will be looked up in the order in
which they were declared:
??? If th eAliasFile option specifies a file and if a service-switchfile omits the files
specification, the AliasFile option is ignored.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
462 | Chapter 12: Maintain Aliases
??? If th eAliasFile option specifies a file and if a service-switchfile omits the
aliases line, the AliasFile option is used.
??? If th eAliasFile option specifies a file and if there is no service-switch file, the
AliasFile option file is used, except on systems that implement their own service-
switch files.
Pages:
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830