On Wed, Nov 17, 1999 at 03:42:59AM +0100, Markus Stumpf wrote:
> > cp: cannot create regular file `/var/qmail/bin/qmail-smtpd': Text file busy
> qmail-smtpd is running, so the system doesn't allow you to overwrite the
> file. Just move it to e.g.  qmail-smtpd.todelete  then copy.
> After some time the running qmail-smtpd(s) will finish accepting the email
> an no "old" copy of the file will be running and the system will let you
> delete the file (qmail-smtpd.todelete).

In fact, you can delete the file even while the program is executing,
since the inode won't actually be removed from disk until all references
to it (including executing processes) are dropped.
-- 
Bruce Guenter <[EMAIL PROTECTED]>                       http://em.ca/~bruceg/

Reply via email to