[EMAIL PROTECTED] (Jim Barlow)  writes:
> > Where can I find information on setting up an AFS/NFS translator?
> > I have searched all through the WWW and can't seem to find any.
> > Any info would be greatly appreciated.
> 

>  In fact I don't know if you can even get the
> software from them anymore?? 

All it takes on aix is a different set of kernel extensions and some slight 
modifications to your rc.afs to check for afs being nfs exported by the 
machine and then loading the appropriate extensions.  Afs should also be 
started before nfs on the machine.  Hopefully it's as simple on other 
architectures.


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<relevant part of /etc/rc.afs>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
# Check /etc/exports to see if AFS/NFS translator is desired
if [[ -f /etc/exports ]]
then
        grep -w '/afs' /etc/exports >/dev/null 2>&1
        [[ $? -eq 0 ]] &&
            [[ -f /usr/vice/etc/dkload/afs.ext.trans ]] &&
            AFSEXT=/usr/vice/etc/dkload/afs.ext.trans &&
            AFSD_FLAGS="-rmtsys ${AFSD_FLAGS}"
fi

# Check to see if DCE may be running.  Use -nosettime if needed
if [[ -f /etc/dce/mkdce.data ]]
then
        AFSD_FLAGS="-nosettime ${AFSD_FLAGS}"
fi

# Check for user defined flags for afsd
if [[ -f /usr/vice/etc/afsd.flags ]]
then
        AFSD_FLAGS="${AFSD_FLAGS} $(/bin/cat /usr/vice/etc/afsd.flags)"
fi

# think about starting some daemons...
ps -e | fgrep afsd > /dev/null
if [ $? = 1 ]; then
        echo '\rLoading AFS...\r'>/dev/console
        /usr/vice/etc/dkload/cfgexport -a /usr/vice/etc/dkload/export.ext > 
/tmp
/DKLoadLog
        /usr/vice/etc/dkload/cfgafs  -a ${AFSEXT} >>/tmp/DKLoadLog
        /usr/vice/etc/afsd ${AFSD_FLAGS} >/dev/console 2>&1
else
        echo "afsd is already running."
fi
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<relevant part of /etc/rc.afs>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>

David
----------------------------------------------------------------
David Littlewood                             Tie Line  793-8832
email:              [EMAIL PROTECTED]    Phone 512-823-8832


Reply via email to