From owner-freebsd-stable@FreeBSD.ORG Fri Dec 15 04:05:02 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 381AD16A403 for ; Fri, 15 Dec 2006 04:05:02 +0000 (UTC) (envelope-from om-lists-bsd@omx.ch) Received: from omega.omnis.ch (omega.omnis.ch [195.134.143.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 519B343CA5 for ; Fri, 15 Dec 2006 04:03:21 +0000 (GMT) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 27479 invoked from network); 15 Dec 2006 04:04:52 -0000 Received: from 218.102.85.111 ([218.102.85.111]) by omega.omnis.ch ([195.134.143.43]) with ESMTP via TCP; 15 Dec 2006 04:04:52 -0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200612141657.kBEGvhre024839@lurza.secnetix.de> References: <200612141657.kBEGvhre024839@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <03050A19-BA59-4874-9F1B-BC9302C0C7FC@omx.ch> Content-Transfer-Encoding: quoted-printable From: Olivier Mueller Date: Fri, 15 Dec 2006 12:04:53 +0800 To: freebsd-stable@FreeBSD.ORG, freebsd-ports@freebsd.org X-Mailer: Apple Mail (2.752.2) Cc: Subject: Re: p5-Quota issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2006 04:05:02 -0000 Hi Oliver & thanks for your Feedback, Le 15 d=E9c. 06 =E0 00:57, Oliver Fromme a =E9crit : > Olivier Mueller wrote: >> I'm trying to get a script working with the p5-Quota module, but no >> way... : >> - quota correctely working for the /home partition >> - tested with edquota/repquota, etc. >> >> But when trying to retrieve information or setup quota information =20= >> from >> a perl script, I get: Quota::sync: error #45 > > I guess that's an errno number, and in that case 45 is > EOPNOTSUPP (Operation not supported). It is a bug that > the errno number is not printed as a human-readable > string. > > Did you try to use Quota::query? Does it work? Tried yes, work: no. >> But what bothers me more is that exactely the same script (with the >> same module) is working fine under linux... > > According to the p5-Quota documentation, the Quota::sync > function is not supported on all platforms, so it's > perfectly possible that the p5-Quota code supports it > on Linux, but not on FreeBSD. Well, in this case, why would there be a freebsd port for this =20 module? :-) I'll continue my tests... And if it doesn't work, I'll simply use the =20= system commands instead of the perl module, but then I would have to rewrite some =20 part of my scripts. regards, Olivier=