Home | History | Annotate | Download | only in restore
History log of /src/sbin/restore/main.c
RevisionDateAuthorComments
 1.37  19-Jun-2021  christos Add external attribute dumping and restoring support from FreeBSD.
Does not fully work yet, attributes are being saved and restored correctly,
but don't appear in the restored files somehow.
 1.36  05-Apr-2020  joerg Fix depenency on common symbols in sbin.
 1.35  22-Jan-2013  dholland branches: 1.35.30;
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
 1.34  29-Aug-2011  joerg branches: 1.34.2; 1.34.8;
Use __dead
 1.33  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
 1.32  20-Mar-2006  christos branches: 1.32.20; 1.32.24;
Coverity CID 2305: Fix memory leak.
 1.31  27-Jun-2005  christos sprinkle const.
 1.30  17-Feb-2005  xtraeme Kill __P(), use ANSI function declarations.
 1.29  08-Jan-2005  fredb Make a judicious choice as to whether to apply the permissions
of the root inode of the dump to the current working directory,
rather than interrogate the user. Closes PR bin/24690. Reviewed
by bouyer, tron, imp.
 1.28  24-Oct-2004  wiz Sort options in usage.
 1.27  22-Oct-2004  bouyer Add an option (-M) to write a mtree specification (which needs to be passed
through sort before being feed to mtree) with file flags, instead of restoring
file flags at the same time as other attributes. Fix various issue with
schg, uchg, sappnd or uappnd flags which cause restore to fail in some case.
Discussed on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2004/10/12/0000.html
 1.26  27-Jul-2004  wiz Add -D to usage; shorten -b argument for usage's sake; format usage.
Man page nits.
 1.25  27-Jul-2004  enami Whitespace nits.
 1.24  27-Jul-2004  enami Add -D flag which computes the digest of each regular files in the archive
using specified algorithm (currently md5, rmd160 or sha1) and write them
to standard output.
 1.23  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22308, verified by myself.
 1.22  18-Nov-2002  enami Don't allocate struct entry one by one; it just wastes memory.
 1.21  19-Feb-2001  cgd convert to use getprogname()
 1.20  09-Jun-2000  enami Force -t or -N flag disables -u flag (but -t case is just for sanity).
 1.19  09-Nov-1999  drochner branches: 1.19.2;
Since our gcc doesn't warn about NULL format strings anymore, we can
fix the incorrect err(1, "%s", "") et al.
Closes PR bin/7592 by cgd.
 1.18  24-Jun-1998  christos branches: 1.18.6;
Add an unlink (-u) flag so that we can use this for installs.
 1.17  10-Jan-1998  enami Document some undocumented options (-d and -N) and commands
in interactive mode (?, xit and Debug).
 1.16  16-Sep-1997  lukem resolve conflicts from lite-2 merge
 1.15  15-Sep-1997  lukem * cleanup for WARNS=1
* fix use of .Nm
 1.14  06-Jul-1997  lukem as inspired by a commit message of Todd Miller <millert@cvs.openbsd.org>:
* cleanup a bit for -Wall
* use __progname instead of "restore"
 1.13  01-Jul-1997  lukem Support using $TMPDIR for rst{dir,modes}* files, so that large
restores can be done on machines with small /tmp's by setting TMPDIR
elsewhere. This shouldn't be a security issue as restore(8) isn't
set?id anymore.
 1.12  15-Apr-1997  lukem use _PATH_DEFTAPE from <paths.h> instead of "pathnames.h"
cleanup references/examples to use /dev/rst* instead of /dev/rmt*
minor .Nm usage cleanup in man page
 1.11  15-Mar-1996  scottr Be more paranoid with our effective uid.
 1.10  06-Feb-1996  mrg support $TAPE.
 1.9  18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.8  21-Feb-1995  mycroft Document the getopt(3) option syntax, and some other documentation cleanup.
 1.7  20-Feb-1995  mycroft Use atexit() rather than tweaking every exit() to call the cleanup function.
 1.6  20-Feb-1995  mycroft Fix core dumps on certain types of invalid options.
 1.5  28-Dec-1994  mycroft Mostly sync with CSRG.
 1.4  08-Jun-1994  mycroft Update from 4.4-Lite, with local changes.
 1.3  22-Dec-1993  cgd new version from CSRG, via BSDI, with fixes
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  16-Sep-1997  lukem imported from lite-2
 1.1.1.2  13-Jun-1994  mycroft Import 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.18.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.19.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.32.24.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.32.20.1  28-Sep-2008  mjf Sync with HEAD.
 1.34.8.1  25-Feb-2013  tls resync with head
 1.34.2.1  23-Jan-2013  yamt sync with head
 1.35.30.1  08-Apr-2020  martin Merge changes from current as of 20200406

RSS XML Feed