From: "Brett Russ" <icycle@charter.net>
To: Reiserfs-List <reiserfs-list@namesys.com>
Subject: RE: Behavior of tails with respect to shred, wipe, etc
Date: Fri, 25 Oct 2002 17:13:03 -0400 [thread overview]
Message-ID: <HDEFILEPHCPLCAGPLCEMAEMEDFAA.icycle@charter.net> (raw)
In-Reply-To: <15801.26994.705639.374241@laputa.namesys.com>
> Tails are stored in leaf nodes of the balanced tree. During balancing
> data are copied. When node becomes completely empty it is just dropped
> on the floor and disk copy isn't updated. As a result, at any given
> moment, some versions of file content can be scattered across different
> disk blocks. Moreover, journal area also contains (multiple) copies of
> data modified during recent transactions.
It sounds like I cannot predict when balancing takes place, i.e. it doesn't
always occur as a result of writing the file I am concerned about
shredding--it might occur as a result of an unrelated operation. So tails
can and will be scattered about and no longer attached to a shreddable
inode...hmm.
Your comment about the journal containing data--does that apply in my case
where I am only journaling metadata?
And if so, wouldn't a write/sync flush through the journal and clear that
out?
> > 2) If someone confirms that there is not a way to guarantee
> obliteration of
> > original data in all cases with tails, can I assume that
> disabling tails
> > will rectify the problem?
>
> I think yes. Reiserfs neither relocates nor journals unformatted blocks
> (until data-journalling patches are used).
A full block or a partially full block with tail packing disabled is
considered an unformatted block?
> > 4) What is the best way to determine and read the physical
> sectors that a
> > file is mapped to in order to verify obliteration? I have used
> > debugreiserfs a bit (with the -d option) and get keys and
> locations of files
> > but the documentation is rather limited on what all of the
> output means and
> > how to use it.
> >
>
> Look for FIBMAP ioctl. It only works for unformatted blocks.
Will check it out, thank you.
-Brett
next prev parent reply other threads:[~2002-10-25 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 15:40 Behavior of tails with respect to shred, wipe, etc Brett Russ
2002-10-25 15:55 ` Nikita Danilov
2002-10-25 16:00 ` Oleg Drokin
2002-10-25 16:09 ` Nikita Danilov
2002-10-26 7:06 ` Valdis.Kletnieks
2002-10-30 2:32 ` Tom Vier
2002-10-30 6:36 ` Oleg Drokin
2002-10-30 7:14 ` Tom Vier
2002-10-25 21:13 ` Brett Russ [this message]
2002-10-28 10:01 ` Nikita Danilov
2002-10-26 1:41 ` Hans Reiser
2002-10-26 7:09 ` Valdis.Kletnieks
2002-10-26 13:53 ` Hans Reiser
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=HDEFILEPHCPLCAGPLCEMAEMEDFAA.icycle@charter.net \
--to=icycle@charter.net \
--cc=reiserfs-list@namesys.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 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.