I'm looking at ways of shredding files using perl so I have a couple of questions, I hope someone can help me out as I haven't been able to find any info specific enough in this regard:
1) is inplace editing to be similar to unlink - ie the system removes the indexing which connects the filename to the area(s) it occupies on disk, as in:
make (new.file); rename (old.file, new.file);
thereby leaving the old data on disk but freeing up the area on disk for writing
2) assuming point (1) to be true, are sysread() and syswrite() the best candidates for accessing the file contents on disk directly?
TIA
Robin