Files
oldlinux-files/Minix/2.0.0/wwwman/man1/recover.1.html
2024-02-19 00:21:39 -05:00

72 lines
1.1 KiB
HTML

<HTML>
<HEAD>
<TITLE>recover(1)</TITLE>
</HEAD>
<BODY>
<H1>recover(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
recover - recover files that have been removed.
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>recover</STRONG> <EM>file</EM> ...
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>rm</STRONG> <STRONG>x;</STRONG> <STRONG>recover</STRONG> <STRONG>x</STRONG> # Unremove x
<STRONG>recover</STRONG> <STRONG>a</STRONG> <STRONG>b</STRONG> <STRONG>c</STRONG> # Recover three files
</PRE>
<H2>DESCRIPTION</H2><PRE>
MINIX allows files that have been deleted (e.g., with <EM>rm</EM>) to be restored
(in /<EM>tmp</EM>). The trick is that when a file is unlinked, its i-node number
is kept in the directory entry. As long as the directory entry and disk
blocks are not reused, the file can be recovered. This program is
actually just a little front end for <EM>de</EM>, which must be installed as a
set-uid root executable.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man9/de.9.html">de(9)</A></STRONG>.
</PRE>
</BODY>
</HTML>