ELVREC.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:2k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH ELVREC 1
- .SH NAME
- elvrec - Recover the modified version of a file after a crash
- .SH SYNOPSIS
- .nf
- fBelvrecfP [fIpreservedfilefP [fInewfilefR]]
- .fi
- .SH DESCRIPTION
- .PP
- If you're editing a file when fIelvisfP dies, the system crashes, or power fails,
- the most recent version of your text will be preserved.
- The preserved text is stored in a special directory; it does NOT overwrite
- your text file automatically.
- .PP
- The fIelvrecfP program locates the preserved version of a given file,
- and writes it over the top of your text file -- or to a new file, if you prefer.
- The recovered file will have nearly all of your changes.
- .PP
- To see a list of all recoverable files, run fIelvrecfP with no arguments.
- .SH FILES
- .IP /usr/preserve/p*
- The text that was preserved when fIelvisfP died.
- .IP /usr/preserve/Index
- A text file which lists the names of all preserved files, and the names
- of the /usr/preserve/p* files which contain their preserved text.
- .SH BUGS
- .PP
- fIelvrecfP is very picky about filenames.
- You must tell it to recover the file using exactly the same pathname as
- when you were editing it.
- The simplest way to do this is to go into the same directory that you were
- editing, and invoke fIelvrecfP with the same filename as fIelvisfP.
- If that doesn't work, then try running fIelvrecfP with no arguments,
- to see exactly which pathname it is using for the desired file.
- .PP
- Due to the permissions on the /usr/preserve directory, on UNIX systems
- fIelvrecfP must be run as superuser.
- This is accomplished by making the fIelvrecfP executable be owned by "root"
- and setting its "set user id" bit.
- .PP
- If you're editing a nameless buffer when fIelvisfP dies, then fIelvrecfP
- will pretend that the file was named "foo".
- .SH AUTHOR
- .nf
- Steve Kirkendall
- kirkenda@cs.pdx.edu
- .fi