Searched refs:dc_device (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/dumpadm/ |
H A D | dconf.c | 98 (void) strcpy(dcp->dc_device, DC_STR_SWAP); 226 if (ioctl(dcp->dc_dump_fd, DIOCGETDEV, dcp->dc_device) == -1) { 231 dcp->dc_device[0] = '\0'; 343 if (ioctl(dcp->dc_dump_fd, cmd, dcp->dc_device) == 0) 348 warn(gettext("dumps not supported on %s\n"), dcp->dc_device); 351 warn(gettext("device %s is already in use\n"), dcp->dc_device); 356 "a dump device\n"), dcp->dc_device); 364 warn(gettext("cannot use %s as dump device"), dcp->dc_device); 378 if (checkinuse && (dm_inuse(dcp->dc_device, &msg, DM_WHO_DUMP, 382 " in use"), dcp->dc_device); [all...] |
H A D | dconf.h | 38 char dc_device[MAXPATHLEN]; /* Dump device path */ member in struct:dumpconf
|
Completed in 44 milliseconds