Re: deleted files




"Sebastian Gottschalk" <seppi@xxxxxxxxx> wrote in message
news:4rvrh9Ftcd2cU1@xxxxxxxxxxxxxxxx
Stuart Miller wrote:

Is there an easy way to force writing of the cache?

Yes. 'sync' comes with every Unix, and there are various versions of
sync.exe for Windows.

But the better way is to overwrite data while bypassing the cache, because
it doesn't fill the cache with bogus data, which would impact performance.


I see two convenient ways to do this

1 - open the text file, cut / delete the contents, add some garbage data,
and save
repeat cycle to drop the backup files

2 - delete file as usual, create a new file with same name in same folder,
write some garbage to it, save, exit wp, delete

Any significant difference to these approaches?

I recall a discussion of this in one of the linux newsgroups a few months
ago.

Well, why don't read the manual of a good tool like SDelete for a detailed
technical discussion of the issue?

Thanks - will do

It wasn't so much the paranoia of ensuring files to be unreadable, it was
just the surprise of finding them back

OK, so perhaps it was just bad timing. But now all the important stuff
stays
on the linux machines. Or does ext3 have the same issues?

Almost all filesystems have that issue. And especially ext3, also it also
does journaling.

Stuart


.



Relevant Pages

  • [PATCH][RFC] Network filesystem caching on local cache files
    ... files on an already mounted filesystem (such as using EXT3 files to cache NFS ... The cache is then filed in the directory specified as the root. ... The cachefiles module requires fscache.ko to be loaded first, as does NFS. ...
    (Linux-Kernel)
  • Re: swsusp regression [Was: 2.6.18-rc3-mm2]
    ... +hdc: ATAPI CD-ROM drive, 0kB Cache, UDMA ... It fixes this particular issue for me, ... I think that -mm also added barriers on by default for ext3, ...
    (Linux-Kernel)
  • Re: [PATCH 00/37] Permit filesystem local caching
    ... Attached here are results using BTRFS ... rather than Ext3 on the client on the partition backing the cache. ... Note that I didn't bother redoing the tests that didn't involve a cache as ... reduction in time for the smaller case and a 13% reduction for the larger ...
    (Linux-Kernel)