mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
aix vfs table entry in rc script
add an entry to the aix vfs table so umount works Change-Id: I29a27ca350b948da0283ae09df0acd30eb6384c4 Reviewed-on: http://gerrit.openafs.org/1611 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
32ebc44f42
commit
38fd725920
@ -97,6 +97,19 @@ for dir in `awk -F: '{print $1, $2}' /usr/vice/etc/cacheinfo`; do
|
||||
fi
|
||||
done
|
||||
|
||||
#
|
||||
# Make sure afs exists in /etc/name_to_sysnum
|
||||
#
|
||||
if grep -s "afs" /etc/vfs > /dev/null; then
|
||||
echo "Entry for afs already exists in /etc/vfs"
|
||||
else
|
||||
echo "Creating entry for afs in /etc/vfs"
|
||||
cp /etc/vfs /etc/vfs.orig
|
||||
sed '/cdrfs/i\
|
||||
afs 4 none none remote' /etc/vfs > /tmp/vfs
|
||||
mv /tmp/vfs /etc/vfs
|
||||
fi
|
||||
|
||||
|
||||
# Start afsd
|
||||
/usr/vice/etc/afsd $OPTIONS $RMTSYS
|
||||
|
Loading…
Reference in New Issue
Block a user