From patchwork Thu Dec 3 20:46:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Sandeen X-Patchwork-Id: 11949577 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0350C433FE for ; Thu, 3 Dec 2020 20:47:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 40FC2221EA for ; Thu, 3 Dec 2020 20:47:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727289AbgLCUrj (ORCPT ); Thu, 3 Dec 2020 15:47:39 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27338 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726761AbgLCUrj (ORCPT ); Thu, 3 Dec 2020 15:47:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1607028373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RfYJsYDIiA6G7PWui7E2OSksUWEwDiIzFy4M1+XEM4M=; b=Tef9+qvOuwJpG/KBI4t0Q+fPo3ovUlekXUQ5kAAJ3nH/DoDoH+IiFVjzTgJwXrtRpjy4Od 2yFBQHq2+/lohwUsKbUmN3WSomPYgREHB0AIkuFa88mhLjpTaN0x7rjM4a3JC9l1w5PYFP 4nS0WOhuZQEIjYSGNsN+qpS0DRaRhbk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-325-YYEdJv-IMOWaG7Yw9wAtZg-1; Thu, 03 Dec 2020 15:46:11 -0500 X-MC-Unique: YYEdJv-IMOWaG7Yw9wAtZg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A9BB4800D62 for ; Thu, 3 Dec 2020 20:46:10 +0000 (UTC) Received: from liberator.sandeen.net (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E40B60BFA for ; Thu, 3 Dec 2020 20:46:10 +0000 (UTC) Subject: [PATCH 1/3 V3] xfs_quota: document how the default quota is stored From: Eric Sandeen To: xfs References: <44dcd8f3-0585-e463-499f-44256d8bad8d@redhat.com> <2e9b1d0f-7ad8-b42a-ac2b-b1fdd9a9fb45@redhat.com> Message-ID: Date: Thu, 3 Dec 2020 14:46:10 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <2e9b1d0f-7ad8-b42a-ac2b-b1fdd9a9fb45@redhat.com> Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org Nowhere in the man page is the default quota described; what it does or where it is stored. Add some brief information about this. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong --- V3: stop trying, and just use Darrick's nice words. diff --git a/man/man8/xfs_quota.8 b/man/man8/xfs_quota.8 index dd0479cd..2a911969 100644 --- a/man/man8/xfs_quota.8 +++ b/man/man8/xfs_quota.8 @@ -178,6 +178,12 @@ to a file on where the user's quota has not been exceeded. Then after rectifying the quota situation, the file can be moved back to the filesystem it belongs on. +.SS Default Quotas +The XFS quota subsystem allows a default quota to be enforced +for any user, group or project which does not have a quota limit +explicitly set. +These limits are stored in and displayed as ID 0's limits, although they +do not actually limit ID 0. .SH USER COMMANDS .TP .B print