svn commit: r321920 - head/sys/sys

Konstantin Belousov kostikbel at gmail.com
Thu Aug 3 08:13:33 UTC 2017


On Thu, Aug 03, 2017 at 10:02:48AM +0200, Hans Petter Selasky wrote:
> On 08/03/17 09:57, Konstantin Belousov wrote:
> >   .Xr mknod 2 ,
> 
> Should mknod be removed from base or stubbed in light of the more recent 
> devfs ?

mknod is used on devfs as a way to 'undelete' devfs node.  You may do
	rm /dev/node
and then
	mknod /dev/node ...
would restore it.

Also, for UFS or other filesystems which are exported by NFS, mknod is
useful to provide device nodes for non-FreeBSD clients.


More information about the svn-src-all mailing list