From: Arjan van de Ven <arjan@infradead.org>
To: Avinash Ramanath <avinashr@gmail.com>
Cc: kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: Zeroing data blocks
Date: Sat, 05 Aug 2006 17:10:20 +0200 [thread overview]
Message-ID: <1154790620.3054.69.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <abcd72470608050055w51f2bfbcrbd26b59fc32dc494@mail.gmail.com>
On Sat, 2006-08-05 at 00:55 -0700, Avinash Ramanath wrote:
> Hi,
>
> As per your suggestion, if I write a file with zero bits, it would
> remap to other pages, and I might not zero the real pages. So is there
> any other way that I can access the pages that a file is using?
there is an ioctl to find the blocks the file is in.. but still that's
only a snapshot, not a guarantee. What you really need/want is to do
this at the filesystem level, you can't reliably do it above that level.
--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
next prev parent reply other threads:[~2006-08-05 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <abcd72470607081856i47f15dedre9be9278ffa9bab4@mail.gmail.com>
[not found] ` <1152435182.3255.39.camel@laptopd505.fenrus.org>
2006-08-05 7:55 ` Avinash Ramanath
2006-08-05 15:10 ` Arjan van de Ven [this message]
2006-08-05 17:13 ` Avinash Ramanath
2006-08-05 17:42 ` Arjan van de Ven
2006-08-05 20:30 ` Ian Stirling
2006-07-09 1:19 Avinash Ramanath
2006-07-09 18:55 ` Dave Boutcher
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=1154790620.3054.69.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=avinashr@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--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
all inboxes | Powered by JetHome®