From owner-freebsd-current@FreeBSD.ORG Tue Oct 26 17:19:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E3C516A4CE for ; Tue, 26 Oct 2004 17:19:17 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7398643D48 for ; Tue, 26 Oct 2004 17:19:16 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i9QHJEr9046413; Tue, 26 Oct 2004 19:19:15 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Sam From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 26 Oct 2004 12:49:27 CDT." Date: Tue, 26 Oct 2004 19:19:14 +0200 Message-ID: <46412.1098811154@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@freebsd.org Subject: Re: AoE disk, stray ioctl? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 17:19:17 -0000 In message , Sam writes: >When I do the write, I see two attempted ioctl calls with a >a command of 1076655123 (402C7413h). I return ENOTTY and 0x402c7413 -- -> number 19 ---- -> group 't' ------ -> length of arg (44) -------- -> direction (out) ttycom.h:#define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */ You're handling it correctly. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.