Re: How to "wipe" ALL Mac file's slack space?
- From: Mark Conrad <noneof@xxxxxxxxxxxxxxxxxx>
- Date: Sat, 30 Jun 2007 12:41:06 GMT
In article <santa-30D03E.19472829062007@xxxxxxxxxxxxxxxxx>,
Santa Claus <santa@xxxxxxxxxxxxx> wrote:
i once wrote a program that wrote a block of zeros
in the slack space by the following method.
- - - and - - -
i wrote it mainly to make compressing files
and folders much more effective and it worked.
Bless you, thanks for sticking to the main topic of this thread when
most others go off topic with personal attack barbs.
Messing with cluster slack space is exactly what I am trying to do, in
order to make compression of files much more effective.
Lemme go off topic a bit in order to further clarify that
hard-to-understand term "cluster".
First off, I was dead wrong on one point, not clear enough on another
point, when I stated earlier:
Correction and clarification begins
***********************************
"A cluster is a fixed size, determined by the file system; with the NTFS
system used by Intel Macs, the default cluster size is 4KB."
With further checking, I learned that cluster size is NOT determined by
the file system, but rather by the OS.
I was also very unclear when I stated:
"with the NTFS system used by Intel Macs,"
What I intended to say was:
"with the NTFS system used by Intel Macs in
their BootCamp created Vista partition..."
*********************************************
End of correction and clarification
Sorry about that, there is nothing worse than being wrong about a
hard-to-understand term like "cluster", it just further confuses an
already confusing term.
A file 'cluster' just basically means a bunch of file fragments, of only
ONE file, scattered all over the physical hard drive in different
places. Such a scattered file is said to be "fragmented".
Each individual file fragment is made up of a bunch of contiguous
"sectors".
Read that slowly, the sectors in any given bunch ARE contiguous, but the
individual file fragments themselves are NOT contiguous, those fragments
of one file are scattered all over the physical hard drive.
A "cluster" is totally different than a "block".
A block, as used in computing, _could_ contain many different files.
A cluster, as used in computing, can contain only one file.
Cluster, as used in computing, is really short for:
"a cluster of more than one piece of an individual file"
i once wrote a program that wrote a block of zeros in
the slack space by the following method.
1) get the current eof position.
2) set the current write position to the current eof.
3) write a cluster of nulls (hex 00) to the end of the file.
4) reset the eof of the file to the original position.
this must be done with every file.
I hope to bypass all that work by locating a utility that someone else
has already written, being inherently lazy myself.
Windows users have such a utility, it is called "KillDisk" version 5.0
(earlier versions will not wipe slack space)
With lots of luck, I might be able to locate a similar utility that will
work with Mac hardware.
Mark-
.
- Follow-Ups:
- Re: How to "wipe" ALL Mac file's slack space?
- From: Tom Stiller
- Re: How to "wipe" ALL Mac file's slack space?
- References:
- How to "wipe" ALL Mac file's slack space?
- From: Mark Conrad
- Re: How to "wipe" ALL Mac file's slack space?
- From: Mark Conrad
- Re: How to "wipe" ALL Mac file's slack space?
- From: Santa Claus
- How to "wipe" ALL Mac file's slack space?
- Prev by Date: Re: How to "wipe" ALL Mac file's slack space?
- Next by Date: Re: working with two computers?
- Previous by thread: Re: How to "wipe" ALL Mac file's slack space?
- Next by thread: Re: How to "wipe" ALL Mac file's slack space?
- Index(es):
Relevant Pages
|
|