Re: edquota(8) feature (fwd)
Ben Gertzfield <che@debian.org> writes:
> >>>>> "Ulf" == Ulf Fredriksson <turbo@tripnet.se> writes:
>
> Ulf> Michael Meskes <meskes@topsystem.de> writes:
> >> Some versions of edquota will only work when the quota is on at
> >> the moment, and use quotactl(2). Others first try to use
> >> quotactl(), and, if that fails, assume the quota is off (some
> >> are wise enough to check errno though), and write to the file
> >> directly. (Of those, many don't care to check return value from
> >> lseek(), which brings a reliability problem, but I won't go
> >> into that now.)
>
> Ulf> Anyone know how to use 'quotactl()' from perl?
>
> require('syscall.ph');
> syscall('quotactl', 'some argument', 'some other argument');
Darn... That easy eh? I hate it when the problem I have been trying to
find a cure for is that easy!!!
Now you ruined my day... :)
--
-------------------------------------------------------------------------------
Turbo ___________ Debian GNU/Linux Unix _IS_ user friendly - it's just
^^^^^ ___ /___(_)__________ _____ __ selective about who its friends are
__ / __ /__ __ \ / / /_ |/_/
_ /// _ /___ / _ / / / /_/ /__> < Turbo Fredriksson Tel: +46-704-697645
\\\/ /_____/_/ /_/ /_/\__,_/ /_/|_| S-415 10 Göteborg turbo@tripnet.se
PGP#788CD1A9 SWEDEN www5.tripnet.se/~turbo
----------- PGP: B7 92 93 0E 06 94 D6 22 98 1F 0B 5B FE 33 A1 0B ------------
--
Noriega cracking counter-intelligence quiche Soviet CIA bomb
assassination DES Croatian [Hello to all my fans in domestic
surveillance] South Africa Serbian domestic disruption Clinton
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: