* Data writting over the quota chage inote time
@ 2003-09-25 13:28 Youza Youzovic
2003-09-25 13:37 ` Sean Neakums
2003-10-09 16:36 ` Jan Kara
0 siblings, 2 replies; 4+ messages in thread
From: Youza Youzovic @ 2003-09-25 13:28 UTC (permalink / raw)
To: linux-kernel
I find this "small" problem:
I set quota fo user "test" to 204 blocks.
and store one big file "test" with full size ( 204 blocks).
quota -v test
Disk quotas for user test (uid 1010):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdb1 204* 204 204 1 0 0
and run command "stat test":
File: "test"
Size: 204800 Blocks: 408 IO Block:
121234234 Regular File
Device: 811h/2065d Inode: 6300 Links: 1
Access: (0644/-rw-r--r--) Uid:(1010/test) Gid:(0/root)
Access: Wed Aug 13 16:10:21 2003
Modify: Wed Aug 13 16:12:43 2003
Change: Wed Aug 13 16:12:43 2003
next I run command
echo "s" >> test; stat test
File: "test"
Size: 204800 Blocks: 408 IO Block:
121234234 Regular File
Device: 811h/2065d Inode: 6300 Links: 1
Access: (0644/-rw-r--r--) Uid: (1010/test) Gid:(0/root)
Access: Wed Aug 13 16:10:21 2003
Modify: Wed Aug 13 16:14:38 2003
Change: Wed Aug 13 16:14:38 2003
the size is not change - this is OK !!
But Modify, and Change time is modified !!!
My system:
Linux kernel 2.4.21 from www.kernel.org
Thanx
youza
--
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Data writting over the quota chage inote time
2003-09-25 13:28 Data writting over the quota chage inote time Youza Youzovic
@ 2003-09-25 13:37 ` Sean Neakums
2003-09-25 13:39 ` Sean Neakums
2003-10-09 16:36 ` Jan Kara
1 sibling, 1 reply; 4+ messages in thread
From: Sean Neakums @ 2003-09-25 13:37 UTC (permalink / raw)
To: linux-kernel
"Youza Youzovic" <youza@post.cz> writes:
> echo "s" >> test; stat test
> File: "test"
> Size: 204800 Blocks: 408 IO Block:
> 121234234 Regular File
> Device: 811h/2065d Inode: 6300 Links: 1
> Access: (0644/-rw-r--r--) Uid: (1010/test) Gid:(0/root)
> Access: Wed Aug 13 16:10:21 2003
> Modify: Wed Aug 13 16:14:38 2003
> Change: Wed Aug 13 16:14:38 2003
>
> the size is not change - this is OK !!
> But Modify, and Change time is modified !!!
ctime is the inode change time; it has nothing to do with quotas. In
your example above, you wrote some data to a file, which resulted in
some of the inode's fields being updated, which resulted in the inode
change time being updated.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Data writting over the quota chage inote time
2003-09-25 13:37 ` Sean Neakums
@ 2003-09-25 13:39 ` Sean Neakums
0 siblings, 0 replies; 4+ messages in thread
From: Sean Neakums @ 2003-09-25 13:39 UTC (permalink / raw)
To: linux-kernel
Sean Neakums <sneakums@zork.net> writes:
... a bunch of crap.
Feel free to shoot me in the head.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Data writting over the quota chage inote time
2003-09-25 13:28 Data writting over the quota chage inote time Youza Youzovic
2003-09-25 13:37 ` Sean Neakums
@ 2003-10-09 16:36 ` Jan Kara
1 sibling, 0 replies; 4+ messages in thread
From: Jan Kara @ 2003-10-09 16:36 UTC (permalink / raw)
To: Youza Youzovic; +Cc: linux-kernel
Hi,
the problem actually isn't in quota but in VFS layer (you'd get same
result if you just run out of empty space on disk). I actually also
looked into fixing this but it showed up to require rewriting of code on
a lot of places and so I postponed the problem because I find the
problem more or less cosmetic... Or do you have some application failing
on this?
Honza
> I find this "small" problem:
>
> I set quota fo user "test" to 204 blocks.
> and store one big file "test" with full size ( 204 blocks).
> quota -v test
> Disk quotas for user test (uid 1010):
> Filesystem blocks quota limit grace files quota limit grace
> /dev/sdb1 204* 204 204 1 0 0
>
> and run command "stat test":
> File: "test"
> Size: 204800 Blocks: 408 IO Block:
> 121234234 Regular File
> Device: 811h/2065d Inode: 6300 Links: 1
> Access: (0644/-rw-r--r--) Uid:(1010/test) Gid:(0/root)
> Access: Wed Aug 13 16:10:21 2003
> Modify: Wed Aug 13 16:12:43 2003
> Change: Wed Aug 13 16:12:43 2003
>
> next I run command
>
> echo "s" >> test; stat test
> File: "test"
> Size: 204800 Blocks: 408 IO Block:
> 121234234 Regular File
> Device: 811h/2065d Inode: 6300 Links: 1
> Access: (0644/-rw-r--r--) Uid: (1010/test) Gid:(0/root)
> Access: Wed Aug 13 16:10:21 2003
> Modify: Wed Aug 13 16:14:38 2003
> Change: Wed Aug 13 16:14:38 2003
>
> the size is not change - this is OK !!
> But Modify, and Change time is modified !!!
>
> My system:
> Linux kernel 2.4.21 from www.kernel.org
>
> Thanx
> youza
--
Jan Kara <jack@suse.cz>
SuSE CR Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-10-09 16:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 13:28 Data writting over the quota chage inote time Youza Youzovic
2003-09-25 13:37 ` Sean Neakums
2003-09-25 13:39 ` Sean Neakums
2003-10-09 16:36 ` Jan Kara
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.