aboutsummaryrefslogtreecommitdiff
path: root/sbin/devfs
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* man filesystems: fix more xrefs after move to s4Alexander Ziaee2024-06-281-1/+1
| | | | | | Fixes: 1a720cbec513 Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1282
* man filesystems: fix xrefs after move to section 4Alexander Ziaee2024-05-161-4/+4
| | | | | Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
* sbin: Automated cleanup of cdefs and other formattingWarner Losh2023-11-272-2/+0
| | | | | | | | | | | | | | | | Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
* devfs(8): Remove references to /usr/share/examples/etc/devfs.confJose Luis Duran2023-10-231-6/+2
| | | | | | | | This file does not exist, remove it from the list of files to avoid confusion. The example file is just /etc/devfs.conf. Reviewed by: mhorne Pull Request: https://github.com/freebsd/freebsd-src/pull/871
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-164-4/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-162-4/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-123-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
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* devfs.rules: Do not expose "log" in the default devfs rules.Zhenlei Huang2022-05-241-1/+0
| | | | | | | | | | /etc/rc.d/jail no longer creates /dev/log as a symbolic link since commit 84b354cb9ab61224713c159b1484e8f070fd37be. PR: 228351 Reviewed by: jamie, mark MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D34563
* sbin/devfs: Correct usageEnji Cooper2022-04-301-1/+1
| | | | | | | | | | | The -s applies to rule keyword only and it follows the rule keyword. MFC after: 1 week PR: [[https://bugs.freebsd.org/bugzilla/show_bug.cgi?id= 263289|263289]] Submitted by: Yuichiro NAITO <naito.yuichiro@gmail.com> Fixes: c3e412c08333 sbin/devfs: clarify usage Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D34934
* devfs.rules: Correctly unhide pf in vnet jailsZhenlei Huang2021-11-031-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
* 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