Searched refs:tape (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/sbin/dump/ |
H A D | Makefile | 8 # dumprmt.c handles remote tape via rmt(8) 9 # tape.c handles the mag tape and opening/closing 20 SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c
|
H A D | main.c | 75 int blockswritten = 0; /* number of blocks written on current tape */ 76 int tapeno = 0; /* current tape number */ 78 int ntrec = NTREC; /* # tape blocks in each tape record */ 79 int cartridge = 0; /* Assume non-cartridge tape */ 115 tape = NULL; 144 case 'b': /* blocks per tape write */ 171 tape = optarg; 187 if (tape != NULL) 207 case 's': /* tape siz [all...] |
H A D | tape.c | 32 static char sccsid[] = "@(#)tape.c 8.4 (Berkeley) 5/1/95"; 61 int writesize; /* size of malloc()ed buffer for tape */ 62 int64_t lastspclrec = -1; /* tape block number of last written header */ 66 extern int ntrec; /* blocking factor on tape */ 80 * Concurrent dump mods (Caltech) - disk block reading and tape writing 82 * tape, the others read disk blocks; they pass control of the tape in 111 int tenths; /* length of tape used per block written */ 131 * variable, 0.30" to 0.45". The gap is maximal when the tape stops. 137 * Allocate tape buffe [all...] |
H A D | dump.h | 58 char *tape; /* name of the tape file */ variable 59 char *popenout; /* popen(3) per-"tape" command */ 66 int tapefd; /* tape file descriptor */ 69 int newtape; /* new tape flag */ 71 long tapesize; /* estimated tape size, blocks */ 72 long tsize; /* tape size in 0.1" units */ 73 long asize; /* number of 0.1" units written on current tape */ 81 int blockswritten; /* number of blocks written on current tape */ 82 int tapeno; /* current tape numbe [all...] |
H A D | dumprmt.c | 81 extern int ntrec; /* blocking factor on tape */ 201 rmtopen(const char *tape, int mode) argument 205 (void)snprintf(buf, sizeof (buf), "O%.226s\n%d\n", tape, mode); 207 return (rmtcall(tape, buf)); 339 msg("Protocol to remote tape server botched (code \"%s\").\n", 372 msg("Protocol to remote tape server botched.\n");
|
/freebsd-11-stable/usr.sbin/rmt/ |
H A D | rmt.c | 57 static int tape = -1; variable 101 if (tape >= 0) 102 (void) close(tape); 111 tape = open(device, atoi(mode), 0666); 112 if (tape < 0) 119 if (close(tape) < 0) 121 tape = -1; 128 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos)); 145 rval = write(tape, record, n); 155 rval = read(tape, recor [all...] |
/freebsd-11-stable/sbin/restore/ |
H A D | Makefile | 11 SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
|
/freebsd-11-stable/usr.bin/mt/ |
H A D | mt.c | 78 * magnetic tape manipulation program 185 static int mt_locate(int argc, char **argv, int mtfd, const char *tape); 189 const char *tape); 213 const char *p, *tape; local 217 if ((tape = getenv("TAPE")) == NULL) 218 tape = DEFTAPE; 224 tape = optarg; 255 if ((mtfd = open(tape, comp->c_ronly ? O_RDONLY : O_RDWR)) < 0) 256 err(1, "%s", tape); 303 err(2, "%s", tape); 662 mt_locate(int argc, char **argv, int mtfd, const char *tape) argument 999 mt_xml_cmd(unsigned long cmd, int argc, char **argv, int mtfd, const char *tape) argument [all...] |
Completed in 170 milliseconds