[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120103203443.GC30502@thunk.org>
Date: Tue, 3 Jan 2012 15:34:43 -0500
From: Ted Ts'o <tytso@....edu>
To: Thomas Lindroth <thomas.lindroth@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: e4defrag modifies folder's mtime.
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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists