/etc/sfs/sfscd_config
sfscd_config5
Meta-client configuration
Overview
The sfscd_config is really part of the SFS protocol specification. If you change it, you will no longer be executing the SFS protocol. Nonetheless, you need to do this to innovate, and SFS was designed to make implementing new kinds of file systems easy.
sfscd_config takes the following directives:
- Extension string
-
Specifies that
sfscdshould send string to all servers to advertise that it runs an extension of the protocol. Most servers will ignore string, but those that support the extension can pass off the connection to a new ``extended'' server daemon. You can specify multipleExtensiondirectives.
- Protocol name daemon [arg ...]
-
Specifies that pathnames of the form /sfs/name:anything should be handled by the client daemon daemon. name may not contain any non-alphanumeric characters. The
Protocoldirective is useful for implementing file systems that are not mounted on self-certifying file systems.
- Release {* | sfs-version}
-
Begins a section of the file that applies to servers running SFS release sfs-version or older. * signifies arbitrarily large SFS release numbers. The
Releasedirective does not do anything on its own, but applies to all subsequentProgramdirectives until the nextReleasedirective.
- Libdir path
-
Specifies where SFS should look for daemon programs when their pathnames do not begin with /. The default is /usr/local/lib/sfs-0.8pre. The
Libdirdirective does not do anything on its own, but applies to all subsequentProgramdirectives until the nextLibdirorReleasedirective.
- Program prog.vers daemon [arg ...]
-
Specifies that connections to servers running Sun RPC program number prog and version vers should be handed off to the the local daemon daemon. SFS currently defines two RPC program numbers. Ordinary read-write servers use program number 344444, version 3 (a protocol very similar to NFS3), while read-only servers use program 344446, version 2. The
Programdirective must be preceded by aReleasedirective.
The default sfscd_config file is:
Release *Program 344444.3 sfsrwcdProgram 344446.2 sfsrocd
To run a different set of daemons when talking to sfs-0.3 or older servers, you could add the following lines:
Release 0.3Libdir /usr/local/lib/sfs-0.3Program 344444.3 sfsrwcd
Files
-
/usr/local/share/sfs/sfscd_config -
meta-client configuration
(Files in /etc/sfs supersede default versions in /usr/local/share/sfs.)
Releases
2 releases since Debian 3.1 (Sarge); the text changed 1 time.