DFSD(8N) COMMAND REFERENCE DFSD(8N)
NAME
dfsd - Distributed File System Daemon
SYNOPSIS
/etc/dfsd [ -r ][ -p port number ]
DESCRIPTION
Dfsd is the daemon for the Distributed File System. It
receives system call commands (like open, close, read,
write, etc.) from the operating system on a remote host, and
executes them on the local system. When dfsd receives a
request it spawns a child process to handle it. The child
checks the access permission database (see access(5n) for
the format of that file) and if the access is permitted,
sets up the umask as set on the requesting host, the
groupids as permitted for the remote user on the local host
(in /etc/group) and the effective and real userids as
received from the remote host. The child then executes the
appropriate system call and returns the result to the
requesting kernel (which in turn passes the response to the
requesting process). The only exception to this approach is
for the execve(2) system call. In that case the daemon
copies the file to be exec'd back to the requesting host.
The file is then executed on the requesting host.
Access permission is based on userid, not username, so the
userid on the remote system must match the userid of the
username in /usr/lib/dfs/access.
The daemon is started automatically whenever the workstation
is rebooted. Initially the workstation owner will be
prompted by netconfig(8n) to enable or disable the
Distributed File System. If the response is affirmative,
dfsd will be started by the rc.net file whenever the system
is rebooted. Netconfig records if it should start up dfsd
in the file /etc/network.conf.
Dfsd (as well as other network daemons) logs its errors in
/usr/adm/syslog.
OPTIONS
-r Reuse address the dfs address. Normally, the daemon
will not run if any dfs ports are open (to keep from
running two daemon's at once). But if the daemon needs
to be restarted, and some outstanding connections are
still open, the -r flag can be used to overide this
check.
-pport
Normally dfsd listens on the port defined in
/etc/services. This default may be overwritten by
specifying an alternate port number. However, to
Printed 10/17/86 1
DFSD(8N) COMMAND REFERENCE DFSD(8N)
change the port number used by the kernel to establish
remote connections, the kernel must be patched.
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_ERR] A system error occurred. Execution
terminated. See intro(2) for more
information on system errors.
SEE ALSO
access(5n), syslog(8).
Printed 10/17/86 2
%%index%%
na:72,73;
sy:145,196;
de:341,2171;
op:2512,645;3301,122;
rv:3423,511;
se:3934,143;
%%index%%000000000116