Date: Fri, 15 Dec 2006 12:04:53 +0800 From: Olivier Mueller <om-lists-bsd@omx.ch> To: freebsd-stable@FreeBSD.ORG, freebsd-ports@freebsd.org Subject: Re: p5-Quota issues Message-ID: <03050A19-BA59-4874-9F1B-BC9302C0C7FC@omx.ch> In-Reply-To: <200612141657.kBEGvhre024839@lurza.secnetix.de> References: <200612141657.kBEGvhre024839@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?03050A19-BA59-4874-9F1B-BC9302C0C7FC>