Node:sfscd, Next:, Previous:ssu, Up:Command reference



sfscd command


sfscd [-d] [-l] [-L] [-f config-file]

sfscd is the program to create and serve the /sfs directory on a client machine. Ordinarily, you should not need to configure sfscd or give it any command-line options.

-d
Stay in the foreground and print messages to standard error rather than redirecting them to the system log.
-l
Ordinarily, sfscd will disallow access to a server running on the same host. If the Location in a self-certifying pathname resolves to an IP address of the local machine, any accesses to that pathname will fail with the error EDEADLK ("Resource deadlock avoided").

The reason for this behavior is that SFS is implemented using NFS. Many operating systems can deadlock when there is a cycle in the mount graph--in other words when two machines NFS mount each other, or, more importantly when a machine NFS mounts itself. To allow a machine to mount itself, you can run sfscd with the -l flag. This may in fact work fine and not cause deadlock on non-BSD systems.

-L
On Linux, the -L option disables a number of kludges that work around bugs in the kernel. -L is useful for people interested in improving Linux's NFS support.
-f config-file
Specify an alternate sfscd configuration file, sfscd_config. The default, if -f is unspecified, is first to look for /etc/sfs/sfscd_config, then /usr/local/etc/sfs/sfscd_config.