Update man page with OS.HOSTNAME.USER
This commit is contained in:
parent
df7ccbd602
commit
05aa2608fe
1 changed files with 7 additions and 5 deletions
12
yadm.1
12
yadm.1
|
@ -251,7 +251,7 @@ This feature is enabled by default.
|
|||
.SH ALTERNATES
|
||||
When managing a set of files across different systems, it can be useful to have
|
||||
an automated way of choosing an alternate version of a file for a different
|
||||
operation system or simply for a different host.
|
||||
operation system, host, or user.
|
||||
.B yadm
|
||||
implements a feature which will automatically create a symbolic link to
|
||||
the appropriate version of a file, as long as you follow a specific naming
|
||||
|
@ -260,7 +260,7 @@ convention.
|
|||
can detect files with names ending in:
|
||||
|
||||
.RS
|
||||
.BR ##OS.HOSTNAME " or " ##OS " or " ##
|
||||
.BR ## " or " ##OS " or " ##OS.HOSTNAME " or " ##OS.HOSTNAME.USER
|
||||
.RE
|
||||
|
||||
If there are any files managed by
|
||||
|
@ -301,12 +301,14 @@ If running on a Solaris server, the link use the default "##" version:
|
|||
|
||||
.IR $HOME/path/example.txt " -> " $HOME/path/example.txt##
|
||||
|
||||
If no "##" version exists and no files match the current OS or HOSTNAME, then no link will be created.
|
||||
If no "##" version exists and no files match the current OS/HOSTNAME/USER, then no link will be created.
|
||||
|
||||
OS is determined by running
|
||||
.BR uname\ -s ,
|
||||
and HOSTNAME by running
|
||||
.BR hostname\ -s .
|
||||
HOSTNAME by running
|
||||
.BR hostname\ -s ,
|
||||
and USER by running
|
||||
.BR id\ -u\ -n .
|
||||
.B yadm
|
||||
will automatically create these links by default. This can be disabled using the
|
||||
.I yadm.auto-alt
|
||||
|
|
Loading…
Reference in a new issue