When you run commdirmig for the first time, it saves the following options in a configuration file named commdirmig-userprefs.properties:
-X DirectoryServerHost-p DirectoryServerPort-b OSIRoot-r DCRoot-m LogMaxSize
When you run commdirmig again, it uses the option values stored in the configuration file.
The commdirmig-userprefs.properties file is created in the following directory:
/opt/SUNWcomm/lib
The command-line version of an option overrides the InputFile version of the same option; the InputFile version overrides the configuration-file version.
That is, for a given option, commdirmig uses the value entered in the command line and ignores any other value for that option stored in the InputFile or configuration file.
If an option is not in the command line and the -i InputFile option is entered, commdirmig uses the value stored in the InputFile (if it is present), ignoring the configuration file.