From owner-freebsd-stable@FreeBSD.ORG Thu Dec 14 17:06:46 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 5BC6516A503 for ; Thu, 14 Dec 2006 17:06:46 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B48E43E44 for ; Thu, 14 Dec 2006 16:56:23 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (jylqnu@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id kBEGvhaO024840; Thu, 14 Dec 2006 17:57:48 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id kBEGvhre024839; Thu, 14 Dec 2006 17:57:43 +0100 (CET) (envelope-from olli) Date: Thu, 14 Dec 2006 17:57:43 +0100 (CET) Message-Id: <200612141657.kBEGvhre024839@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG, om-lists-bsd@omx.ch In-Reply-To: X-Newsgroups: list.freebsd-stable User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Thu, 14 Dec 2006 17:57:49 +0100 (CET) Cc: Subject: Re: p5-Quota issues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG, om-lists-bsd@omx.ch List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Dec 2006 17:06:46 -0000 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 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? > 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. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "Perl will consistently give you what you want, unless what you want is consistency." -- Larry Wall