MIPSINSTALL(1M-SysV)RISC/os Reference Manual MIPSINSTALL(1M-SysV)
NAME
mipsinstall - install system files
SYNOPSIS
mipsinstall [ -l link ] [ -L link ] [ -c ] [ -m mode ] [ -o
owner ] [ -g group ] [ -s ] [ -f ] file destination
DESCRIPTION
The named file is moved (or copied if -c is specified) to
destination. If the destination is a directory then file is
moved into the destination directory with its original
file-name.
Unless the -f option is given, the destination is taken to
be a directory, and is created if it doesn't exist.
If the destination file already exists, it is removed. If
it can not be removed, it is renamed. The new name is the
old name prefixed with a pound character (#) and suffixed
with .yymmddhhmmss, where yy is the year, mm is the month,
and so forth. The prefix is used to mark the files for
automatic cleanup, and the suffix is used to avoid clashes
in case of multiple installations.
The mode for destination is set to 755; the -m mode option
may be used to specify a different mode.
destination is changed to owner root; the -o owner option
may be used to specify a different owner.
destination is changed to group staff; the -g group option
may be used to specify a different group.
If the -s option is specified the file is stripped after
being installed.
If the -l option is specified, the "filename" is created as
a symbolic link to the installed file. Multiple -l options
are allowed.
If the -L option is specified, the "filename" is created as
a hard link to the installed file. Multiple -L options are
allowed. Hard links may not be made across filesystems.
mipsinstall refuses to move a file onto itself.
SEE ALSO
chgrp(1), chmod(1), chown(1), cp(1), ln(1), mv(1) in the
User's Reference Manual.
Printed 1/15/91 Page 1