From owner-freebsd-current@FreeBSD.ORG Mon Dec 6 09:29:19 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 9AC5616A4D0 for ; Mon, 6 Dec 2004 09:29:19 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D13C43D73 for ; Mon, 6 Dec 2004 09:29:18 +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 iB69T6K3078804; Mon, 6 Dec 2004 10:29:06 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Michiel Boland From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 06 Dec 2004 10:19:41 +0100." <20041206091941.GA23932@xs4all.nl> Date: Mon, 06 Dec 2004 10:29:06 +0100 Message-ID: <78803.1102325346@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org Subject: Re: mkdir in /dev causes crash 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: Mon, 06 Dec 2004 09:29:19 -0000 In message <20041206091941.GA23932@xs4all.nl>, Michiel Boland writes: >Hi. If I create a directory in /dev, the kernel crashes at > > kern_mkdir+0x293: movl 0x60,%ecx > >(Sorry, I forgot to take the console output to work, so I don't have >much more info.) > >I guess this is related to changes made to /sys/fs/devfs/devfs_vnops.c >et al? Right off the top of my head I can't reproduce it: syv# mkdir /dev/foo mkdir: /dev/foo: Operation not supported syv# mkdir /dev/tty mkdir: /dev/tty: File exists -- 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.