diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2003-12-08 16:30:25 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2003-12-08 16:30:25 +0000 |
commit | 51cc06441c6b6382e1799ffa4ff7d62c1d579d06 (patch) | |
tree | d248d393e97537fb51351c9a31197e9df1728adf /net-fs/openafs | |
parent | QA drive, fixing bug 35127 (diff) | |
download | historical-51cc06441c6b6382e1799ffa4ff7d62c1d579d06.tar.gz historical-51cc06441c6b6382e1799ffa4ff7d62c1d579d06.tar.bz2 historical-51cc06441c6b6382e1799ffa4ff7d62c1d579d06.zip |
*** empty log message ***
Diffstat (limited to 'net-fs/openafs')
-rw-r--r-- | net-fs/openafs/files/afs.rc.rc6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-fs/openafs/files/afs.rc.rc6 b/net-fs/openafs/files/afs.rc.rc6 index 02cac813b2d8..a3c7a4d3cf35 100644 --- a/net-fs/openafs/files/afs.rc.rc6 +++ b/net-fs/openafs/files/afs.rc.rc6 @@ -50,7 +50,7 @@ check_ext2() { check_cacheinfo(){ [ ! -f /usr/vice/etc/cacheinfo ] && { PART=`cat /proc/mounts | grep vice | grep ext2 | awk '{print $1}'` - CACHESIZE=`df $PART | tail -1 | awk '{print $(NF-2)}'` + CACHESIZE=`df $PART | grep ^/ | awk '{print $4}'` CACHESIZE=`expr $CACHESIZE \* 9` CACHESIZE=`expr $CACHESIZE / 10` echo "/afs:/usr/vice/cache:$CACHESIZE" > /usr/vice/etc/cacheinfo |