Date: Thu, 14 Dec 2006 17:57:43 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-stable@FreeBSD.ORG, om-lists-bsd@omx.ch Subject: Re: p5-Quota issues Message-ID: <200612141657.kBEGvhre024839@lurza.secnetix.de> In-Reply-To: <DE80246A-3CB8-4DA3-A63F-BB95EAC7A8CD@omx.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612141657.kBEGvhre024839>