Showing posts with label swap space. Show all posts
Showing posts with label swap space. Show all posts

Friday, February 26, 2016

File Slack - What is it?

Understanding File slack


To understand file slack, one first needs to understand how disks are organized at the lowest level.
As can be seen in the diagram below, disks are subdivided into a set of tracks.
- These tracks are further subdivided into a set of sectors and collection of sectors form together to make a cluster.
- If you write a 1 KB file that has a cluster size of 4 KB, the last 3 KB is wasted.

This unused space between the logical end‐of‐file and the physical end‐of‐file is known as slack space.
The perhaps somewhat unexpected consequence from this is that the file slack contains whatever data was on the disk before the cluster was allocated, such as data from previously deleted files. Using file slack, it would be possible not only to recover previously discarded (and potentially sensitive information) information, but also to effectively hide data. The ability to hide data arises because the operating system does not modify data within a cluster once it has been allocated. This means that any data that is stored in the slack is safe (provided the files size does not change).

file slack[ads1 adsenselinks=""]

Saturday, February 13, 2016

disable your swap space on Windows 7

*This instructions are recommended for advanced users only. If you are not comfortable doing this, you may
safely skip this step.*
Instructions are less verbose than usual, as these steps are intended for advanced users only. If you do not fully understand these instructions, skip this step.
1. From Control Panel, go to "System and Security".
2. Click on "System", and then choose "Advanced system settings" in the left-most menu.
3. Under the "Advanced" tab, under "Performance", click "Settings".
4. Under this "Advanced" tab, under "Virtual Memory", click "Change"
5. Uncheck "Automatically manage paging file sizes for all drives"
6. Select "No paging file"
7. Save, reboot, and follow these same first 5 steps to confirm that "No paging file" is still selected.
This means that you have successfully disabled your swap. This means that *nothing* from RAM will be inadvertently saved to your harddrive.
To resume using SWAP again, simply click "Automatically manage paging file size for all drives."
You can switch between these two modes as you desire.
Generally speaking, your computer will run fine without a swap file, provided you have enough RAM.