Re: How to "wipe" ALL Mac file's slack space?
- From: Tom Stiller <tomstiller@xxxxxxxxxxx>
- Date: Fri, 29 Jun 2007 17:08:06 -0400
In article <noneof-766A98.12574229062007@xxxxxxxxxxxxxxxxxxxxxxx>,
Mark Conrad <noneof@xxxxxxxxxxxxxxxxxx> wrote:
In article <noneof-D1ED92.12524629062007@xxxxxxxxxxxxxxxxxxxxxxx>,[snip]
Mark Conrad <noneof@xxxxxxxxxxxxxxxxxx> wrote:
I now want to wipe the slack space in disk file "clusters".
Only reason for this post is if you are confused about the meaning of
the four terms sector, block, cluster, and slack space.
Blocks
******
When this term is used with the Mac filesystem, it refers to what Mark
will call a cluster, a term probably more familiar to PeeCee users than
Mac users.
As far as I know, blocksize is never used as a unit of allocation in the
filesystem. It is used by several filesystem display utilities and as
an aggregation specification in the obscure dd command.
[snip]
Cluster
*******
A cluster is kind of like a block, with important exceptions. A cluster
is a related number of sectors, related by the fact that those sectors
all have to relate to ONE file, never more than ONE file.
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.
Intel Macs use the HFS+ filesystem, not NTFS.
So what happens if a file is larger than 4KB, well then more clusters
are used, as many as necessary, but all clusters still relate to that
ONE file.
Clusters can hold major parts of a big file. The very last 4KB cluster
will hold the very last part of the big file.
[snip]
Slack space
***********
The part of the last 4KB cluster space that is NOT used by a file.
I.e. the difference between Get Info's size on disk and the
parenthesized content size.
With a very large file, only the very last 4KB cluster of that large
file has any "slack space".
So, in conclusion, what is "slack space" in that "Small TextEdit" file
is ALL the space in the cluster that is unused, except the 3 bytes that
are used for that one word "Boo". In the case of that tiny file, over
4,090 bytes of slack space are available for snoopers to look at.
Which is why I secure delete my sensitive files.
.
All your credit card info', bank account info', confidential info' about
your other 3 wives, etc. will fit in the slack space of that one small
file, even though you _thought_ you were safe because you knew you had
erased all that sensitive info' with TechTool Pro.
- Follow-Ups:
- Re: How to "wipe" ALL Mac file's slack space?
- From: Mark Conrad
- 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
- 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: AntiVirus for entourage
- 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
|