1cnid_metad(8) Netatalk cnid_metad(8)
2
3
4
6 cnid_metad - start cnid_dbd daemons on request
7
9 cnid_metad [-d] [ -h hostname ] [ -p port ] [ -u user ] [ -g group ] [
10 -s cnid_dbdpathname ]
11
13 cnid_metad waits for requests from afpd to start up instances of the
14 cnid_dbd daemon. It keeps track of the status of a cnid_dbd instance
15 once started and will restart it if necessary. cnid_metad is normally
16 started at boot time from /etc/rc or equivalent and runs until shut‐
17 down. afpd needs to be configured with the -cnidserver option in
18 afpd.conf in order to access cnid_metad. It is possible to run more
19 than one instance of cnid_metad on the same machine if different values
20 for the interface and/or port are specified with the -h and -p options.
21
23 -d cnid_metad will remain in the foreground and will also leave the
24 standard input, standard output and standard error file descrip‐
25 tors open. Useful for debugging.
26
27 -h hostname
28 Use hostname as the network interface for requests as opposed to
29 the default localhost .
30
31 -p port
32 Use port as the port number for reqests. Default is 4700.
33
34 -u user
35 Switch to the userid of user before serving requests. This
36 userid will be inherited by all cnid_dbd daemon processes
37 started.
38
39 -u group
40 Switch to the groupid of group before serving requests. This
41 groupid will be inherited by all cnid_dbd daemon processes
42 started. Both user and group must be specified as strings.
43
44 -s cnid_dbd pathname
45 Use cnid_dbd pathname as the pathname of the executeable of the
46 cnid_dbd daemon. The default is /usr/sbin/cnid_dbd.
47
49 The number of cnid_dbd subprocecesses is currently limited to 128. This
50 restriction will be lifted in the future.
51
52 cnid_metad does not block or catch any signals apart from SIGPIPE. It
53 will therefore exit on most signals received. This will also cause all
54 instances of cnid_dbd's started by that cnid_metad to exit gracefully.
55 Since state about and IPC access to the subprocesses is only maintained
56 in memory by cnid_metad this is desired behaviour. As soon as
57 cnid_metad is restarted afpd processes will transparently reconnect.
58
60 cnid_dbd(8), afpd(8)
61
62
63
64
652.0.3 28 Nov 2003 cnid_metad(8)