Lines Matching defs:dest
51 * Introduce -d add more dest-devices to worklist.
283 cmd_attach(const struct g_bde_softc *sc, const char *dest, const char *lfile)
293 gctl_ro_param(r, "provider", -1, dest);
306 errx(1, "Attach to %s failed: %s", dest, errstr);
312 cmd_detach(const char *dest)
321 sprintf(buf, "%s.bde", dest);
326 errx(1, "Detach of %s failed: %s", dest, errstr);
742 char *dest;
787 dest = strdup(argv[1]);
839 dfd = open(dest, O_RDWR);
840 if (dfd < 0 && dest[0] != '/') {
842 _PATH_DEV, dest) >= (ssize_t)sizeof(buf))
848 err(1, "%s", dest);
850 if (!memcmp(dest, _PATH_DEV, strlen(_PATH_DEV)))
851 strcpy(dest, dest + strlen(_PATH_DEV));
860 cmd_attach(&sc, dest, l_opt);
863 cmd_detach(dest);