1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Purely cosmetic cleanup.

This commit is contained in:
Jordan K. Hubbard 1996-11-09 09:24:30 +00:00
parent 190cca38e9
commit 891ccbd5b7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=19560
2 changed files with 0 additions and 64 deletions

View File

@ -62,38 +62,6 @@ do
echo ">>> Filesystem is ${FSSIZE} K, $4 left"
echo ">>> ${FSINODE} bytes/inode, $7 left"
echo ">>> `expr ${FSSIZE} \* 1024 / ${FSINODE}`"
# As far as I can tell, the following has only really caused me great
# difficulty..
#
# if [ $4 -gt 128 ] ; then
# echo "Reducing size"
# FSSIZE=`expr ${FSSIZE} - $4 / 2`
# continue
# fi
# if [ $7 -gt 128 ] ; then
# echo "Increasing bytes per inode"
# FSINODE=`expr ${FSINODE} + 8192`
# continue
# fi
# if [ $4 -gt 32 ] ; then
# echo "Reducing size"
# FSSIZE=`expr ${FSSIZE} - 4`
# FSINODE=`expr ${FSINODE} - 1024`
# continue
# fi
# if [ $7 -gt 64 ] ; then
# echo "Increasing bytes per inode"
# FSINODE=`expr ${FSINODE} + 8192`
# continue
# fi
# if [ $deadlock -eq 0 ] ; then
# echo "Avoiding deadlock, giving up"
# echo ${FSSIZE} > fs-image.size
# break
# fi
# deadlock=`expr $deadlock - 1`
echo ${FSSIZE} > fs-image.size
break;
done

View File

@ -62,38 +62,6 @@ do
echo ">>> Filesystem is ${FSSIZE} K, $4 left"
echo ">>> ${FSINODE} bytes/inode, $7 left"
echo ">>> `expr ${FSSIZE} \* 1024 / ${FSINODE}`"
# As far as I can tell, the following has only really caused me great
# difficulty..
#
# if [ $4 -gt 128 ] ; then
# echo "Reducing size"
# FSSIZE=`expr ${FSSIZE} - $4 / 2`
# continue
# fi
# if [ $7 -gt 128 ] ; then
# echo "Increasing bytes per inode"
# FSINODE=`expr ${FSINODE} + 8192`
# continue
# fi
# if [ $4 -gt 32 ] ; then
# echo "Reducing size"
# FSSIZE=`expr ${FSSIZE} - 4`
# FSINODE=`expr ${FSINODE} - 1024`
# continue
# fi
# if [ $7 -gt 64 ] ; then
# echo "Increasing bytes per inode"
# FSINODE=`expr ${FSINODE} + 8192`
# continue
# fi
# if [ $deadlock -eq 0 ] ; then
# echo "Avoiding deadlock, giving up"
# echo ${FSSIZE} > fs-image.size
# break
# fi
# deadlock=`expr $deadlock - 1`
echo ${FSSIZE} > fs-image.size
break;
done