source: trunk/minix/man/man1/elvrec.1@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 1.8 KB
Line 
1.TH ELVREC 1
2.SH NAME
3elvrec - Recover the modified version of a file after a crash
4.SH SYNOPSIS
5.nf
6\fBelvrec\fP [\fIpreservedfile\fP [\fInewfile\fR]]
7.fi
8.SH DESCRIPTION
9.PP
10If you're editing a file when \fIelvis\fP dies, the system crashes, or power fails,
11the most recent version of your text will be preserved.
12The preserved text is stored in a special directory; it does NOT overwrite
13your text file automatically.
14.PP
15The \fIelvrec\fP program locates the preserved version of a given file,
16and writes it over the top of your text file -- or to a new file, if you prefer.
17The recovered file will have nearly all of your changes.
18.PP
19To see a list of all recoverable files, run \fIelvrec\fP with no arguments.
20.SH FILES
21.IP /usr/preserve/p*
22The text that was preserved when \fIelvis\fP died.
23.IP /usr/preserve/Index
24A text file which lists the names of all preserved files, and the names
25of the /usr/preserve/p* files which contain their preserved text.
26.SH BUGS
27.PP
28\fIelvrec\fP is very picky about filenames.
29You must tell it to recover the file using exactly the same pathname as
30when you were editing it.
31The simplest way to do this is to go into the same directory that you were
32editing, and invoke \fIelvrec\fP with the same filename as \fIelvis\fP.
33If that doesn't work, then try running \fIelvrec\fP with no arguments,
34to see exactly which pathname it is using for the desired file.
35.PP
36Due to the permissions on the /usr/preserve directory, on UNIX systems
37\fIelvrec\fP must be run as superuser.
38This is accomplished by making the \fIelvrec\fP executable be owned by "root"
39and setting its "set user id" bit.
40.PP
41If you're editing a nameless buffer when \fIelvis\fP dies, then \fIelvrec\fP
42will pretend that the file was named "foo".
43.SH AUTHOR
44.nf
45Steve Kirkendall
46kirkenda@cs.pdx.edu
47.fi
Note: See TracBrowser for help on using the repository browser.