Re: Erasing File Data
- From: "Sebastian G." <seppi@xxxxxxxxx>
- Date: Tue, 15 May 2007 04:04:13 +0200
Ertugrul Soeylemez wrote:
"Sebastian G." <seppi@xxxxxxxxx> (07-05-14 15:54:54):
There is, and I've already told: shred does a very bad job.So why don't you simply use /dev/zero?Because there is no point in doing so.
But in what way?
shred doesn't care for journaling file systems. dd simply ignores any journal and writes to the raw partition or drive.
shred doesn't care for caches. dd only hits the kernel buffers, with guarantees of write commitment.
And for simply overwriting files or free space, there are serious alternatives which do the job right.
Next thing is, I don't know how my hard-disk deals with zero-writes,What a nonsense. The controller nor the cache logic cares for
when there is already a zero in its internal cache. It may well be
that it's intelligent enough not to write another zero in that case.
full-zero blocks.
That wasn't meant to be special for zeroes. What if the cache contains
a block N with the value X and you want to write the same block X to the
same position N again? I don't know, but it would make sense to just
ignore it.
If N wasn't written to the platers yet, the same would be true for 'shred', and a simply 'sync' would resolve the issue - and the command merging would be justified anyway. If N was already written, then there's simply no need to write it again.
.
- Follow-Ups:
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- References:
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- From: Sebastian G.
- Re: Erasing File Data
- From: Ertugrul Soeylemez
- Re: Erasing File Data
- Prev by Date: Re: Erasing File Data
- Next by Date: KonicaMinolta MFP biometric option
- Previous by thread: Re: Erasing File Data
- Next by thread: Re: Erasing File Data
- Index(es):
Relevant Pages
|