On 2012-06-22, Luis Mochan wrote: > > But that would defeat the purpose of the copy which is to have a > > stable file for LibreOffice to read while allowing mutt to wipe and > > delete its temporary file. A hard link would work if it wasn't that > > mutt wipes the file before unlinking it. > > > > I guess not. If I understand correctly, the file will remain alive > while its link count of the file is possitive. Even if mutt deletes > (it's link), the other link (and the file) will survive.
Yes, but mutt overwrites the contents of the file with zeros first (what I meant by wiping), leaving the other link pointing to a file full of zeros, and leaving LibreOffice with nothing useful to read. Regards, Gary