COHERENT manpages
This page displays the COHERENT manpage for elvrec [Recover the modified version of a file after a crash].
List of available manpages
Index
elvrec -- Command
Recover the modified version of a file after a crash
elvrec [preservedfile [newfile]]
Should elvis die while you were editing a file, it automatically invokes
the command elvprsv to preserve the most recent version of your edited
text. elvprsv stores the preserved text in a special directory: it does
not overwrite your text file
The command elvrec locates the preserved version of a file, and either
overwrites your text file or creates a new file, whichever you prefer. The
recovered file will hold nearly all of your changes.
To see a list of all recoverable files, run elvrec with no argument.
preservedfile names the file into which elvprsv had saved the edited
buffer. elvrec is very picky about file names: you must use exactly the
same path name as you did to edit the file.
newfile names the file into which elvrec writes the edited buffer. If you
do not name a newfile on its command line, elvrec overwrites your original
file with the preserved, edited version.
Files
/usr/preserve/p*
The text that was preserved when elvis died.
/usr/preserve/Index
The names of all preserved files, and the names of the files that
preserve their text.
See Also
commands,
elvis,
elvprsv
Notes
Due to the permissions on the directory /usr/preserve, only the superuser
root can run elvrec.
If you haven't set up a directory for file preservation, then you must
manually run the program elvprsv instead of elvrec.
If you were editing a nameless buffer when elvis died, then elvrec saves
the text into a file named foo.
elvrec was written by Steve Kirkendall (kirkenda@cs.pdx.edu).






