COHERENT manpages

This page displays the COHERENT manpage for elvprsv [Preserve the modified version of a file after a crash].

List of available manpages
Index


elvprsv -- Command

Preserve the modified version of a file after a crash
elvprsv ["-why elvis died"] /tmp/filename...
elvprsv -R /tmp/filename...

The  command elvprsv,  or ``elvis preserved,''  preserves your  edited text
should elvis  die unexpectedly.   You can later  use the command  elvrec to
rebuild the edited buffer.

You  should  never  need to  run  elvprsv  from  the  command line.   elvis
automatically invokes it  should it sense that it is  about to die.  Script
/etc/rc should  also invoke elvprsv,  to preserve any  temporary files that
may have been left in directory /tmp when the system went down.

If elvis  were to die unexpectedly  while you were editing  a file, elvprsv
would preserve the most recent version of your text.  The preserved text is
stored in  a special directory; elvprsv does not  overwrite your text file.
elvprsv  sends mail  to  each user  whose  work it  preserves.  Should  the
preservation directory not be set  up correctly, elvprsv simply sends you a
mail message that describes how to it manually.

Files


/tmp/elv*
     Temporary file that elvis was using when it died.
/usr/preserve/p*
     Text that is preserved by elvprsv.
/usr/preserve/Index
     Text file that  names all preserved files and the  files in which they
     are preserved.

See Also

commands,
elvis,
elvrec

Notes

Due to the permissions  on directory /usr/preserve, only the superuser root
can run elvprsv.

If you  were editing a nameless  buffer when elvis died,  elvprsv saves its
contents in a file named foo.

elvprsv was written by Steve Kirkendall (kirkenda@cs.pdx.edu).