Re: mkdir in /dev causes crash

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 06 Dec 2004 10:29:06 +0100
In message <20041206091941.GA23932_at_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_at_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.
Received on Mon Dec 06 2004 - 08:29:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC