xfs
[Top] [All Lists]

xfstests: [PATCH 0/2] ignore duplicates reported by repquota

To: <xfs@xxxxxxxxxxx>
Subject: xfstests: [PATCH 0/2] ignore duplicates reported by repquota
From: "Alex Elder" <aelder@xxxxxxx>
Date: Fri, 8 Jan 2010 12:14:37 -0600
Thread-index: AcqQjnHs9Z3G/vQ+SOaiVt4AsJ2RVw==
Thread-topic: xfstests: [PATCH 0/2] ignore duplicates reported by repquota
It is possible for the same numeric user id to be assigned to
more than one user account.  The repquota command, as well as the
xfs_quota "repquota" command (if not given an upper bound user id
to scan for) will scan the entire password file using getpwent()
in order to report quota information for all users.  As a result,
any numeric id that is used more than once will also be reported
more than once by "repquota".  Multiply-used group and project
id's would have the same behavior.

The effect of this is that in some of the quota-related tests, output
mismatches will be reported in the event an id used in testing is
associated with multiple users/groups/projects.

To get around this, arrange to ignore duplicate entries reported by
requota and the "repquota" xfs_quota command.

<Prev in Thread] Current Thread [Next in Thread>
  • xfstests: [PATCH 0/2] ignore duplicates reported by repquota, Alex Elder <=