Re: Programmatically query default XFS Quota ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 04, 2016 at 10:48:32PM +0000, Rynhart, Patrick wrote:
> Hi,
> 
> I can set a default quota on a file system as follows:
> 
> xfs_quota -x -c 'limit bsoft=100m bhard=100m -d' /home
> 
> But I'm not sure how to query this - can anyone advise ?

Default quotas are recorded in the limits of ID 0. UID 0/GID 0 are
not actually limited (though we do account their usage) so we store
the default limits for everyone there. IIRC, you should be able to
view the default user quota limits via the "quota -uv 0" command.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux