summaryrefslogtreecommitdiff
path: root/static/unix-v10/man5/shares.5
blob: 569bc8dfbce14b80c6996a3f2ba2952088f14633 (plain)
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
.TH SHARES 5 SHARE
.SH NAME
/etc/shares \- shares data-base file for share system
.SH DESCRIPTION
.I /etc/shares
is an direct access data-base indexed on
.I uid
containing the uid, scheduling group and allocated shares
for each user on the system.
It also contains other scheduling data as defined in the files
.I <shares.h>
and
.IR <sys/lnode.h> .
.P
Operations on the shares file are made via the shares routines
described in section 3.
.P
Data from the shares file are installed in kernel
.I lnode
structures for active users by
.IR login (8).
When users become inactive,
the lnode structures are removed from the kernel
and updated in the shares file by
.IR sharer (8).
.P
The number of shares and the scheduling group of a user may be changed by using
.IR passwd (1),
with the -a or -n flags,
or by
.IR lim (1).
Data in the shares file may be examined with either
.IR pl (1)
or
.IR pwintf (1).
.SH FILES
.PD 0
.TP "\w'/usr/include/sys/lnode.hXX'u"
/etc/shares
User data base.
.TP
/usr/include/shares.h
Format of an /etc/shares record.
.TP
/usr/include/sys/lnode.h
Format of an
.I lnode
structure in an /etc/shares record.
.PD
.SH "SEE ALSO"
lim(1),
pl(1),
pwintf(1),
closeshares(3),
getshares(3),
getshput(3),
openshares(3),
putshares(3),
setupshares(3),
sharesfile(3),
lnode(5),
share(5),
login(8),
sharer(8).