Date: Fri, 25 Mar 2005 07:35:59 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/restore dirs.c restore.h tape.c Message-ID: <200503250736.j2P7a0pC022460@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503250736.j2P7a0pC022460>