所属分类:
磁盘编程
开发工具:C/C++
文件大小:2KB
下载次数:7
上传日期:2013-07-19 10:04:02
说明: 磁盘自由空间粉碎机DiskRandomFill:
通过在指定目录下打开文件追加随机数据直到硬盘空间写满为止,已达到覆盖已删除文件内容的目的。
( DiskRandomFill.c
To fill the disk with random data until the disk is full or manually interupted by the user.
Note that the program will open a file "tmpName=Whatitis.txt" and append it with "bufferLen=BUFFER_SIZE" random bytes.
And the user can change the target filename by "-[F|f]" option and set bufferLen by "-[L|l]" option.
or:
Usage:
1: <DiskRandomFill> only with default setup
2: <DiskRandomFill> <-ftmpName>
<DiskRandomFill> <-f tmpName>
To set tmpName
3: <DiskRandomFill> <-LtmpName>
<DiskRandomFill> <-L tmpName>
To set bufferLe
Also note that the-f and-L options can be append in the command line, and for multiple-f and-L options only the first one is valued.
)
文件列表:
DiskRandomFill.c,3858,2013-07-19