mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Youza Youzovic <youza@post.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Data writting over the quota chage inote time
Date: Thu, 9 Oct 2003 18:36:49 +0200	[thread overview]
Message-ID: <20031009163648.GF25594@atrey.karlin.mff.cuni.cz> (raw)
In-Reply-To: <fc5f185ffdd49f6f4444747a24368d79@www4.mail.post.cz>

  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

      parent reply	other threads:[~2003-10-09 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-25 13:28 Youza Youzovic
2003-09-25 13:37 ` Sean Neakums
2003-09-25 13:39   ` Sean Neakums
2003-10-09 16:36 ` Jan Kara [this message]

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=20031009163648.GF25594@atrey.karlin.mff.cuni.cz \
    --to=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=youza@post.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®