From 2619dd60362a802411c049f4bc1742d6f86d9d87 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Fri, 8 Apr 2005 03:51:40 +0000 Subject: [PATCH] Drop 113 from auto group until AIO issue resolved, add missed quota test update. Merge of master-melb:xfs-cmds:22100a by kenmcd. --- common.config | 1 + common.quota | 27 +++++++++++++++++++++++++++ group | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/common.config b/common.config index 192a8b32..6f9d08fb 100644 --- a/common.config +++ b/common.config @@ -187,6 +187,7 @@ known_hosts() EMAIL="nathans@larry" SCRATCH_MNT=/mnt/xfs0 SCRATCH_DEV=/dev/sdb5 + #SCRATCH_RTDEV=/dev/sdc1 #SCRATCH_RTDEV=/dev/md0 SCRATCH_LOGDEV=/dev/sda11 TEST_DIR=/mnt/xfs1 diff --git a/common.quota b/common.quota index 7f9a2a2b..4f82546a 100644 --- a/common.quota +++ b/common.quota @@ -125,6 +125,33 @@ _qmount() [ -x /usr/sbin/quot ] && quot $SCRATCH_MNT >>$seq.full 2>&1 } +_qsetup() +{ + # setup exactly what it is we'll be testing + enforce=1 + if src/feature -u $SCRATCH_DEV + then + type=u ; eval `_choose_uid`; ln -s $seq.usrquota $seq.out + elif src/feature -g $SCRATCH_DEV + then + type=g ; eval `_choose_gid`; ln -s $seq.grpquota $seq.out + elif src/feature -U $SCRATCH_DEV + then + type=u ; eval `_choose_uid`; ln -s $seq.uqnoenforce $seq.out + enforce=0 + elif src/feature -G $SCRATCH_DEV + then + type=g ; eval `_choose_gid`; ln -s $seq.gqnoenforce $seq.out + enforce=0 + else + _notrun "No quota support at mount time" + fi + + echo "Using output from '" `ls -l $seq.out` "'" >>$seq.full + echo "and using type=$type id=$id" >>$seq.full +} + + #----------------------------------------------------------------------------------- # # wrappers for Linux/IRIX differences diff --git a/group b/group index 959f2d32..4f846bf7 100644 --- a/group +++ b/group @@ -183,4 +183,4 @@ aio nathans@sgi.com 104 growfs ioctl 105 acl auto 112 rw aio auto -113 rw aio auto +113 rw aio -- 2.30.2