Function: tramp-get-remote-mknod-or-mkfifo
tramp-get-remote-mknod-or-mkfifo is a byte-compiled function defined
in tramp-sh.el.gz.
Signature
(tramp-get-remote-mknod-or-mkfifo VEC)
Documentation
Determine remote mknod or mkfifo command.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
(defun tramp-get-remote-mknod-or-mkfifo (vec)
"Determine remote `mknod' or `mkfifo' command."
(with-tramp-connection-property vec "mknod-or-mkfifo"
(tramp-message vec 5 "Finding a suitable `mknod' or `mkfifo' command")
(let ((tmpfile (tramp-make-tramp-temp-name vec))
command)
(prog1
(or (and (setq command "mknod %s p")
(tramp-send-command-and-check
vec (format command (tramp-file-local-name tmpfile)))
command)
(and (setq command "mkfifo %s")
(tramp-send-command-and-check
vec (format command (tramp-file-local-name tmpfile)))
command))
(delete-file tmpfile)))))