From: "Theodore Ts'o" <tytso@mit.edu>
To: Emmanuel Colbus <ecolbus@manux.info>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC][9/11][MANUX] Kernel compatibility : ext2's dtime field?
Date: Tue, 15 Apr 2014 16:10:26 -0400 [thread overview]
Message-ID: <20140415201026.GJ4456@thunk.org> (raw)
In-Reply-To: <534D3770.7010806@manux.info>
On Tue, Apr 15, 2014 at 03:43:12PM +0200, Emmanuel Colbus wrote:
> Now, another question. In ext2, what is the point of the dtime field?
> Personaly, I'm never setting it, because, well, if an inode is removed,
> it's removed, and nobody is supposed to access it again; and anyways,
> since no syscall allows seeing it, the dtime seems to me like nothing
> but an information leakage. But I doubt you would have put a useless
> data in the filesystem, so I'm likely overlooking something; if so, what
> is it?
For ext2, it was useful as a way of being able to do some emergency
undelete operations on a file system. These days, it's mostly for
debugging purposes.
This field is also used as a linked list in ext3 and ext4 for "orphan
inodes" and inodes which are in the process of being truncated or for
which should be truncated after a crash (to avoid leaking stale data,
for example).
- Ted
prev parent reply other threads:[~2014-04-15 20:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-15 13:43 [RFC][9/11][MANUX] Kernel compatibility : ext2's dtime field? Emmanuel Colbus
2014-04-15 20:10 ` Theodore Ts'o [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=20140415201026.GJ4456@thunk.org \
--to=tytso@mit.edu \
--cc=ecolbus@manux.info \
--cc=linux-kernel@vger.kernel.org \
/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