From: Ted Ts'o <tytso@mit.edu>
To: Thomas Lindroth <thomas.lindroth@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: e4defrag modifies folder's mtime.
Date: Tue, 3 Jan 2012 15:34:43 -0500 [thread overview]
Message-ID: <20120103203443.GC30502@thunk.org> (raw)
In-Reply-To: <4F00BE34.1080006@gmail.com>
On Sun, Jan 01, 2012 at 09:12:36PM +0100, Thomas Lindroth wrote:
> I ran e4defrag from e2fsprogs-1.42 on a file system and a lot of
> folders had their mtime updated as a result. This confuses both my
> backup program and myself. I guess the folder timestamps change
> because the temporary donor file is created in the same directory as
> the original file. XFS's defrag program put the donor files in a
> temporary folder in the root of the file system. Maybe e4defrag
> could do the same.
Yes, that could be done if the user running the program (which does
not have to be root) has write access to the root directory of the
file system. There will certainly be cases where this will not be
true, however.
- Ted
next prev parent reply other threads:[~2012-01-04 3:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-01 20:12 e4defrag modifies folder's mtime Thomas Lindroth
2012-01-03 20:34 ` Ted Ts'o [this message]
2012-01-04 4:53 ` Dave Chinner
2012-01-04 5:27 ` Ted Ts'o
2012-01-04 7:43 ` Dave Chinner
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=20120103203443.GC30502@thunk.org \
--to=tytso@mit.edu \
--cc=linux-ext4@vger.kernel.org \
--cc=thomas.lindroth@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).