Changes in 1.4.1 (Sep. 2001 - Jan. 2002)
- added support for an older (intermediate?) version of the new Linux Quota
API which contains a mixture of v1 and v2 command ids (uses the old GETSTAT
id, however with the new and larger struct as argument). Required for
RedHat-7.1. Thanks to Andy Choi (andy@ensim.com) for pointing this out.
- enabled RPC in hints/bsd.h
Confirmed to work on FreeBSD by Alex Batko (abatko@cs.mcgill.ca)
- fixed several glitches in the manual page.
Changes in 1.4 (August 2001)
- added support for the Alan Cox (ac) branch of the Linux kernel which uses a
new and completely backwards incompatible Quota API. The API version is
determined dynamically by use of Q_GETSTATS/v2, i.e. the same module
binary will work on kernels with either API. Since the Linux quota API now
needs some very special handling, I moved it into a separate file called
linuxapi.c. NOTE: internally the module still uses the old (v1) dqblk
structure, so any advantages the new struct mem_dqblk might have are not
present here. Let me know if this is a problem for you.
- commented out #define LINUX_RQUOTAD_BUG in hints/linux.h as this should
no longer be needed on most systems. Updated INSTALL and README accordingly.
- removed the Linux syscall wrapper in quotactl.c as this is now in libc.
- changed copyright from "none/public domain" to Artistic License (not to
restrict usage, but simply to include the legal disclaimers)
- fixed bug in Quota::query() and setqlim(): when argument isgrp was present
but 0, the functions still did work on group quotas instead of user quotas.
Thanks to Szymon Juraszczyk (szymon@ssk.pl) for pointing this out.
Changes in 1.3.4 (May 2001)
- added support for SGI XFS on Linux. Thanks to Brian Johnson
(brian@dev.brianj.com) for providing a development account.
Changes in 1.3.3 (May 2001)
- bugfix Quota::query, branch NO_RPC: forgot to set error flag, arbitrary
results were returned; Pointed out by Mahlon Smith <reich@internetcds.com>
- fixed declaration of GQR_* macros for RPC in hints/bsd.h
RPC still untested for BSD though
- fixed OpenBSD2.7 fix from last release: replaced macro OpenBSD2_7 with
__OpenBSD__ because the former is not defined in 2.8 anymore.
Reported by Lou Hevly (lou@visca.com)
- fixed hints/linux.h for RedHat 7.1: use sys/quota.h instead of linux/quota.h
because the former has an incompatible definition of struct dqblk.
[NOTE: this change proved to be wrong and was undone in 1.4]
Reported by Waldemar Krotkiewicz (wk@brenet.de), Andy Choi (andy@ensim.com)
and Brian Johnson (brian@dev.brianj.com).
Changes in 1.3.2 (February 2001)
- please note my new email address: tomzo@nefkom.net
- fixed AFS detection in Makefile.PL for Perl 5.6
thanks to Wolfgang Friebel <friebel@ifh.de>
- adapted getmntent for incompatible change of struct statfs in OpenBSD 2.7
thanks to andrew@ugh.net.au
- adapted getqcarg for for OpenBSD and BSDi: define QCARG_MNTPT for all BSD os
as reported by andrew@ugh.net.au and Chee-Wai Yeung <cheewai@cs.ust.hk>
- fixed block to kB conversion in Quota::query() for VxFS
as reported by Rui Monteiro <rmonteiro@whatevernet.pt>
- renamed config.h symlink to myconfig.h to avoid conflict with Perl config
Changes in 1.3.1 (October 2000)
- added support for NetBSD, merged hints for BSD-based systems
by Jaromir Dolecek <jdolecek@NetBSD.org>
- fixed include file name for vxquotactl.h
changed quota block factors Q_DIV/Q_MUL from 1 to 2 for Veritas fs
Thanks to David Lee (T.D.Lee@durham.ac.uk)
- added automatic recognition of HPUX B.11 in Makefile.PL
by Albert Chin (china@thewrittenword.com)
Changes in 1.3: (January 2000)
- bugfix/enhanced support for OSF/1 and Digital Unix:
getqcarg used wrong path to quotas file and
NFS file systems were not recognized when in "/path@host" format in mtab
provided by Victor Mora (Victor.Mora@ac.upc.es) and
Alessandro Miotto (Alessandro.Miotto@cern.ch)
- added support for FreeBSD.
provided by Kurt Jaeger (pi@complx.LF.net)
and Jon Schewe (schewe@tcfreenet.org)
- added support for Veritas file system (VxFS) on Solaris
provided by David Lee (T.D.Lee@durham.ac.uk),
Michael Gerdts (gerdts@cae.wisc.edu) and
Daniel Hagerty (hag@shore.net).
Beta-tested by John Randell Smith (jrsmith@eng.utah.edu).
- added workaround for yet another bug in Linux rpc.rquotad:
rquotad reports grace times as absolute values instead of relative
bug found by Seth Vidal (skvidal@phy.duke.edu)
- fixed grace time output for Y2K in test.pl
- fixed bug in group-quota patch as pointed out by asun@cobaltnet.com
incorporated the patch into the distribution.
- fixed possible integer overflow in RPC quota block size conversions for
very large quota limits; pointed out by Peter.Pickford (ppickfor@jaguar.com)
- added warning to Makefile.PL if config.h symlink already exists
Changes in 1.2.3: (April 1999)
- added patch-file "group-quota.patch" that provides optional
support for group-quotas (on some OS versions and localhost only)
- added auto-detection for AFS by Wolfgang Friebel
- fixed include path for AFS in Quota.xs
Changes in 1.2.2: (December 1998)
- fixed 2 problems in getqcarg()
thanks to py@ecst.csuchico.edu for pointing those out.
Changes in 1.2: (November 1998)
- added support for AIX 4.1 (thanks to Wolfgang Friebel (friebel@ifh.de)
for providing a development account)
- added support for AFS (Andrew File System) by arla-0.13
on the following platforms: AIX, SunOS, Solaris, HP-UX, IRIX 6, Linux
with much help from Wolfgang Friebel.
Changes in 1.1.2: (August 1998)
- changed names of tar archive and module directory
- fixed message for getqcarg failure in test.pl
- compatibility with sfio (moved fopen and fclose to seperate file)
suggested by Christoph Lupe (lupe@alanya.m.isar.de) - yet UNTESTED
- fixed problems with Solaris automounter (ignore lofs mounts in getqcarg)
Changes in 1.1: (August 1998)
- added support for Linux (thanks to Steve Nolan (nolansj@bookmark.com)
for providing a development account)
- added OpenBSD 2.2 support, provided by James Shelburne (reilly@eramp.net)
- added syntax fixes (2 additional #includes) for IRIX 6.4
provided by Subhendu Ghosh (sghosh@menger.eecs.stevens-tech.edu)
- support for IRIX xfs filesystems (additional to the older efs fs)
provided by David Lloyd (cclloyd@monotreme.cc.missouri.edu)
Changes in 1.0:
(That's the version that's been released with O'Reillys Perl Resource Books)
- improved documentation, now provided in pod format inside Quota.pm
- finally fixed errno.h problem in Quota.pm
Thanks to Tobias Oetiker (oetiker@ee.ethz.ch)
- added BSDI port by Jim Hribnak (hribnak@nucleus.com)
unfortunately without RPC support.
- small fixes for OSF/1
- more hints in hints/none.h
- I've again received requests for Linux ports. However since I don't
have access to an installation with quota support, I can't do this
myself. I've included a config file that compiles without warnings
on our system ("Red Hat for Sparc" or something), but I can't run it.
If anyone gets it to work with or without RPC, please contact me.
Changes in 0.3a:
- started port for Linux 2.0; still needs some work.
Compiles correctly, but RPC call fails.
- workarounds for HP-UX/10 bug in test script
(SYNC without arguments doesn't work)
- some cleanup in Query.pm
fixes 0.2a's problems with the autoloader under perl-5.003
Changes in 0.2a:
- need generic getqcarg instead of getdev, because:
- added support for Solaris, OSF/1 (which operate without access to
the according block device) Required extensive code changes.
- getqcarg recognizes if path points into a NFS file system
- query() may take NFS path as argument (in form host:/path)
Thanks to David Lee <T.D.Lee@durham.ac.uk> for alpha-testing on Solaris
and suggesting the two latter improvements.