[Top] [All Lists]

Re: [PATCH VER 7] xfsprogs: projid32bit handling

To: xfs@xxxxxxxxxxx
Subject: Re: [PATCH VER 7] xfsprogs: projid32bit handling
From: Arkadiusz Miskiewicz <arekm@xxxxxxxx>
Date: Mon, 4 Oct 2010 09:50:33 +0200
In-reply-to: <1286005222-16423-1-git-send-email-arekm@xxxxxxxx>
References: <1286005222-16423-1-git-send-email-arekm@xxxxxxxx>
User-agent: KMail/1.13.5 (Linux/2.6.36-rc6-00084-gc6ea21e; KDE/4.5.2; x86_64; ; )
On Saturday 02 of October 2010, you wrote:
> Add projid32bit handling to userspace. mkfs.xfs is able to enable this
> feature for new filesystems. xfs_db knows what projid_lo/hi are.

And a much better and simpler xfs_admin.sh patch.

diff --git a/db/xfs_admin.sh b/db/xfs_admin.sh
index a7a3fdb..d42446b 100755
--- a/db/xfs_admin.sh
+++ b/db/xfs_admin.sh
@@ -6,9 +6,9 @@
-USAGE="Usage: xfs_admin [-efjluV] [-c 0|1] [-L label] [-U uuid] device"
+USAGE="Usage: xfs_admin [-efjlpuV] [-c 0|1] [-L label] [-U uuid] device"
-while getopts "efjluc:L:U:V" c
+while getopts "efjlpuc:L:U:V" c
        case $c in
        c)      REPAIR_OPTS=$REPAIR_OPTS" -c lazycount="$OPTARG;;
@@ -17,6 +17,7 @@ do
        j)      DB_OPTS=$DB_OPTS" -c 'version log2'";;
        l)      DB_OPTS=$DB_OPTS" -r -c label";;
        L)      DB_OPTS=$DB_OPTS" -c 'label "$OPTARG"'";;
+       p)      DB_OPTS=$DB_OPTS" -c 'version projid32bit'";;
        u)      DB_OPTS=$DB_OPTS" -r -c uuid";;
        U)      DB_OPTS=$DB_OPTS" -c 'uuid "$OPTARG"'";;
        V)      xfs_db -p xfs_admin -V

Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

<Prev in Thread] Current Thread [Next in Thread>