move mount stuff into common quota file, tidy a little, make a default.

This commit is contained in:
Nathan Scott
2001-03-20 07:17:52 +00:00
parent 5b558b0d5b
commit 3c6d3d8865
6 changed files with 171 additions and 19 deletions
+7
View File
@@ -87,6 +87,13 @@ _filter_repquota()
perl -ne 's/^(\w+)\s+([-|+])/[NAME] \2/g; print'
}
_qmount()
{
umount $SCRATCH_DEV >/dev/null 2>&1
mount -t xfs $SCRATCH_DEV $SCRATCH_MNT || _fail "qmount failed"
chmod ugo+rwx $SCRATCH_MNT
misc/quot $SCRATCH_DEV >>$seq.full 2>&1
}
# make sure this script returns success
/bin/true