Ulrich Spörlein
4b85a12f71
Spelling fixes for sbin/
2012-01-07 16:09:33 +00:00
Ed Schouten
1efe3c6b58
Add missing static keywords for global variables to tools in sbin/.
...
These tools declare global variables without using the static keyword,
even though their use is limited to a single C-file, or without placing
an extern declaration of them in the proper header file.
2011-11-04 13:36:02 +00:00
Gavin Atkinson
ebae8e93f7
Document the interaction between /etc/devfs.conf and
...
/etc/defaults/devfs.conf
PR: docs/117308
Submitted by: Mel <mel.xyzzy rachie.is-a-geek.net> (partially)
MFC after: 1 week
2010-02-21 10:29:45 +00:00
Ulrich Spörlein
2b6974bf61
Bump WARNS where possible.
...
Checked by: make universe
Approved by: ed (co-mentor)
2010-02-15 14:07:40 +00:00
Mike Makonnen
d5e7eb7e92
Support for filtering on major device number was removed in rev. 1.7 or
...
rule.c. Update man page example accordingly.
Submitted by: Mateusz Guzik <mjguzik@gmail.com>
PR: docs/124892
2008-06-27 09:09:50 +00:00
Daniel Gerzo
ef63af0fd2
- I forgot to bump a date.
...
Approved by: keramida (mentor), trhodes (mentor) (implicit)
2006-11-05 20:12:32 +00:00
Daniel Gerzo
2242569921
- add some files to FILES section and provide their description
...
- reference devfs.conf and devfs.rules in SEE ALSO section
Approved by: keramida (mentor), trhodes (mentor)
PR: docs/103347
MFC-after: 3 days
2006-11-05 19:37:27 +00:00
Maxim Konovalov
c11d5762c2
o Revert a previous delta as strlcpy(3) operates with NUL-terminated
...
strings and cp is not. Fix logic in the original code and eliminate
core dumps on lines without '\n'.
2006-06-14 15:09:52 +00:00
Maxim Konovalov
fee8a46e77
o Replace (an incorrect) string copy gymnastics with strlcpy(3).
...
PR: bin/98905
Submitted by: Fabian Keil
MFC after: 1 week
2006-06-14 11:45:01 +00:00
Maxim Konovalov
4c2f782357
o Typo in the error message: s/invald/invalid.
...
PR: misc/91341
Submitted by: Guy Harris
2006-01-05 13:37:07 +00:00
Ruslan Ermilov
55c82bf0d4
Markup fixes.
...
Approved by: re (blanket)
2005-06-14 11:24:56 +00:00
Jesus R. Camou
6b23be5f70
Use .Pa instead of .Xr to follow mdoc(7)
...
specifications.
Noticed by: trhodes
Approved by: trhodes (mentor)
MFC after: 1 day
2005-04-20 01:56:33 +00:00
Jesus R. Camou
eebe15298d
Document the configuration files used.
...
PR: docs/79572
Submitted by: Josh Paetzel <josh@tcbug.org>
Approved by: trhodes (mentor)
2005-04-05 22:29:47 +00:00
Poul-Henning Kamp
55f776914c
Typo.
...
Submitted by: Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp>
2005-03-18 20:21:46 +00:00
Poul-Henning Kamp
1964f79ab3
Remove filtering on major device number. These are assigned randomly
...
these days so filtering on them makes no sense other than as a foot-shooting
device.
2005-02-27 17:22:36 +00:00
Dima Dorfman
111c3747b7
Remove a useless use of cat, strip overzealous punctuation, and
...
clarify some text.
2004-11-06 11:16:56 +00:00
Dima Dorfman
1cf7cec3a3
Parse file mode with setmode(3) for consistency with other programs
...
that do this kind of thing.
2004-11-06 11:03:59 +00:00
Stefan Farfeleder
d77f297fd6
Typedefing an array of incomplete structs is non-standard C code.
...
Approved by: das (mentor)
2004-06-02 23:02:31 +00:00
Peter Grehan
5cfe0423e6
Userland signed char fixes for PPC build. Problems were using a char
...
return for getopt() and comparing to -1, ditto with fgetc() and EOF,
and using the kg_nice value from <sys/user.h>
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
Reviewed by: obrien, bde (a while back)
Tested lightly on: ppc, i386, make universe
2004-01-22 07:23:36 +00:00
Ruslan Ermilov
959d6c24f6
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
Simon L. B. Nielsen
d54277a793
Minor mdoc(7) cleanup, based on the PR below.
...
PR: docs/54826
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by: ru
Approved by: ceri (mentor)
2003-07-26 12:41:44 +00:00
Maxim Sobolev
b49349cfce
Xref police: chmod(8) -> chmod(1).
2003-06-17 09:53:03 +00:00
Ruslan Ermilov
7ba060236b
mdoc(7) police: markup nits.
...
Approved by: re
2002-12-09 13:06:34 +00:00
Dima Dorfman
e5d09546b8
Treat the pathptrn field as a real pattern with the aid of fnmatch().
2002-10-08 04:21:54 +00:00
Mike Barcroft
90007bc6e7
Don't depend on pollution in <machine/limits.h> (by way of
...
<sys/param.h>) for definition of <stdint.h> macros.
2002-07-29 17:09:21 +00:00
Dima Dorfman
9ffb7cd974
Nuke whitespace at EOL.
2002-07-28 06:59:40 +00:00
Dima Dorfman
5159643adc
What we're actually passing around is an ioctl request, not a command,
...
and it's an unsigned long, not an int.
2002-07-28 06:57:13 +00:00
Dima Dorfman
134cd96fec
This compiles cleanly with WARNS=5 on i386 and alpha, so try to make
...
sure that doesn't change.
2002-07-28 06:52:47 +00:00
Dima Dorfman
072af15128
Implement this (quoted from the updated man page): If the first token
...
of a rule specification is a single dash (``-''), rules are read from
the standard input and the rest of the specification is ignored.
2002-07-28 06:45:30 +00:00
Dima Dorfman
014c2ea5cd
Use more standard section names in an attempt to unconfuse new users
...
(and make it easier to find stuff for the old ones). I originally put
everything under one "RULE SUBSYSTEM" so it didn't look like devfs(8)
is dedicated to the rule subsystem, but since nobody has any idea what
else might go here, it's not worth confusing people just to save a
little time for someone that might add something rule-unrelated to
devfs(8) in a few years.
Suggested by: sheldonh, phk
2002-07-28 03:58:12 +00:00
Dima Dorfman
a1dc209638
Introduce the DEVFS "rule" subsystem. DEVFS rules permit the
...
administrator to define certain properties of new devfs nodes before
they become visible to the userland. Both static (e.g., /dev/speaker)
and dynamic (e.g., /dev/bpf*, some removable devices) nodes are
supported. Each DEVFS mount may have a different ruleset assigned to
it, permitting different policies to be implemented for things like
jails.
Approved by: phk
2002-07-17 01:46:48 +00:00