1 |
Stroller wrote: |
2 |
> I've just tried `shred` on a file in a ResierFS partition and it |
3 |
> certainly appears to work. |
4 |
|
5 |
$ man shred >file |
6 |
$ ls -l file |
7 |
-rw-r--r-- 1 ben users 3685 Oct 31 00:11 file |
8 |
$ shred file |
9 |
$ ls -l file |
10 |
-rw-r--r-- 1 ben users 131072 Oct 31 00:11 file |
11 |
|
12 |
Hmm, would that mean that the "block size" on this reiserfs |
13 |
filesystem is 128K? |
14 |
|
15 |
Taken from 'man shred': |
16 |
|
17 |
CAUTION: Note that shred relies on a very important assumption: |
18 |
that the file system overwrites data in place. This is the |
19 |
traditional way to do things, but many modern file system |
20 |
designs do not satisfy this assumption. The following are |
21 |
examples of file systems on which shred is not effective: |
22 |
|
23 |
* log-structured or journaled file systems, such as those |
24 |
supplied with AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.) |
25 |
|
26 |
Benno |
27 |
-- |
28 |
gentoo-user@g.o mailing list |