From: Zeljko Brajdic <zorz@iskon.hr>
To: ReiserFS-list <reiserfs-list@namesys.com>
Subject: Quota support for UID >65534
Date: 15 Jul 2002 12:11:40 +0200 [thread overview]
Message-ID: <1026727900.18163.61.camel@max> (raw)
Hello,
I've applied quota patches for vanilla kernel-2.4.18 found at
ftp://ftp.suse.com/pub/people/mason/patches/reiserfs/quota-2.4/2.4.18/
Everything works perfectly except for checking quota with command `quota
-v username' if username have UID >65534. Interesting is that `repquota'
doesn't have that problem and showing.
This is output of `quota':
root@led 12:02 (/usr/src/linux) > quota -v bureq
quota: Error while getting quota from /dev/sda4 for 200000: Invalid argument
Disk quotas for user bureq (uid 200000): none
Strace output is (last few lines):
stat64("/dev/sda4", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 4), ...}) = 0
getuid32() = 0
quotactl(0xd00 /* Q_??? */|USRQUOTA, "/dev/sda4", 0, {0, 0, 2, 0, 0, 2538116, 0, 0}) = 0
quotactl(0x900 /* Q_??? */|USRQUOTA, "/dev/sda4", 0, {604800, 604800, 0, 2476, 0, 2475, 3221224236, 134536589}) = 0
geteuid32() = 0
quotactl(0xd00 /* Q_??? */|USRQUOTA, "/dev/sda4", 200000, {1073780232, 1073821628, 1073823040, 1, 0, 0, 0, 0}) = -1 EINVAL (Invalid argument)
write(2, "quota: ", 7quota: ) = 7
write(2, "Error while getting quota from /"..., 70Error while getting quota from /dev/sda4 for 200000: Invalid argument
) = 70
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
write(1, "Disk quotas for user bureq (uid "..., 46Disk quotas for user bureq (uid 200000): none
) = 46
munmap(0x40014000, 4096) = 0
_exit(0) = ?
--
v , v v
Zeljko Brajdic - Zorz
next reply other threads:[~2002-07-15 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-15 10:11 Zeljko Brajdic [this message]
2002-07-15 11:09 ` Quota support for UID >65534 Chris Mason
2002-07-16 8:14 ` Zeljko Brajdic
2002-07-16 12:25 ` Chris Mason
2002-07-17 8:29 ` Zorz
2002-07-17 12:52 ` Philippe Gramoullé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1026727900.18163.61.camel@max \
--to=zorz@iskon.hr \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.