Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rescue(8) [netbsd man page]

RESCUE(8)						    BSD System Manager's Manual 						 RESCUE(8)

NAME
rescue -- rescue utilities in /rescue DESCRIPTION
The /rescue directory contains a collection of common utilities intended for use in recovering a badly damaged system. With the transition to a dynamically-linked root beginning with NetBSD 2.0, there is a real possibility that the standard tools in /bin and /sbin may become non- functional due to a failed upgrade or a disk error. The tools in /rescue are statically linked and should therefore be more resistant to damage. However, being statically linked, the tools in /rescue are also less functional than the standard utilities. In particular, they do not have full use of the locale, pam(3), and nsswitch libraries. If your system fails to boot, and it shows an error message similar to: init: not found try booting the system with the boot flag ``-a'' and supplying /rescue/init, which is the rescue init(8), as the init path. If your system fails to boot, and it shows a prompt similar to: Enter full pathname of shell or RETURN for /bin/sh: the first thing to try running is the standard shell, /bin/sh. If that fails, try running /rescue/sh, which is the rescue shell. To repair the system, the root partition must first be remounted read-write. This can be done with the following mount(8) command: /rescue/mount -uw / The next step is to double-check the contents of /bin, /lib, /libexec, and /sbin, possibly mounting a NetBSD installation CD-ROM and copying files from there. Once it is possible to successfully run /bin/sh, /bin/ls, and other standard utilities, try rebooting back into the stan- dard system. The /rescue tools are compiled using crunchgen(1), which makes them considerably more compact than the standard utilities. FILES
/rescue Root of the rescue hierarchy. SEE ALSO
crunchgen(1) HISTORY
The rescue utilities first appeared in NetBSD 2.0. AUTHORS
The rescue system was written by Luke Mewburn <lukem@NetBSD.org>. This manual page was written by Simon L. Nielsen <simon@FreeBSD.org>, based on text by Tim Kientzle <kientzle@FreeBSD.org>. BUGS
Most of the rescue tools work even in a fairly crippled system. The most egregious exception is the rescue version of vi(1), which currently requires that /usr be mounted so that it can access the termcap(5) files. Hopefully, a failsafe termcap(3) entry will eventually be added into the curses(3) library, so that /rescue/vi can be used even in a system where /usr cannot immediately be mounted. In the meantime, the rescue version of the ed(1) editor can be used from /rescue/ed if you need to edit files, but cannot mount /usr. BSD
January 20, 2009 BSD

Check Out this Related Man Page

DDRESCUELOG(1)							   User Commands						    DDRESCUELOG(1)

NAME
ddrescuelog - tool for ddrescue logfiles SYNOPSIS
ddrescuelog [options] logfile DESCRIPTION
GNU ddrescuelog - Tool for ddrescue logfiles. Manipulates ddrescue logfiles, shows their contents, converts them to/from other formats, compares them, and tests rescue status. OPTIONS
-h, --help display this help and exit -V, --version output version information and exit -a, --change-types=<ot>,<nt> change the block types of a logfile -b, --block-size=<bytes> block size in bytes [default 512] -c, --create-logfile[=<tt>] create logfile from list of blocks [+-] -d, --delete-if-done delete the logfile if rescue is finished -D, --done-status return 0 if rescue is finished -f, --force overwrite existing output files -i, --input-position=<bytes> starting position of rescue domain [0] -l, --list-blocks=<types> print block numbers of given types (?*/-+) -m, --domain-logfile=<file> restrict domain to finished blocks in file -n, --invert-logfile invert block types (finished <-> others) -o, --output-position=<bytes> starting position in output file [ipos] -p, --compare-logfile=<file> compare block types in domain of both files -q, --quiet suppress all messages -s, --max-size=<bytes> maximum size of rescue domain to be processed -t, --show-status show a summary of logfile contents -v, --verbose be verbose (a 2nd -v gives more) -x, --xor-logfile=<file> XOR the finished blocks in file with logfile -y, --and-logfile=<file> AND the finished blocks in file with logfile -z, --or-logfile=<file> OR the finished blocks in file with logfile Numbers may be followed by a multiplier: b = blocks, k = kB = 10^3 = 1000, Ki = KiB = 2^10 = 1024, M = 10^6, Mi = 2^20, G = 10^9, Gi = 2^30, etc... REPORTING BUGS
Report bugs to bug-ddrescue@gnu.org Ddrescue home page: http://www.gnu.org/software/ddrescue/ddrescue.html General help using GNU software: http://www.gnu.org/gethelp COPYRIGHT
Copyright (C) 2012 Antonio Diaz Diaz. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ddrescuelog 1.16 June 2012 DDRESCUELOG(1)
Man Page