diff options
author | Alfred Perlstein <alfred@FreeBSD.org> | 2003-12-29 00:37:52 +0000 |
---|---|---|
committer | Alfred Perlstein <alfred@FreeBSD.org> | 2003-12-29 00:37:52 +0000 |
commit | 8646bf9b6868bcfc21253343ba260b8738a6c794 (patch) | |
tree | e0ea4117b8683f9933789924f2a221c5114b97a7 /sbin/mknod | |
parent | a41c6c2ad6e741ba334f8b21574273eb595fa95e (diff) | |
download | src-test2-8646bf9b6868bcfc21253343ba260b8738a6c794.tar.gz src-test2-8646bf9b6868bcfc21253343ba260b8738a6c794.zip |
Document that mknod(8) can be used to undelete entries under devfs.
Notes
Notes:
svn path=/head/; revision=123946
Diffstat (limited to 'sbin/mknod')
-rw-r--r-- | sbin/mknod/mknod.8 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sbin/mknod/mknod.8 b/sbin/mknod/mknod.8 index 55e3f2f1b054..ea250da9c62c 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 |