Searched refs:tape (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.1-release/sbin/dump/
H A DMakefile8 # dumprmt.c handles remote tape via rmt(8)
9 # tape.c handles the mag tape and opening/closing
19 SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c
H A Dmain.c75 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 Dtape.c32 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 Ddump.h58 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 Ddumprmt.c81 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-10.1-release/sbin/restore/
H A DMakefile10 SRCS= main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
/freebsd-10.1-release/usr.sbin/rmt/
H A Drmt.c57 static int tape = -1; variable
99 if (tape >= 0)
100 (void) close(tape);
109 tape = open(device, atoi(mode), 0666);
110 if (tape < 0)
117 if (close(tape) < 0)
119 tape = -1;
126 rval = lseek(tape, (off_t)strtoll(count, NULL, 10), atoi(pos));
143 rval = write(tape, record, n);
153 rval = read(tape, recor
[all...]
/freebsd-10.1-release/usr.bin/mt/
H A Dmt.c47 * magnetic tape manipulation program
136 const char *p, *tape; local
138 if ((tape = getenv("TAPE")) == NULL)
139 tape = DEFTAPE;
145 tape = optarg;
169 if ((mtfd = open(tape, comp->c_ronly ? O_RDONLY : O_RDWR)) < 0)
170 err(1, "%s", tape);
216 err(2, "%s", tape);
252 err(2, "%s", tape);
253 (void)printf("%s: %s block location %u\n", tape,
[all...]
/freebsd-10.1-release/contrib/tcsh/
H A Dcomplete.tcsh1016 one-file-system tape-length modification-time \
1041 n/{-L,--tape-length}/x:'<tape_length_in_kB>'/ \

Completed in 118 milliseconds