docs/124892: [patch] devfs(8) contains no longer supported argument in examples

Mateusz Guzik mjguzik at gmail.com
Mon Jun 23 01:20:03 UTC 2008


>Number:         124892
>Category:       docs
>Synopsis:       [patch] devfs(8) contains no longer supported argument in examples
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 23 01:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mateusz Guzik
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD eternal 8.0-CURRENT FreeBSD 8.0-CURRENT #15: Mon Jun 23 02:30:27 CEST 2008     root at eternal:/usr/obj/usr/src/sys/ETERNAL  i386

>Description:
In section Examples, one can find the following line:
devfs rule -s 20 add major 53 group games

but:
# devfs rule -s 20 add major 53 group games
devfs rule: unknown argument: major
>How-To-Repeat:
Run `devfs rule -s 20 add major 53 group games'.
>Fix:
Proposed patch is attached.

Patch attached with submission follows:

--- sbin/devfs/devfs.8.orig	2006-12-29 23:45:12.000000000 +0100
+++ sbin/devfs/devfs.8	2008-06-23 02:57:03.000000000 +0200
@@ -310,11 +310,11 @@
 .Dq Li snoopers
 group to use the
 .Xr snp 4
 devices.
 .Pp
-.Dl "devfs rule -s 20 add major 53 group games"
+.Dl "devfs rule -s 20 add type disk group wheel"
 .Pp
 Add a rule to ruleset number 20.
 Since this ruleset is not the current ruleset for any mount-points,
 this rule is never applied automatically (unless ruleset 20 becomes
 a current ruleset for some mount-point at a later time).


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list