Lines Matching refs:dest
53 * Introduce -d add more dest-devices to worklist.
285 cmd_attach(const struct g_bde_softc *sc, const char *dest, const char *lfile)
295 gctl_ro_param(r, "provider", -1, dest);
307 errx(1, "Attach to %s failed: %s", dest, errstr);
313 cmd_detach(const char *dest)
322 sprintf(buf, "%s.bde", dest);
327 errx(1, "Detach of %s failed: %s", dest, errstr);
743 char *dest;
788 dest = strdup(argv[1]);
840 dfd = open(dest, O_RDWR);
841 if (dfd < 0 && dest[0] != '/') {
843 _PATH_DEV, dest) >= (ssize_t)sizeof(buf))
849 err(1, "%s", dest);
851 if (!memcmp(dest, _PATH_DEV, strlen(_PATH_DEV)))
852 strcpy(dest, dest + strlen(_PATH_DEV));
861 cmd_attach(&sc, dest, l_opt);
864 cmd_detach(dest);