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

/opensolaris-onvv-gate/usr/src/cmd/mt/
H A Dmt.c15 * mt -- magnetic tape manipulation program
94 char *tape; local
102 tape = argv[2];
105 tape = getenv("TAPE");
106 if (tape == NULL) {
107 tape = DEFAULT_NRW_TAPE;
129 mtfd = open(tape, comp->c_oflag);
138 "%s: no tape loaded or drive offline\n", tape);
141 "%s: write protected or reserved.\n", tape);
[all...]
/opensolaris-onvv-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c32 * tape (cartridge)
87 struct tape { struct
91 } *tape; variable in typeref:struct:tape
270 ntape = expandmem(i, (void **)&tape,
271 sizeof (struct tape));
280 tape[i].name = nm;
283 if (lstat(tape[i].name, &stat) < 0) {
291 if ((sz = readlink(tape[i].name, linkvalue,
299 tape[i].device = nm;
302 cp = strrchr(tape[
[all...]
/opensolaris-onvv-gate/usr/src/cmd/rmt/
H A Drmt.c30 * Has three locks (for stdin, stdout, and the tape)
114 static int tape = -1; variable
217 rval = llseek(tape, atoll(count), atoi(pos));
269 rval = (offset_t)ioctl(tape, MTIOCTOP,
294 rval = (offset_t)ioctl(tape, MTIOCGET, (char *)&mtget);
375 rval = (offset_t)write(tape, record, n);
389 rval = (offset_t)read(tape, record, n);
422 rval = (offset_t)close(tape);
430 (void) close(tape);
442 tape
[all...]
/opensolaris-onvv-gate/usr/src/cmd/backup/dump/
H A Ddumptape.c44 static uint_t writesize; /* size of malloc()ed buffer for tape */
45 static ino_t inos[TP_NINOS]; /* starting inodes on each tape */
56 * the slaves. The tape writer passes out the current inode,
57 * offset, and number of tape records written after completing a volume.
78 short tflag; /* begin new tape */
100 ino_t sl_inos; /* inos, if this record starts tape */
103 int sl_tapea; /* header number, if starting tape */
104 int sl_firstrec; /* number of first block on tape */
143 static int writer = -1; /* fd of tape writer */
144 static pid_t writepid; /* pid of tape write
[all...]
H A Ddumponline.c331 msg(gettext("Cannot re-dump active files to `%s'\n"), tape);
346 reset(); /* reset tape params */
372 * A "rewind" tape device. When we do
378 tape);
389 * Not a tape. Do a volume switch.
400 "Dumping active files (retry pass %d) to `%s'\n"), passno, tape);
H A Ddumpmain.c45 int blockswritten = 0; /* number of blocks written on current tape */
46 uint_t tapeno = 0; /* current tape number */
47 daddr32_t filenum = 0; /* current file number on tape */
50 uint_t ntrec = 0; /* # tape blocks in each tape record */
53 int cartridge = 0; /* assume non-cartridge tape */
54 uint_t tracks; /* # tracks on a cartridge tape */
58 int32_t tp_bsize = TP_BSIZE_MIN; /* tape block record size (frag size) */
108 tape = DEFTAPE;
120 * tapes. Fail when we try to access a remote tape
[all...]
H A Ddump.h111 char *tape; /* name of the tape file */ variable
112 char *host; /* name of the remote tape host (may be "user@host") */
120 char *tlabel; /* what goes in tape header c_label field */
123 int to; /* tape file descriptor */
126 int tapeout; /* true => output to a tape drive */
129 int leftover; /* number of tape recs left over from prev vol */
131 int newtape; /* new tape flag */
135 ulong_t tsize; /* tape size in 0.1" units */
136 u_offset_t esize; /* estimated tape siz
[all...]
/opensolaris-onvv-gate/usr/src/cmd/backup/lib/
H A Drmtlib.c47 static uint_t ntrec; /* blocking factor on tape */
231 rmtopen(char *tape, int mode) argument
237 (void) snprintf(buf, sizeof (buf), "O%s\n%d\n", tape, mode);
239 fd = rmtcall(tape, buf);
466 * and the tape is not loaded (EIO error)
481 "Protocol to remote tape server botched (code %s?).\n"),
509 "Protocol to remote tape server botched (in rmtgets).\n"));
/opensolaris-onvv-gate/usr/src/cmd/backup/restore/
H A DMakefile26 symtab.o tape.o utilities.o
H A Dtape.c41 static int bct; /* block # index into tape record buffer */
42 static int numtrec; /* # of logical blocks in current tape record */
49 static long tapea; /* current logical block # on tape */
105 char *tape; local
108 tape = strchr(host, ':');
109 *tape++ = '\0';
110 if (strlen(tape) > (sizeof (magtape) - 1)) {
114 (void) strcpy(magtape, tape);
179 * Verify that the tape drive can be accessed and
180 * that it actually is a dump tape
[all...]
/opensolaris-onvv-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.h70 /* audio, cd, floppy, rmdisk, tape */
123 #define DA_TAPE_NAME "tape"
146 deventry_t *tape; member in struct:_devlist_t
H A Ddevalloc.c822 * device type one of: cdrom, floppy, audio, rmdisk, or tape.
1771 dentry = dlist->tape;
1889 dlist->tape = nentry;
1943 dentry = dlist->tape;
2046 dlist->tape = current;
2088 dentry = &(dlist->tape);
2155 dentry = devlist->tape;
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtape.c28 * Implementation of "scsi_vhci_f_tape" tape failover_ops.
30 * This file was historically meant for only tape implementation. It has
31 * been extended to manage SUN "supported" tape controllers. The supported
53 SCSI_FAILOVER_OP("f_tape", tape);
138 * NO OP for tape.
/opensolaris-onvv-gate/usr/src/cmd/devfsadm/
H A Ddevalloc.c197 dentry = devlist->tape;
220 dentry = devlist->tape;
H A Ddevfsadm.c75 * audio, floppy, cd, floppy, tape, rmdisk.
340 devlist.audio = devlist.cd = devlist.floppy = devlist.tape =
527 compat_class = "tape";
4810 * logical unit/controller numbers for such items as disk and tape
/opensolaris-onvv-gate/usr/src/cmd/devmgmt/mkdtab/
H A Dmkdtab.c317 * Add device table entry for the cartridge tape drive.
320 tape(const int driveno, const char *drivenm) function
324 "desc=\"Tape Drive\" volume=\"tape\" "
350 tape(atoi(dirp->d_name), dirp->d_name);
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/tptregexp/
H A DREADME51 The software was nearly complete at the time of arrival of our V8 tape.
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/ents/frudr/
H A DSB-tables.info51 name:/frutree/chassis/RMD0/tape
54 PROP Class string r 0 "tape"
73 REFPROP _fru_parent name:/frutree/chassis/RMD0/tape
/opensolaris-onvv-gate/usr/src/uts/common/io/mega_sas/
H A Dmega_sas.conf16 flow_control="dmult" queue="qsort" tape="sctp";
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/sun4u/ents/frutree/
H A Dpiclfrutree.info246 REFNODE tape fru WITH name:/platform/pci@1d,700000/scsi@4/st@4,0
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/Peek/
H A DPeek.pm552 responsible. Keep a handy copy of your backup tape at hand.
/opensolaris-onvv-gate/usr/src/uts/common/
H A DMakefile.files809 SCSI_VHCI_F_TAPE_OBJS += tape.o

Completed in 233 milliseconds