summaryrefslogtreecommitdiff
path: root/quotacheck_v2.c
Commit message (Collapse)AuthorAgeFilesLines
* quotacheck: Fail check if quota file magic is invalidJan Kara2018-02-051-0/+3
| | | | | | | | 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>
* quotacheck: Avoid question in non-interactive modeJan Kara2018-02-051-1/+2
| | | | | | | | | 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>
* quotacheck: Fix buggy error check of read(2)Jan Kara2016-07-061-1/+1
| | | | | | | | '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>
* Use libc byteswapping routines not kernel onesCristian Rodríguez2013-12-021-38/+38
| | | | | macros/functions from endian.h are the proper, documented userspace interface to use.
* Typo fixes, message changes for easier i18nJan Kara2012-02-291-1/+1
| | | | Signed-off-by: Jan Kara <jack@suse.cz>
* * Rewritten configuration script to create config.h (Jan Kara)jkar85722010-01-051-1/+7
| | | | | * Use /proc/mounts for mountpoint scanning (Jan Kara) * Removed use of reserved identifiers (Jan Kara)
* 64-bit quota support.jkar85722009-12-141-38/+98
|
* Format string fixes (Ladislav Michnovic)jkar85722008-04-211-2/+2
|
* * fixed XFS handling to work with loopback mounted devices (Jan Kara)jkar85722007-02-211-3/+3
| | | | | | * 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)
* Corrected some informal language in error messages (Jan Kara)jkar85722005-11-211-6/+6
| | | | Quota(1) has now -f option to specify a list of filesystems (Jan Kara)
* Various tools fixes (manpages, quotacheck, NFSv4) (Jan Kara)jkar85722005-03-311-4/+6
|
* Fixed illegal reference checking in quotacheck(8) (Jan Kara)jkar85722005-03-171-1/+3
| | | | Fix of fix of sanity check in repquota(8) (Jan Kara)
* Updated version to 3.12jkar85722004-05-241-2/+5
| | | | | | Fixed a few memleaks Added two manpages Fixed problem with all-zero root structure
* quotacheck(8) now creates backup quotafiles only when -b specified (Preston ↵jkar85722001-09-041-3/+3
| | | | | | | | 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.
* Fixed bug in quotacheck for new format.jkar85722001-05-111-0/+6
| | | | | Fixed bug in version() in quot (Nathan). Added -t (truncate names) option to repquota.
* Added mntopt.h to dependencies in Makefile.in.jkar85722001-05-021-15/+17
| | | | | | | | | | | 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.
* Initial revisionjkar85722001-03-231-0/+344