summaryrefslogtreecommitdiff
path: root/quotacheck_v2.c
AgeCommit message (Collapse)Author
2018-02-05quotacheck: Fail check if quota file magic is invalidJan Kara
Currently quotacheck will just continue if quotafile magic is invalid. Instead ask whether we should continue assuming quota format passed from the command line. Signed-off-by: Jan Kara <jack@suse.cz>
2018-02-05quotacheck: Avoid question in non-interactive modeJan Kara
A question when quota file version is incorrect is asked even if quotacheck is run in non-interactive mode. Avoid asking the question in that case and fail the check instead. Reproted-by: Christoph Biedl <debian.axhn@manchmal.in-ulm.de> Signed-off-by: Jan Kara <jack@suse.cz>
2016-07-06quotacheck: Fix buggy error check of read(2)Jan Kara
'rd' was declared as size_t which is unsigned so it could never be less than 0. Fix it by declaring 'rd' as ssize_t which is the real read(2) return type. Signed-off-by: Jan Kara <jack@suse.cz>
2013-12-02Use libc byteswapping routines not kernel onesCristian Rodríguez
macros/functions from endian.h are the proper, documented userspace interface to use.
2012-02-29Typo fixes, message changes for easier i18nJan Kara
Signed-off-by: Jan Kara <jack@suse.cz>
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-04-21Format string fixes (Ladislav Michnovic)jkar8572
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)
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-03-31Various tools fixes (manpages, quotacheck, NFSv4) (Jan Kara)jkar8572
2005-03-17Fixed illegal reference checking in quotacheck(8) (Jan Kara)jkar8572
Fix of fix of sanity check in repquota(8) (Jan Kara)
2004-05-24Updated version to 3.12jkar8572
Fixed a few memleaks Added two manpages Fixed problem with all-zero root structure
2001-09-04quotacheck(8) now creates backup quotafiles only when -b specified (Preston ↵jkar8572
Brown) Fixed bug in parsing of passed mountpoints (reported by Preston Brown) More verbose output of quotaon (Preston Brown) quotacheck(8) now automatically chooses vfsv0 quota format when no quota files are found and special filenames are not specified.
2001-05-11Fixed bug in quotacheck for new format.jkar8572
Fixed bug in version() in quot (Nathan). Added -t (truncate names) option to repquota.
2001-05-02Added mntopt.h to dependencies in Makefile.in.jkar8572
Fixed MNTTYPE_REISER to proper string. sprintf->snprintf Merged Marco's patch with errstr(), configurable BSD behaviour Fixed bug in quota detection IO code now opens file only RO if possible. IO code now doesn't open file if not required. Fixed bug in quotaon. Updated all manpages.
2001-03-23Initial revisionjkar8572