Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 May 2008 10:15:03 -0400
From:      Vivek Khera <vivek@khera.org>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Is it possible to create a directory under /dev?
Message-ID:  <D8822916-D7B0-4ADB-87A9-03487069E8C9@khera.org>
In-Reply-To: <e71790db0805210544h7ec88c74xceb02e98eed0f1ec@mail.gmail.com>
References:  <e71790db0805210544h7ec88c74xceb02e98eed0f1ec@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 21, 2008, at 8:44 AM, Carlos A. M. dos Santos wrote:

> I attempted this:
>
>     # mkdir /dev/foo
>     mkdir: /dev/foo: Operation not supported
>
> Any suggestions (besides creating it elsewhere, of course)?

Assuming you're using a modern FreeBSD (version number would be  
useful), /dev does not live on a file system.  It exists as its own  
file system, controlled by devfs.  Check the man page for devfs for  
details.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D8822916-D7B0-4ADB-87A9-03487069E8C9>