Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jan Kara <jack@suse.cz>
|
|
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>
|
|
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>
|
|
Some filesystem do not have quota files accessible from userspace. For these
implementing ->scan_dquots() used by repquota is problematic. What we do is
that we iterate over all users and ask for quota information for each of them.
XFS already does this so make its code generic and use it for all filesystems
using quotaio_meta.c - only OCFS2 these days.
Signed-off-by: Jan Kara <jack@suse.cz>
|
|
* Use /proc/mounts for mountpoint scanning (Jan Kara)
* Removed use of reserved identifiers (Jan Kara)
|
|
|
|
Added option to always resolve even numeric names (Jan Kara)
Corrected a few typos in manpaged (Jan Kara, Justin Pryzby)
|
|
Quota(1) has now -f option to specify a list of filesystems (Jan Kara)
|
|
local-only flag was specified. Hence we don't block if NFS is down. (Jan Kara)
|
|
Kara)
|
|
|
|
Rewritten detection of kernel version.
Added support for generic interface for both quota formats in kernel.
|
|
rpc.rquotad now doesn't need mountpoint to get quota.
|
|
Added check to format detection routine to detect bad file endianity
edquota and setquota now set just grace times and flags => avoid races on live filesystem
|
|
operate
safe on live filesystem.
|
|
Small Makefile fix.
Better convertquota(8) return codes.
Quotacheck doesn't scan NFS filesystems.
Quotacheck does better format detection (chooses VFSV0 when files not found
and special file names are not specified).
|
|
Implemented new mountpoint scanning.
Implemented caching for scanning in old quota format.
Implemented automatic choice of appropriate units in repquota, quota.
|
|
Fixed SEGFAULT bug in rquota_server (when quota init failed)
|
|
Fixed bug in version() in quot (Nathan).
Added -t (truncate names) option to repquota.
|
|
|
|
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.
|
|
EOF -> -1 (Michael Meskes)
|
|
Fixed small bug in repquota (User vs Group).
Some XFS updates.
Fixed problems with devfs and relative paths.
|
|
Added some forgotten _() around strings.
Added sponsoring notes
Removed mandatory -F from quotacheck.
|
|
|