From d82d9c329c39a022816fffb6b5ba4ec7c56f97da Mon Sep 17 00:00:00 2001 From: alfred Date: Mon, 29 Dec 2003 00:37:52 +0000 Subject: Document that mknod(8) can be used to undelete entries under devfs. --- sbin/mknod/mknod.8 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sbin/mknod') diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index 55e3f2f..ea250da 100644 --- a/sbin/mknod/mknod.8 +++ b/sbin/mknod/mknod.8 @@ -103,6 +103,19 @@ so that a leading indicates a hexadecimal number, and a leading .Ql 0 will cause the number to be interpreted as octal. +.Pp +The +.Nm +tool can be used to recreate deleted device nodes under a +.Xr devfs 5 , +mount point by invoking it using dummy arguments. Example: +.Bd -literal -offset indent +mknod cd0 c 0 0 +.Ed +.Pp +Where +.Fa cd0 +is the name of the deleted device node. .Sh COMPATIBILITY The .Xr chown 8 Ns - Ns -- cgit v1.1