mkdir in /dev causes crash

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Dec 6 01:29:19 PST 2004


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.


More information about the freebsd-current mailing list