#!/sbin/sh
#
# Wrapper round newfs to change the default parameters for the
# standard filesystems.
#
#
MINFREE=5
CGSIZE=32
BPI=8192

# Should check usage.
/usr/lib/fs/ufs/newfs.bin -i $BPI -m $MINFREE -o space -c $CGSIZE "$@"
status=$?
# Get last argument in $1
shift `shift; echo $#`
# Newfs won't allow you to specify -o time, so we'll use tunefs.
# Prevents NOTICE: blah during installation
tunefs -o time $1
exit $status
