On Fri, Apr 27, 2012 at 1:43 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote: > > Why not just use the already existing SOCK_SEQPACKET sockets? Have you looked at the interface? The file descriptor is created in user space, and is defined to be a pipe. So both automount and systemd create a pipe, and then pass that pipe fd to the mount system call. So it is not autofs that creates the file descriptor for the user. It's the other way around: the user creates (using "pipe()") the file descriptor, and passes it to autofs. Linus -- To unsubscribe from this list: send the line "unsubscribe autofs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html