Coda File System

6.5. Configuration changes made by venus-setup

This section describes the changes that must be made to various configuration files.

/etc/coda/venus.conf. The Coda client configuration file venus.conf in /etc/coda is copied from /etc/coda/venus.conf.ex if it doesn't yet exist. All configurable options in this file are extensively documented by comments in the file itself.

/etc/rc.*. To automatically start venus at boot time, the script rc.venus is provided in /usr/local/etc for FreeBSD systems and /usr/pkg/etc for NetBSD. venus.init is provided for RedHat Linux in /etc/rc.d/init.d .

RedHat Linux users should create the following symbolic link if it doesn't already exist:


ln -sf /etc/rc.d/init.d/venus.init /etc/rc.d/rc3.d/S97venus.init

This will allow init to process the file and start venus at boot time.

FreeBSD. FreeBSD system users should create /usr/local/etc/rc.d/ (with rwxr-xr-x permitions), containing:

echo   -n   "   venus"
/usr/local/sbin/venus   &

NetBSD. NetBSD system users should create /usr/pkg/etc/rc.d/ (with rwxr-xr-x permitions), containing:

echo   -n   "   venus"
/usr/pkg/sbin/venus   &

/etc/services. The following port numbers are added to /etc/services by venus-setup :

coda_opcons           1355/udp                                                 #   Coda   opcons
coda_auth               1357/udp                                                 #   Coda   auth
coda_udpsrv           1359/udp                                                 #   Coda   udpsrv
coda_filesrv         1361/udp                                                 #   Coda   filesrv
coda_venus             1363/udp                                                 #   Coda   venus
coda_backup           1407/tcp                                                 #   coda   backup   service
codacon                   1423/tcp                 venus.cmu               #   Coda   Console
coda_aux1               1431/tcp                                                 #   coda   auxiliary   service
coda_aux1               1431/udp                                                 #   coda   auxiliary   service
coda_aux2               1433/tcp                                                 #   coda   auxiliary   service
coda_aux2               1433/udp                                                 #   coda   auxiliary   service
coda_aux3               1435/tcp                                                 #   coda   auxiliary   service
coda_aux3               1435/udp                                                 #   coda   auxiliary   service

/dev/cfs0. The following major and minor numbers are used for the various platforms:

  • Character-special with Major 67 and minor 0 for Linux

    mknod /dev/cfs0 c 67 0
  • Character-special with Major 93 and minor 0 for FreeBSD

    mknod /dev/cfs0 c 93 0
  • Character-special with Major 46 and minor 0 for NetBSD 1.2

    mknod /dev/cfs0 c 46 0
  • Character-special with Major 51 and minor 0 for NetBSD 1.3

    mknod /dev/cfs0 c 51 0
Please be sure to check the INSTALL. platform to make sure these numbers have not changed. For Linux and FreeBSD, the above numbers are officially registered. Coda on NetBSD at present does not have formally registered major device numbers so these are subject to change from release to release.

Where Data and Configuration Information is Stored.

  • /usr/coda/etc Coda configuration files critical for venus startup.

  • /usr/coda/venus.cache Cached copies of Coda files.

  • /usr/coda/spool Saved CMLs from automatic or manual checkpointing and aborted reintegration.

  • /usr/coda/tmp Temporary hoard related files.

  • /etc/services Various port numbers used by Coda for client and server communication.