Is it possible to create a directory under /dev?

Carlos A. M. dos Santos unixmania at gmail.com
Thu May 22 03:22:32 UTC 2008


On Wed, May 21, 2008 at 2:06 PM, Oliver Fromme <olli at lurza.secnetix.de> wrote:
> Carlos A. M. dos Santos <> wrote:
>  > I attempted this:
>  >
>  >      # mkdir /dev/foo
>  >      mkdir: /dev/foo: Operation not supported
>
> DEVFS is a "virtual" filesystem [...]

I already knew that. :-)

>  > Any suggestions (besides creating it elsewhere, of course)?
>
> That depends on the purpose.  *Why* do you want to create
> a subdirectory in /dev?  What do you want to do with it?

I intended to use it as the mount point for a filesystem.

-- 
Carlos A. M. dos Santos


More information about the freebsd-stable mailing list