1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
.TH INS 8
.SH NAME
ins \- install software
.SH USAGE
.B ins
[
.I option ...
]
[
[
.I source
]
.I target
]
.SH DESCRIPTION
.I Ins
queues a request to `install' the named
.I target
file \- in the simplest case, by copying from
.I source
to
.BR target " \-
and then attempts to execute all pending requests
for the target,
until thwarted by lack of privilege.
By default, each target has a separate queue, but if several files are
to be updated together their requests can
also be placed in another separate queue.
If modification requests for a given target file appear in several
different queues, those requests will be executed in correct time
order.
A request will be served only when it is at the front of all the queues
it is in.
.PP
If no target is named,
.I ins
attempts to serve all pending requests.
The options are
.TP
.B -x
Verify consistency of currently queued-up requests
with historical record in
.F /usr/spool/ins/log.
.TP
.B -v
Print a verbose commentary
(by copying logging data to standard output).
.TP
.B -n
Print, but do not execute, the modification requests.
.TP
.BI -j " jobnumber" "...
Delete a queued-up request.
Possible values for
.I jobnumber
are revealed by using the
.B -n
flag, where they are listed in the style
.BI /usr/spool/ins/job jobnumber.
.TP
.BI -q " queuename
Put the request in special named queue, in addition to the
queue for
.I target.
.TP
.B -r
Remove target.
.TP
.BI -o " owner
Set uid of target.
.TP
.BI -g " group
Set gid of target.
.TP
.BI -m " mode
Set file mode of target, as in
.IR chmod (1).
.TP
.BI -l " label
Set file label of target, as in
.IR setlab (1).
.TP
.BI -p " cap lic
Set file privileges, as in
.IR setpriv (8).
.PP
.I Ins
records
.IR xs (8)-style
checksums of both modified software and of its own queues,
keeps a verbose log file, etc, etc.
.SH FILES
.F /usr/spool/ins/log
.br
.F /usr/spool/ins/lock
.br
.F /usr/spool/ins/pending
.br
.F /usr/spool/ins/job*
.br
.F /usr/spool/ins/dat*
.SH BUGS
Not written yet.
|