public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Donald Douwsma <donaldd@sgi.com>
To: Rene Salmon <rsalmon@tulane.edu>
Cc: xfs@oss.sgi.com
Subject: Re: get xfs_quota info as regular user
Date: Wed, 29 Nov 2006 10:55:35 +1100	[thread overview]
Message-ID: <456CCC77.7000001@sgi.com> (raw)
In-Reply-To: <C191AFC3.1D43%rsalmon@tulane.edu>

Rene Salmon wrote:
> Hi,
> 
> 
> Did some searches on the list archives but could not find any useful info on
> this.
> 
> Is there a way for a regular user to get info about his or her quota usage?
> 
> I tried both of these as a regular user and get nothing:
> 
> 120> xfs_quota -c "quota userid"
> 121> xfs_quota -x -c "quota userid"

By default the quota command does not display anything unless the user is overquota.
To display the limits set for a user you need to specify the -v option.

xfs_quota -c 'quota -v'

Note there is currently a bug in xfs-cmds that causes xfs_quota to display results multiple times
(once for each xfs filesystem). One work around for this is to specify the specific filesystem on
the commandline.

xfs_quota -c 'quota -v' /home

Donald

  reply	other threads:[~2006-12-22  9:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-28 15:20 get xfs_quota info as regular user Rene Salmon
2006-11-28 23:55 ` Donald Douwsma [this message]
2006-11-29 14:03   ` Rene Salmon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456CCC77.7000001@sgi.com \
    --to=donaldd@sgi.com \
    --cc=rsalmon@tulane.edu \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox