Home
last modified time | relevance | path

Searched refs:dc_device (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c101 (void) strcpy(dcp->dc_device, DC_STR_SWAP); in dconf_init()
231 if (ioctl(dcp->dc_dump_fd, DIOCGETDEV, dcp->dc_device) == -1) { in dconf_getdev()
236 dcp->dc_device[0] = '\0'; in dconf_getdev()
348 if (ioctl(dcp->dc_dump_fd, cmd, dcp->dc_device) == 0) in dconf_dev_ioctl()
353 warn(gettext("dumps not supported on %s\n"), dcp->dc_device); in dconf_dev_ioctl()
356 warn(gettext("device %s is already in use\n"), dcp->dc_device); in dconf_dev_ioctl()
361 "a dump device\n"), dcp->dc_device); in dconf_dev_ioctl()
369 warn(gettext("cannot use %s as dump device"), dcp->dc_device); in dconf_dev_ioctl()
383 if (checkinuse && (dm_inuse(dcp->dc_device, &msg, DM_WHO_DUMP, in dconf_update()
387 " in use"), dcp->dc_device); in dconf_update()
[all …]
H A Ddconf.h40 char dc_device[MAXPATHLEN]; /* Dump device path */ member