Home
last modified time | relevance | path

Searched refs:tape (Results 1 – 25 of 30) sorted by relevance

12

/titanic_44/usr/src/cmd/mt/
H A Dmt.c94 char *tape; in main() local
102 tape = argv[2]; in main()
105 tape = getenv("TAPE"); in main()
106 if (tape == NULL) { in main()
107 tape = DEFAULT_NRW_TAPE; in main()
129 mtfd = open(tape, comp->c_oflag); in main()
138 "%s: no tape loaded or drive offline\n", tape); in main()
141 "%s: write protected or reserved.\n", tape); in main()
143 perror(tape); in main()
194 tape, comp->c_name, mt_fileno); in main()
[all …]
/titanic_44/usr/src/cmd/allocate/
H A Dmkdevalloc.c87 struct tape { struct
91 } *tape; argument
270 ntape = expandmem(i, (void **)&tape, in dotape()
271 sizeof (struct tape)); in dotape()
280 tape[i].name = nm; in dotape()
283 if (lstat(tape[i].name, &stat) < 0) { in dotape()
291 if ((sz = readlink(tape[i].name, linkvalue, in dotape()
299 tape[i].device = nm; in dotape()
302 cp = strrchr(tape[i].device, '/'); in dotape()
304 (void) sscanf(cp, "%d", &tape[i].number); in dotape()
[all …]
/titanic_44/usr/src/cmd/rmt/
H A Drmt.c114 static int tape = -1; variable
217 rval = llseek(tape, atoll(count), atoi(pos)); in main()
269 rval = (offset_t)ioctl(tape, MTIOCTOP, in main()
294 rval = (offset_t)ioctl(tape, MTIOCGET, (char *)&mtget); in main()
375 rval = (offset_t)write(tape, record, n); in main()
389 rval = (offset_t)read(tape, record, n); in main()
422 rval = (offset_t)close(tape); in main()
430 (void) close(tape); in main()
442 tape = open(device, O_LARGEFILE | in main()
444 respond((offset_t)tape, errno); in main()
[all …]
/titanic_44/usr/src/cmd/backup/dump/
H A Ddumptape.c729 msg(gettext("Write error on %s\n"), tape); in tperror()
1039 if (strchr(tape, ':')) { in nextdevice()
1044 host = tape; in nextdevice()
1045 tape = strchr(host, ':'); in nextdevice()
1046 *tape++ = 0; in nextdevice()
1069 dumpdev = xmalloc((size_t)((sizeof (spcl.c_host) + strlen(tape) + 2))); in nextdevice()
1071 (void) sprintf(dumpdev, "%.*s:%s", (int)sizeof (spcl.c_host), cp, tape); in nextdevice()
1094 c = strrchr(tape, '/'); in isrewind()
1096 c = tape; in isrewind()
1105 else if ((strstr(tape, "mt") || strstr(tape, "st")) && in isrewind()
[all …]
H A Ddumpmain.c108 tape = DEFTAPE; in main()
232 tape = *argv; in main()
233 if (*tape == '\0') { in main()
243 if (strcmp(tape, "-") == 0 && verify) { in main()
379 if (strcmp(tape, "-") == 0) { in main()
491 if (strcmp(tape, "-") == 0) { in main()
493 tape = gettext("standard output"); in main()
494 dumpdev = sdumpdev = strdup(tape); in main()
505 } else if (*tape == '+') { in main()
510 if (diskette && strcmp(tape, DEFTAPE) == 0) in main()
[all …]
H A Ddumponline.c331 msg(gettext("Cannot re-dump active files to `%s'\n"), tape); in activepass()
378 tape); in activepass()
400 "Dumping active files (retry pass %d) to `%s'\n"), passno, tape); in activepass()
H A Ddump.h111 char *tape; /* name of the tape file */ variable
/titanic_44/usr/src/cmd/tar/
H A Dtar.dfl27 # purpose. The tape size is infinite and is defined at usage time
28 # directly from tape. Tape size should be non-zero for non-tape devices
/titanic_44/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.conf19 tape="sctp";
/titanic_44/usr/src/cmd/backup/lib/
H A Drmtlib.c231 rmtopen(char *tape, int mode) in rmtopen() argument
237 (void) snprintf(buf, sizeof (buf), "O%s\n%d\n", tape, mode); in rmtopen()
239 fd = rmtcall(tape, buf); in rmtopen()
/titanic_44/usr/src/cmd/devfsadm/
H A Ddevalloc.c197 dentry = devlist->tape; in _update_devalloc_db()
220 dentry = devlist->tape; in _update_devalloc_db()
H A Ddevfsadm.c340 devlist.audio = devlist.cd = devlist.floppy = devlist.tape = in main()
/titanic_44/usr/src/cmd/backup/restore/
H A Dlint.sed7 /tape.c",.*assigned value never used: mt .*(22[0-9])/d
H A DMakefile26 symtab.o tape.o utilities.o
H A Dtape.c105 char *tape; in setinput() local
108 tape = strchr(host, ':'); in setinput()
109 *tape++ = '\0'; in setinput()
110 if (strlen(tape) > (sizeof (magtape) - 1)) { in setinput()
114 (void) strcpy(magtape, tape); in setinput()
/titanic_44/usr/src/lib/libbsm/common/
H A Ddevalloc.h146 deventry_t *tape; member
H A Ddevalloc.c1771 dentry = dlist->tape; in da_add_list()
1889 dlist->tape = nentry; in da_add_list()
1943 dentry = dlist->tape; in da_remove_list()
2046 dlist->tape = current; in da_remove_list()
2088 dentry = &(dlist->tape); in da_rm_list_entry()
2155 dentry = devlist->tape; in da_print_device()
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtape.c53 SCSI_FAILOVER_OP("f_tape", tape);
/titanic_44/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
/titanic_44/usr/src/cmd/sa/
H A DREADME79 buffer usage and disk and tape activities from 8:00 to 18:01.
/titanic_44/usr/src/lib/libast/common/
H A DREADME87 strtape convert generic tape unit to /dev/* file
/titanic_44/usr/src/uts/common/io/mega_sas/
H A Dmega_sas.conf16 flow_control="dmult" queue="qsort" tape="sctp";
/titanic_44/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
/titanic_44/usr/src/uts/common/
H A DMakefile.files814 SCSI_VHCI_F_TAPE_OBJS += tape.o
/titanic_44/usr/src/cmd/look/
H A Dwords22414 tape

12