FreeBSD Bugzilla – Attachment 156522 Details for
Bug 200059
[patch] restore(8) re-enable the ability to read some byte swapped dumps
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
restore(8) patch to enable reading byte swapped NFS_MAGIC dumps
restore.diff (text/plain), 525 bytes, created by
Keith White
on 2015-05-09 00:50:07 UTC
(
hide
)
Description:
restore(8) patch to enable reading byte swapped NFS_MAGIC dumps
Filename:
MIME Type:
Creator:
Keith White
Created:
2015-05-09 00:50:07 UTC
Size:
525 bytes
patch
obsolete
>Index: sbin/restore/tape.c >=================================================================== >--- sbin/restore/tape.c (revision 282672) >+++ sbin/restore/tape.c (working copy) >@@ -1368,8 +1368,8 @@ > return (FAIL); > } > if (swabl(buf->c_magic) != FS_UFS2_MAGIC && >- buf->c_magic != NFS_MAGIC) { >- if (buf->c_magic == OFS_MAGIC) { >+ swabl(buf->c_magic) != NFS_MAGIC) { >+ if (swabl(buf->c_magic) == OFS_MAGIC) { > fprintf(stderr, > "Format of dump tape is too old. Must use\n"); > fprintf(stderr,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200059
: 156522