X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Fdump.8.in;h=a3763a52ac352d83f7be423d94f55dceb8705231;hp=5d16fc77d53182fc3d6152c1b85cea63ecf0ecce;hb=b8f7cbe65e70f2ec792c447995ba00ca360ec0c9;hpb=a94ecd1155631b9f88488a19268874c0e3c6601c diff --git a/dump/dump.8.in b/dump/dump.8.in index 5d16fc7..a3763a5 100644 --- a/dump/dump.8.in +++ b/dump/dump.8.in @@ -30,7 +30,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id: dump.8.in,v 1.26 2001/04/10 13:42:22 stelian Exp $ +.\" $Id: dump.8.in,v 1.29 2001/07/18 13:12:33 stelian Exp $ .\" .Dd __DATE__ .Dt DUMP 8 @@ -117,7 +117,8 @@ The default level is 9. .It Fl B Ar records The number of 1 kB blocks per volume. This option overrides the end-of-media detection, and calculation -of tape size based on length and density. +of tape size based on length and density. If compression is on this +limits the size of the compressed output per volume. .It Fl a .Dq auto-size . Bypass all tape length calculations, and write @@ -201,7 +202,7 @@ The script must return 0 if .Nm should continue without asking the user to change the tape, 1 if .Nm -dump should continue but ask the user to change the tape. +should continue but ask the user to change the tape. Any other exit code will cause .Nm to abort. @@ -250,6 +251,18 @@ which is used by restore (if called with parameter Q and the filename) to directly position the tape at the file restore is currently working on. This saves hours when restoring single files from large backups, saves the tapes and the drive's head. +.Pp +It is recommended to set up the st driver to return logical tape +positions rather than physical before calling dump/restore with +parameter Q. Since not all tape devices support physical tape +positions those tape devices return an error during dump/restore when +the st driver is set to the default physical setting. +Please see the st man page, option MTSETDRVBUFFER, or the mt man +page, on how to set the driver to return logical tape positions. +.Pp +Before calling restore with parameter Q, always make sure the st +driver is set to return the same type of tape position used during the +call to dump. Otherwise restore may be confused. .It Fl s Ar feet Attempt to calculate the amount of tape needed at a particular density. If this amount is exceeded, @@ -483,6 +496,8 @@ Each reel requires a new process, so parent processes for reels already written just hang around until the entire tape is written. .Pp +The estimated number of tapes is not correct if compression is on. +.Pp It would be nice if .Nm knew about the dump sequence,