Excerpts from ext.misc.info-afs: 17-Jan-95 have the AFS extensions bee..
[EMAIL PROTECTED] (697*)
> is there an easy way to determine (from within a c program), wether the
> afs kernel extensions have been loaded on a machine or not. I do not
> care about the cache manager already running, but just wether dkload has
> been run and done its job, or not. (If this matters: we have a source
> license.)
It's machine specific I'm sure - here is what I use for AIX:
-- cut here --
#!/bin/ksh
#
# If AFS is already loaded, exit
#
crash << ! 2>&1| grep afs.ext > /dev/null
le
q
!
if [ $? -eq 0 ]; then
exit 0
fi
-- cut here --
Bob
--
Bob Oesterlin, IBM AS/400 Division Dept 54T, Rochester MN 55901
IBM IPNET: [EMAIL PROTECTED] Internet:[EMAIL PROTECTED]
Phone: (507)-253-4528 (tie) 553-4528 ICBMNet: 44N 92.5W