aboutsummaryrefslogtreecommitdiff
path: root/sbin/devfs
Commit message (Collapse)AuthorAgeFilesLines
* Document the interaction between /etc/devfs.conf andGavin Atkinson2010-02-211-2/+7
| | | | | | | | | | | /etc/defaults/devfs.conf PR: docs/117308 Submitted by: Mel <mel.xyzzy rachie.is-a-geek.net> (partially) MFC after: 1 week Notes: svn path=/head/; revision=204166
* Bump WARNS where possible.Ulrich Spörlein2010-02-151-1/+0
| | | | | | | | Checked by: make universe Approved by: ed (co-mentor) Notes: svn path=/head/; revision=203916
* Support for filtering on major device number was removed in rev. 1.7 orMike Makonnen2008-06-271-2/+2
| | | | | | | | | | rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik <mjguzik@gmail.com> PR: docs/124892 Notes: svn path=/head/; revision=180060
* - I forgot to bump a date.Daniel Gerzo2006-11-051-1/+1
| | | | | | | Approved by: keramida (mentor), trhodes (mentor) (implicit) Notes: svn path=/head/; revision=164008
* - add some files to FILES section and provide their descriptionDaniel Gerzo2006-11-051-0/+16
| | | | | | | | | | | - reference devfs.conf and devfs.rules in SEE ALSO section Approved by: keramida (mentor), trhodes (mentor) PR: docs/103347 MFC-after: 3 days Notes: svn path=/head/; revision=164006
* o Revert a previous delta as strlcpy(3) operates with NUL-terminatedMaxim Konovalov2006-06-141-1/+2
| | | | | | | | strings and cp is not. Fix logic in the original code and eliminate core dumps on lines without '\n'. Notes: svn path=/head/; revision=159605
* o Replace (an incorrect) string copy gymnastics with strlcpy(3).Maxim Konovalov2006-06-141-2/+1
| | | | | | | | | PR: bin/98905 Submitted by: Fabian Keil MFC after: 1 week Notes: svn path=/head/; revision=159604
* o Typo in the error message: s/invald/invalid.Maxim Konovalov2006-01-051-1/+1
| | | | | | | | PR: misc/91341 Submitted by: Guy Harris Notes: svn path=/head/; revision=154053
* Markup fixes.Ruslan Ermilov2005-06-141-3/+5
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=147369
* Use .Pa instead of .Xr to follow mdoc(7)Jesus R. Camou2005-04-201-2/+2
| | | | | | | | | | | specifications. Noticed by: trhodes Approved by: trhodes (mentor) MFC after: 1 day Notes: svn path=/head/; revision=145309
* Document the configuration files used.Jesus R. Camou2005-04-051-0/+3
| | | | | | | | | PR: docs/79572 Submitted by: Josh Paetzel <josh@tcbug.org> Approved by: trhodes (mentor) Notes: svn path=/head/; revision=144688
* Typo.Poul-Henning Kamp2005-03-181-1/+1
| | | | | | | Submitted by: Hiroharu Tamaru <tamaru@myn.rcast.u-tokyo.ac.jp> Notes: svn path=/head/; revision=143818
* Remove filtering on major device number. These are assigned randomlyPoul-Henning Kamp2005-02-272-13/+2
| | | | | | | | these days so filtering on them makes no sense other than as a foot-shooting device. Notes: svn path=/head/; revision=142669
* Remove a useless use of cat, strip overzealous punctuation, andDima Dorfman2004-11-061-16/+16
| | | | | | | clarify some text. Notes: svn path=/head/; revision=137304
* Parse file mode with setmode(3) for consistency with other programsDima Dorfman2004-11-062-12/+9
| | | | | | | that do this kind of thing. Notes: svn path=/head/; revision=137303
* Typedefing an array of incomplete structs is non-standard C code.Stefan Farfeleder2004-06-021-1/+1
| | | | | | | Approved by: das (mentor) Notes: svn path=/head/; revision=130021
* Userland signed char fixes for PPC build. Problems were using a charPeter Grehan2004-01-222-2/+2
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=124830
* Get rid of duplicates.Ruslan Ermilov2003-09-141-1/+1
| | | | Notes: svn path=/head/; revision=120054
* Minor mdoc(7) cleanup, based on the PR below.Simon L. B. Nielsen2003-07-261-2/+4
| | | | | | | | | | PR: docs/54826 Submitted by: Lukas Ertl <l.ertl@univie.ac.at> Reviewed by: ru Approved by: ceri (mentor) Notes: svn path=/head/; revision=118056
* Xref police: chmod(8) -> chmod(1).Maxim Sobolev2003-06-171-1/+1
| | | | Notes: svn path=/head/; revision=116478
* mdoc(7) police: markup nits.Ruslan Ermilov2002-12-091-25/+29
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107703
* Treat the pathptrn field as a real pattern with the aid of fnmatch().Dima Dorfman2002-10-081-3/+0
| | | | Notes: svn path=/head/; revision=104653
* Don't depend on pollution in <machine/limits.h> (by way ofMike Barcroft2002-07-291-0/+1
| | | | | | | <sys/param.h>) for definition of <stdint.h> macros. Notes: svn path=/head/; revision=100881
* Nuke whitespace at EOL.Dima Dorfman2002-07-282-3/+3
| | | | Notes: svn path=/head/; revision=100805
* What we're actually passing around is an ioctl request, not a command,Dima Dorfman2002-07-281-3/+3
| | | | | | | and it's an unsigned long, not an int. Notes: svn path=/head/; revision=100803
* This compiles cleanly with WARNS=5 on i386 and alpha, so try to makeDima Dorfman2002-07-281-1/+1
| | | | | | | sure that doesn't change. Notes: svn path=/head/; revision=100802
* Implement this (quoted from the updated man page): If the first tokenDima Dorfman2002-07-284-9/+181
| | | | | | | | of a rule specification is a single dash (``-''), rules are read from the standard input and the rest of the specification is ignored. Notes: svn path=/head/; revision=100799
* Use more standard section names in an attempt to unconfuse new usersDima Dorfman2002-07-281-8/+5
| | | | | | | | | | | | | | (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 Notes: svn path=/head/; revision=100795
* Introduce the DEVFS "rule" subsystem. DEVFS rules permit theDima Dorfman2002-07-175-0/+948
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 Notes: svn path=/head/; revision=100206