All of lore.kernel.org
 help / color / mirror / Atom feed
* Quota support for UID >65534
@ 2002-07-15 10:11 Zeljko Brajdic
  2002-07-15 11:09 ` Chris Mason
  0 siblings, 1 reply; 6+ messages in thread
From: Zeljko Brajdic @ 2002-07-15 10:11 UTC (permalink / raw)
  To: ReiserFS-list

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-17 12:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15 10:11 Quota support for UID >65534 Zeljko Brajdic
2002-07-15 11:09 ` 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é

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.