source: trunk/minix/man/man8/elvprsv.8@ 12

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

Minix 3.1.2a

File size: 1.9 KB
Line 
1.TH ELVPRSV 8
2.SH NAME
3elvprsv - Preserve the the modified version of a file after a crash.
4.SH SYNOPSIS
5.nf
6\fB\fBelvprsv\fP ["-\fIwhy elvis died\fP"] /tmp/\fIfilename\fP...
7\fB\fBelvprsv\fP -R /tmp/\fIfilename\fP...
8.fi
9.SH DESCRIPTION
10.PP
11\fIelvprsv\fP preserves your edited text after \fIelvis\fP dies.
12The text can be recovered later, via the \fIelvprsv\fP program.
13.PP
14For UNIX-like systems,
15you should never need to run this program from the command line.
16It is run automatically when \fIelvis\fP is about to die,
17and it should be run (via /etc/rc) when the computer is booted.
18THAT'S ALL!
19.PP
20For non-UNIX systems such as MS-DOS, you can either use \fIelvprsv\fP
21the same way as under UNIX systems (by running it from your AUTOEXEC.BAT file),
22or you can run it separately with the "-R" flag to recover the files
23in one step.
24.PP
25If you're editing a file when \fIelvis\fP dies
26(due to a bug, system crash, power failure, etc.)
27then \fIelvprsv\fP will preserve the most recent version of your text.
28The preserved text is stored in a special directory; it does NOT overwrite
29your text file automatically.
30.PP
31\fIelvprsv\fP will send mail to any user whose work it preserves,
32if your operating system normally supports mail.
33.SH FILES
34.IP /tmp/elv*
35The temporary file that \fIelvis\fP was using when it died.
36.IP /usr/preserve/p*
37The text that is preserved by \fIelvprsv\fP.
38.IP /usr/preserve/Index
39A text file which lists the names of all preserved files, and the names
40of the /usr/preserve/p* files which contain their preserved text.
41.SH BUGS
42.PP
43Due to the permissions on the /usr/preserve directory, on UNIX systems
44\fIelvprsv\fP must be run as superuser.
45This is accomplished by making the \fIelvprsv\fP executable be owned by "root"
46and turning on its "set user id" bit.
47.PP
48If you're editing a nameless buffer when \fIelvis\fP dies, then \fIelvprsv\fP will pretend
49that the file was named "foo".
50.SH AUTHOR
51.nf
52Steve Kirkendall
53kirkenda@cs.pdx.edu
54.fi
Note: See TracBrowser for help on using the repository browser.