From owner-freebsd-fs@FreeBSD.ORG Thu May 17 02:56:55 2012 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52D21106566B for ; Thu, 17 May 2012 02:56:55 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (firebox.emsphone.com [199.67.51.15]) by mx1.freebsd.org (Postfix) with ESMTP id 1157D8FC0A for ; Thu, 17 May 2012 02:56:54 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [172.17.17.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id q4H2undl088804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 May 2012 21:56:49 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id q4H2unjv087297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 16 May 2012 21:56:49 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id q4H2unkM087296; Wed, 16 May 2012 21:56:49 -0500 (CDT) (envelope-from dan) Date: Wed, 16 May 2012 21:56:49 -0500 From: Dan Nelson To: Tom Message-ID: <20120517025649.GF45363@dan.emsphone.com> References: <4FB2D099.8040103@bsdunix.ch> <20120516221709.GA1933@dan.emsphone.com> <4FB43DAF.3020207@bsdunix.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FB43DAF.3020207@bsdunix.ch> X-OS: FreeBSD 8.3-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [172.17.19.78]); Wed, 16 May 2012 21:56:49 -0500 (CDT) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on email2.allantgroup.com X-Scanned-By: MIMEDefang 2.68 on 172.17.19.78 Cc: freebsd-fs@FreeBSD.org Subject: Re: zfs userquota support for rquotad (nfs)? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 02:56:55 -0000 In the last episode (May 17), Tom said: > Am 17.05.12 00:17, schrieb Dan Nelson: > > In the last episode (May 15), Tom said: > >> Hello > >> > >> Has someone tried or is working on an implementation to add ZFS > >> userquota support to rquotad? > >> > >> https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/4f68f041ddcd > > > > Here's a simple implementation I coded up a year ago. Instead of trying > > to link in libzfs on the fly, it simply popens a "zfs get" command to > > fetch the user's quota info. > > Interessting. Did you also modify the quota.c file? Hmm... no I didn't. I forgot about that :) My usecase was for an NFS homedir server, and I never thought about the fact that /usr/bin/quota looks up local filesystems on its own. -- Dan Nelson dnelson@allantgroup.com