Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jun 2006 10:15:51 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Andrei Kolu <antik@bsd.ee>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Gentoo compat /dev/null: No such file or directory
Message-ID:  <20060602101551.a7gw093w00440oo0@netchild.homeip.net>
In-Reply-To: <200606012303.41186.antik@bsd.ee>
References:  <200606012239.23120.antik@bsd.ee> <20060601194721.GD97883@dan.emsphone.com> <200606012303.41186.antik@bsd.ee>

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

Quoting Andrei Kolu <antik@bsd.ee> (from Thu, 1 Jun 2006 23:03:40 +0300):

> Ühel kenal päeval (neljapäev 01 juuni 2006 10:47 pm) kirjutasid sa:
>> devfs onto /compat/linux/dev
>
> # mkdir /compat/linux/dev
> # mknod /compat/linux/dev/null c 2 2
> # chmod 666 /compat/linux/dev/null
> # mount -t devfs devfs /compat/linux/dev

Forget about the mknod invocation, it's not necessary. My mounting  
devfs on top on this directory, you hide the created device node.  
Apart from this, device nodes created with mknod don't work anymore,  
you have to use a real devfs.

Bye,
Alexander.

-- 
Selling GoodYear Eagle F1 235/40ZR18, 2x 4mm + 2x 5mm, ~150 EUR
you have to pick it up between Germany/Saarland and Luxembourg/Capellen
http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060602101551.a7gw093w00440oo0>