summaryrefslogtreecommitdiff
path: root/quotacheck.c
AgeCommit message (Collapse)Author
2014-12-02Create new autotools buildsystemTomáš Chvátal
Reflect what was done before and try to mimic it Remove ChangeLog, now autogenerated for dist target Remove confusing gettext README and try to add new approach for translations [JK: Fixed build without RPC support] Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz> Signed-off-by: Jan Kara <jack@suse.cz>
2013-02-04quotacheck: Make sure -d provides at least as much information as -vJan Kara
There was a couple of useful messages that were printed when -v was specified but not when -d was specified. Fix this. Signed-off-by: Jan Kara <jack@suse.cz>
2013-02-04Do not fiddle with quota files on XFS and GFSPetr Písař
XFS and GFS have no quota files. Skip unnecessary examination and rename of these files when running quotacheck. Signed-off-by: Petr Písař <ppisar@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz>
2012-03-05quotacheck: Use 'subtract' instead of 'substract'Jan Kara
2012-02-29Typo fixes, message changes for easier i18nJan Kara
Signed-off-by: Jan Kara <jack@suse.cz>
2011-11-17Add support for quotas on ext4 in system filesJan Kara
Teach quota tools to handle quotas in system files on ext4. For this to work, we slightly rework mount option parsing to allow distinguisting between ext4 with classical quota files and ext4 with quotas in system files. Signed-off-by: Jan Kara <jack@suse.cz>
2011-11-16quotacheck: Fix warning about journaled quota for 3.0 and newer kernelsJan Kara
Signed-off-by: Jan Kara <jack@suse.cz>
2011-07-14get_qf_name() does not check quota file presencePetr Písař
Old error messsage stated a quota file does not exist despite fact get_qf_name() does not check the file existence. It constructs the file name only. This lead to misleading message when running initial `quotacheck -c' on extended file system mounted with usrquota option only. Signed-off-by: Jan Kara <jack@suse.cz>
2011-07-14Report quotacheck failures by return codePetr Pisar
Signed-off-by: Jan Kara <jack@suse.cz>
2011-05-16Make global symbols static as possiblePetr Pisar
There are some calls (e.g. getpwnam(3)) that can lead to dlopening other libraries that could jump to symbol with name clashing to one of global quota symbols. (e.g. Name server switch plug-in nss_db calls dirname(3) that's already defined in edquota.c and tht can cause segmentation fault.) Although it's not possible to solve all these problems, making as much as possible global objects and functions static is the best thing we can do to avoid name space polution. Signed-off-by: Jan Kara <jack@suse.cz>
2011-02-04Implement quotacheck for GFS2Abhijith Das
Although GFS2 maintains quota as metadata, it sometimes might need to check quota usage (most notably when quota is enabled for the first time). So add support for GFS2 in quotacheck. Signed-off-by: Jan Kara <jack@suse.cz>
2011-01-06Next3 quota-tools supportAmir G
Signed-off-by: "Amir G." <amir73il@users.sourceforge.net> Signed-off-by: Jan Kara <jack@suse.cz>
2010-05-21* do not count system inodes into quota for ext[234] (Jan Kara)jkar8572
2010-05-05GFS2 implements the XFS interface for setting and reporting the quotajkar8572
information, and only allows state changes via remount. (Christoph Hellwig)
2010-02-17* don't try to set inode flags when getting them failed (Michalski Wojciech)jkar8572
2010-01-05* Rewritten configuration script to create config.h (Jan Kara)jkar8572
* Use /proc/mounts for mountpoint scanning (Jan Kara) * Removed use of reserved identifiers (Jan Kara)
2009-12-1464-bit quota support.jkar8572
2008-12-17* fix reference to rpc manpage (anonymous reporter)jkar8572
* add EXT4 (not only EXT4DEV) to the list of supported filesystems (Mingming Cao) * fix setting of more than 31-bit block and inode limits (Gui Xiaohua) * fixed bug in error reporting when quota reading fails (Jan Kara) * added support for quota formats with hidden quota files (Jan Kara)
2008-08-21* remove IMMUTABLE flag from quota file in quotacheck (Jan Kara)jkar8572
2008-04-21Format string fixes (Ladislav Michnovic)jkar8572
2008-03-13* added information message about journaled quota to quotacheck (Jan Kara, ↵jkar8572
Alex Tomas)
2007-02-21* fixed XFS handling to work with loopback mounted devices (Jan Kara)jkar8572
* fixed mountpoints scanning to make XFS -x delete command work (Jan Kara) * fixes of signed vs unsigned int issues (Jan Kara) * fixed a format string bug in reporting of raw grace times in repquota (Jan Kara)
2007-01-06Fixed small typo in mailaddressmarcovw
2006-05-13Changed option parsing to use long options (Jan Kara)jkar8572
Added option to always resolve even numeric names (Jan Kara) Corrected a few typos in manpaged (Jan Kara, Justin Pryzby)
2005-11-21Corrected some informal language in error messages (Jan Kara)jkar8572
Quota(1) has now -f option to specify a list of filesystems (Jan Kara)
2005-08-23Some more fixes of verbose printing (Jan Kara)jkar8572
2005-08-22Fixed very verbose printing for quotacheck(8) (Jan Kara)jkar8572
2005-06-24Error messages fixes (Dmitry V. Levin)jkar8572
2005-03-31Various tools fixes (manpages, quotacheck, NFSv4) (Jan Kara)jkar8572
2005-03-18Updated polish translation. (Jakub Bogusz)jkar8572
Fixed some checks to work also with NFSV4. (Jan Kara)
2005-03-17Fixed illegal reference checking in quotacheck(8) (Jan Kara)jkar8572
Fix of fix of sanity check in repquota(8) (Jan Kara)
2005-03-10Added "very verbose" option to quotacheck(8) for printing the current ↵jkar8572
directory (Jan Kara, Jan Engelhardt)
2004-09-20Fixed parsing of journalled quota options. (Jan Kara)jkar8572
2004-09-06Made quotackeck(8) more friendly to journaled quota (Jan Kara)jkar8572
2004-03-15quotacheck(8) should now preserve ext2/ext3 special flags (esp. journalledjkar8572
data flag - useful when journalling quotas) on quota files.
2004-03-02* disabling nls via configure (Jan Kara)jkar8572
* fixed warning when gettext not used (Peter Breitenlohner) * fixed typo in rquotad.8 (Peter Breitenlohner) * fixed compiler warning in quotacheck.c (Peter Breitenlohner) * added config option for putting some important binaries to /sbin regardless $(prefix) (Jan Kara)
2004-02-08Quota tools now honour journalled quota options (Jan Kara)jkar8572
quotacheck(8) does not count quota files (Jan Kara)
2004-01-06Fixed bug in quotacheck(8) which counted directories twice sometimes. (Jan Kara)jkar8572
2004-01-05warnquota(8) supports getting of e-mail address via LDAP (James Bourne)jkar8572
warnquota(8) supports checking whether user is not over quota on mail partition (James Bourne) fixed typo in quotacheck.8 (Noel Koethe)
2004-01-05Fixed bug in quotacheck - counted wrongly size of files >2GB (Posta Zoltan)jkar8572
2003-04-08Quotacheck now does not add empty user structures in old quota format (Jan ↵jkar8572
Kasprzak) Quotacheck now remembers only hardlinked files and not all inodes with n_link > 1 (Jan Kara, Jan Kasprzak)
2002-11-28Optimized linking with svc_socket.o; fixed error reporting in svc_socket.c ↵jkar8572
(Jan Kara)
2002-08-27Fixed typo in quotacheck(8)jkar8572
2002-08-26Add support for 32 bit uid's and gid's when using EXT2_DIRECT. (Michael Meskes)jkar8572
2002-07-23* fixed quotacheck(8) to continue when old quota files were not found (Jan Kara)jkar8572
* quota(1) now doesn't report failure to connect to rpc.rquotad server when -Q specified (Jan Kara) * add quota(1) option -l (report only local filesystems) (Jan Kara) * warnquota(8) now also mails specified member of the group about violation of the group quotas when -g option is specified (Jan Kara) * added options by which user can specify whether repquota(8) should translate names in big chunks by scanning all users or individually. Added automagic detection using nsswitch.conf which behaviour should lead to faster translating. (Jan Kara)
2002-05-03Fixed bug with rpc.rquotad bad path processing.jkar8572
2002-04-26* fixes in manpages (Arkadiusz Miskiewicz)jkar8572
* fixed detection of libwrap in configure (Arkadiusz Miskiewicz) * added forgotten ROOTDIR to path to gettext catalogs (Arkadiusz Miskiewicz) * quotacheck uses newest format supported by kernel when creating new quota files (Jan Kara) * fixed bug in IO initialization when -F xfs was given (Jan Kara)
2002-03-27Fixed bug in quota(1) return code.jkar8572
Rewritten detection of kernel version. Added support for generic interface for both quota formats in kernel.
2001-12-14quotacheck now skips quota file scanning when file not found.jkar8572
2001-12-05More clever handling of loopback and bind mounts. (Jan Kara);jkar8572