aboutsummaryrefslogtreecommitdiff
path: root/sbin/devfs
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit fa9896e082a1)
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-234-4/+0
| | | | | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/ Similar commit in main: (cherry picked from commit d0b2dbfa0ecf)
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-232-4/+0
| | | | | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/ Similar commit in main: (cherry picked from commit 1d386b48a555)
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-231-2/+0
| | | | | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/ Similar commit in main: (cherry picked from commit b3e7694832e8)
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-07-253-3/+3
| | | | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix (cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
* sbin/devfs: Correct usageEnji Cooper2023-02-031-1/+1
| | | | | | | | | | | | | The -s applies to rule keyword only and it follows the rule keyword. PR: 263289 Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com> Reviewed by: ngie Fixes: c3e412c08333 sbin/devfs: clarify usage MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D34934 (cherry picked from commit f9f42a709b2b3f8c8d3de517f301d4ccb33e7b16)
* devfs.rules: Do not expose "log" in the default devfs rules.Zhenlei Huang2022-06-071-1/+0
| | | | | | | | | | /etc/rc.d/jail no longer creates /dev/log as a symbolic link since commit 84b354cb9ab61224713c159b1484e8f070fd37be. PR: 228351 Reviewed by: jamie, markj (cherry picked from commit 2670ea8a075ea29a0eee9d227c4cdf585a7b3b55)
* devfs.rules: Correctly unhide pf in vnet jailsZhenlei Huang2021-11-241-0/+3
| | | | | | | | | | | | | | | Revision 9e9be081d8 introduced a new devfs rule devfsrules_jail_vnet. It includes rule devfsrules_jail which include other rules. Unfortunately devfs could not recursively parse the action include and thus devfsrules_jail_vnet will expose all nodes. PR: 255660 Reviewed by: kp Obtained from: Gijs Peskens <gijs@peskens.net> MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D32814 (cherry picked from commit 7acd322ebe2072b1d73b1d19c14ab12a300ba8e8)
* add documentation that the rules need to be reloaded, and how to do it...John-Mark Gurney2020-12-011-2/+12
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=368267
* devfs.rules: unhide pf in vnet jailsKristof Provost2020-10-051-0/+4
| | | | | | | | | | | | | /dev/pf is usable in vnet jails, so don't hide the node there. We shouldn't expose /dev/pf in regular jails, as that gives them control over the host (or parent vnet jail) firewall. Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D26537 Notes: svn path=/head/; revision=366461
* Move all devfs related files to sbin/devfs/Brad Davis2018-08-223-0/+134
| | | | | | | | | | | This is related to pkgbase as it uses CONFS to properly tag these as config files. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16785 Notes: svn path=/head/; revision=338204
* other: Fix several typos and minor errorsEitan Adler2017-12-271-1/+1
| | | | | | | | | | | - duplicate words - typos - references to old versions of FreeBSD Reviewed by: imp, benno Notes: svn path=/head/; revision=327233
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-273-0/+6
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* sbin/devfs: clarify usageEnji Cooper2017-03-081-1/+3
| | | | | | | | | | | | | | | | | - Note existence of -m option. - Note that -s applies to rule keyword, only, by adding usage text specifically for the `rule` and `ruleset` keywords. Don't go into any further detail in usage(..) -- it's best that one reads the manpage to get a better idea of how things work as there are a number of different option-specific keywords and arguments, as well as some rule grammar. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314924
* Add history section for devfs(8)Sevan Janiyan2016-10-051-2/+8
| | | | | | | | | | | | Move sentence to a new line as advised by igor. PR: 212441 Approved by: bcr (mentor) MFC after: 5 days Differential Revision: https://reviews.freebsd.org/D8104 Notes: svn path=/head/; revision=306728
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295450
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge from headSimon J. Gerraty2013-09-051-35/+37
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=255263
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-6/+6
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Clarify how "hide" and "unhide" commands work on directories.Jaakko Heinonen2013-07-121-1/+4
| | | | | | | | | | | | Notes: svn path=/head/; revision=253252
* | | Move EXAMPLES descriptions to before the actual command.Joel Dahl2013-04-211-35/+34
| |/ |/| | | | | | | | | | | | | PR: 177870 Submitted by: Bjorn Heidotting <b.heidotting@yahoo.com> Notes: svn path=/head/; revision=249720
* | mdoc: minor improvements to a few lists with tags.Joel Dahl2012-06-091-6/+6
|/ | | | Notes: svn path=/head/; revision=236780
* Remove trailing whitespace per mdoc lint warningEitan Adler2012-03-291-2/+2
| | | | | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days Notes: svn path=/head/; revision=233648
* Spelling fixes for sbin/Ulrich Spörlein2012-01-071-1/+1
| | | | Notes: svn path=/head/; revision=229778
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
| | | | | | | | | 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. Notes: svn path=/head/; revision=227081
* 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