Re: edquota(8) feature (fwd)
>>>>> "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');
:)
--
Brought to you by the letters S and B and the number 2.
"What's your order? I can SuperSize that." -- TMBG
Ben Gertzfield <http://www.imsa.edu/~wilwonka/> Finger me for my public
PGP key. I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: