cvs commit: src/sbin/restore dirs.c restore.h tape.c

Warner Losh imp at FreeBSD.org
Thu Mar 24 23:36:01 PST 2005


imp         2005-03-25 07:35:59 UTC

  FreeBSD src repository

  Modified files:
    sbin/restore         dirs.c restore.h tape.c 
  Log:
  Restore the ability to read FreeBSD 1 tapes (and I think any net2
  based tapes, but I'm not sure where NFS_MAGIC was introduced after
  4.3).  When support for the pre-4.4 format was removed (the ability to
  read 4.2 and 4.3 BSD tapes), the old format inode conversion was
  junked as well.  However, FreeBSD 1 dump tapes use the NFS_MAGIC
  format, but have this inode format.  Before, restore would fail
  complaining that '.' wasn't found and the root directory wasn't on
  this tape.  Since the conversion from the not so old format is
  relatively trivial, restore the code to make that conversion.
  
  FreeBSD 1 dumps are once again readable.
  
  MFC After: a few days
  
  Revision  Changes    Path
  1.29      +10 -0     src/sbin/restore/dirs.c
  1.9       +3 -0      src/sbin/restore/restore.h
  1.43      +11 -0     src/sbin/restore/tape.c


More information about the cvs-src mailing list