aboutsummaryrefslogtreecommitdiff
path: root/share/man/man5
Commit message (Collapse)AuthorAgeFilesLines
* Merge ^/head r352764 through r353315.Dimitry Andric2019-10-082-1/+38
|\ | | | | | | Notes: svn path=/projects/clang900-import/; revision=353316
| * add ability to set watchdog timeout for a shutdownAndriy Gapon2019-10-031-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows to specify a watchdog(9) timeout for a system shutdown. The timeout is activated when the watchdogd daemon is stopped. The idea is to a prevent any indefinite hang during late stages of the shutdown. The feature is implemented in rc.d/watchdogd, it builds upon watchdogd -x option. Note that the shutdown timeout is not actiavted when the watchdogd service is individually stopped by an operator. It is also not activated for the 'shutdown' to the single-user mode. In those cases it is assumed that the operator knows what they are doing and they have means to recover the system should it hang. Significant subchanges and implementation details: - the argument to rc.shutdown, completely unused before, is assigned to rc_shutdown variable that can be inspected by rc scripts - init(8) passes "single" or "reboot" as the argument, this is not changed - the argument is not mandatory and if it is not set then rc_shutdown is set to "unspecified" - however, the default jail management scripts and jail configuration examples have been updated to pass "jail" to rc.shutdown, just in case - the new timeout can be set via watchdogd_shutdown_timeout rc option - for consistency, the regular timeout can now be set via watchdogd_timeout rc option - watchdogd_shutdown_timeout and watchdogd_timeout override timeout specifications in watchdogd_flags - existing configurations, where the new rc options are not set, should keep working as before I am not particularly wed to any of the implementation specifics. I am open to changing or removing any of them as long as the provided functionality is the same (or very close) to the proposed one. For example, I think it can be implemented without using watchdogd -x, by means of watchdog(1) alone. In that case there would be a small window between stopping watchdogd and running watchdog, but I think that that is acceptable. Reviewed by: bcr (man page changes) MFC after: 5 weeks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D21221 Notes: svn path=/head/; revision=353039
| * Regen src.conf(5) after r352927 (HTTPD option added)Kyle Evans2019-10-011-1/+3
| | | | | | | | Notes: svn path=/head/; revision=352928
* | Enable OpenMP for powerpc64Dimitry Andric2019-09-261-2/+2
|/ | | | | | | | | | | | | | Summary: When powerpc64 switches to LLVM, use this patch to enable OpenMP as well. OpenMP on PPC is only for 64-bits, so don't make a 32-bit libomp. A change to openmp files is necesssary (under review on https://reviews.llvm.org/D67190), because it determines ELF format version based on endianness, which is incorrect. Reviewed by: alfredo.junior_eldorado.org.br, #manpages Differential Revision: https://reviews.freebsd.org/D21532 Notes: svn path=/projects/clang900-import/; revision=352763
* src.conf(5): regenerate after r352465, r352466Kyle Evans2019-09-181-1/+12
| | | | | | | | These changed the defaults for the GOOGLETEST knob and added a description for WITH_GOOGLETEST. Notes: svn path=/head/; revision=352467
* Reverse the referenced tables.Chris Rees2019-09-091-4/+4
| | | | | | | | | | | | | If ipv4_prefer is specified, Section 10.3 is relevant. If ipv6_prefer is specified, Section 2.1 is relevant. This change makes the corresponding options/sections 'respective' PR: docs/234249 Submitted by: David Fiander <david@fiander.info> Notes: svn path=/head/; revision=352107
* - correct HISTORY sectionJason Helfman2019-09-041-2/+2
| | | | | | | | | | | - while here clarify wording PR: 240260 (based on) Submitted by: gbergling@gmail.com MFC after: after 1 week Notes: svn path=/head/; revision=351820
* - Retire pc-sysinstall(8)Kris Moore2019-09-031-4/+0
| | | | | | | | | | https://reviews.freebsd.org/D21094 Submitted by: kmoore@FreeBSD.org Approved by: imp@FreeBSD.org Notes: svn path=/head/; revision=351781
* Regen src.conf.5 after r351027 (enable BSD_CRTBEGIN on powerpc)Ed Maste2019-08-161-3/+3
| | | | Notes: svn path=/head/; revision=351120
* swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to theDoug Moore2019-08-151-2/+11
| | | | | | | | | | | | | | | | | | | | | expression howmany(BBSIZE, PAGE_SIZE), where BBSIZE is the size of the boot block area. That can be less than 2 if PAGE_SIZE is big. swapon(8) has an option to trim (delete) all the blocks of a device at startup. However, if the first of those blocks is a bsd label, then trimming those blocks is destructive. Change swapon to leave the first BBSIZE bytes untrimmed. Update manual pages to reflect changes in how swapon and how it may be used, espeically in association with savecore. Reviewed by: alc Approved by: markj (mentor) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D21191 Notes: svn path=/head/; revision=351064
* Remove some more leftover rlogin man page xrefsEd Maste2019-08-131-2/+0
| | | | | | | | | | | | | | | rcmds were removed in r32435 and these three man pages can trivially drop the references. There's still a reference in pts.4 because it describes a mode (TIOCPKT_NOSTOP), and only lists rlogin/rlogind as examples of programs that use that mode. To update later. MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=350989
* Regen src.conf.5 after r350980 (remove rsh/rlogin references)Ed Maste2019-08-131-26/+9
| | | | | | | | | Also pick up changes to LLVM_TARGET_RISCV, NAND, NVME, OPENM Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=350981
* fusefs: proofread man pagesAlan Somers2019-07-311-4/+5
| | | | | | | | Reported by: bcr, mandoc, textproc/igor Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=350466
* MFHead @r350386Alan Somers2019-07-284-7/+44
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=350387
| * Allow "update" option to be used in the fstab(5). Document possible use case.Maxim Sobolev2019-07-221-0/+26
| | | | | | | | | | | | | | | | | | Approved by: mckusick MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D18586 Notes: svn path=/head/; revision=350224
| * motd: Generate from template to /var/runConrad Meyer2019-07-201-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | Update login(1), its manual pages, similar utilities, and motd.5 to refer to the new location. Suggested by: delphij@ (re: r349256) Reviewed by: bcr (manpages), delphij Differential Revision: https://reviews.freebsd.org/D20721 Notes: svn path=/head/; revision=350184
| * pkgbase: move man pages from runtime-manual to runtimeEmmanuel Vadot2019-07-191-2/+0
| | | | | | | | | | | | | | | | | | | | We don't split the other man pages in their own package so do the same for runtime. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20962 Notes: svn path=/head/; revision=350136
| * Adds signal number format to kern.corefileEric van Gyzen2019-07-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add format capability to core file names to include signal that generated the core. This can help various validation workflows where all cores should not be considered equally (SIGQUIT is often intentional and not an error unlike SIGSEGV or SIGBUS) Submitted by: David Leimbach (leimy2k@gmail.com) Reviewed by: markj MFC after: 1 week Relnotes: sysctl kern.corefile can now include the signal number Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D20970 Notes: svn path=/head/; revision=350043
* | [skip ci] update copyright headers in fusefs filesAlan Somers2019-06-281-2/+2
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349502
* | MFHead @349476Alan Somers2019-06-273-136/+6
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349479
| * Remove NAND and NANDFS supportWarner Losh2019-06-252-136/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NANDFS has been broken for years. Remove it. The NAND drivers that remain are for ancient parts that are no longer relevant. They are polled, have terrible performance and just for ancient arm hardware. NAND parts have evolved significantly from this early work and little to none of it would be relevant should someone need to update to support raw nand. This code has been off by default for years and has violated the vnode protocol leading to panics since it was committed. Numerous posts to arch@ and other locations have found no actual users for this software. Relnotes: Yes No Objection From: arch@ Differential Revision: https://reviews.freebsd.org/D20745 Notes: svn path=/head/; revision=349352
| * Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either ifDoug Moore2019-06-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | '-E' appears on the swapon command line, or if "trimonce" appears as an fstab option. Discussed at: BSDCAN Tested by: markj Reviewed by: markj Approved by: markj (mentor) Differential Revision:https://reviews.freebsd.org/D20599 Notes: svn path=/head/; revision=349286
* | fusefs: recycle vnodes after their last unlinkAlan Somers2019-06-271-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Previously fusefs would never recycle vnodes. After VOP_INACTIVE, they'd linger around until unmount or the vnlru reclaimed them. This commit essentially actives and inlines the old reclaim_revoked sysctl, and fixes some issues dealing with the attribute cache and multiply linked files. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349468
* | fusefs: convert statistical sysctls to use counter(9)Alan Somers2019-06-271-11/+14
| | | | | | | | | | | | | | | | | | | | counter(9) is more performant than using atomic instructions to update sysctls that just report statistics to userland. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349462
* | fusefs.5: remove deleted sysctls from man pageAlan Somers2019-06-261-12/+0
| | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349437
* | fusefs: implement protocol 7.23's FUSE_WRITEBACK_CACHE optionAlan Somers2019-06-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of protocol 7.23, fuse file systems can specify their cache behavior on a per-mountpoint basis. If they set FUSE_WRITEBACK_CACHE in fuse_init_out.flags, then they'll get the writeback cache. If not, then they'll get the writethrough cache. If they set FOPEN_DIRECT_IO in every FUSE_OPEN response, then they'll get no cache at all. The old vfs.fusefs.data_cache_mode sysctl is ignored for servers that use protocol 7.23 or later. However, it's retained for older servers, especially for those running in jails that lack access to the new protocol. This commit also fixes two other minor test bugs: * WriteCluster:SetUp was using an uninitialized variable. * Read.direct_io_pread wasn't verifying that the cache was actually bypassed. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=349431
* | MFHead @348740Alan Somers2019-06-063-36/+28
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=348744
| * We don't really need two entries to describe how to deal withEdward Tomasz Napierala2019-05-251-11/+2
| | | | | | | | | | | | | | | | | | | | optical drives in devfs.conf(5). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=348274
| * Xr make_dev(9) from devfs(5).Edward Tomasz Napierala2019-05-211-1/+2
| | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=348050
| * Change ed(4), ep(4), and fxp(4) examples to em(4).Brooks Davis2019-05-181-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | ed(4) and ep(4) have been removed. fxp(4) remains popular in older systems, but isn't as future proof as em(4). Reviewed by: bz, jhb MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20311 Notes: svn path=/head/; revision=347963
* | fusefs: remove the vfs.fusefs.sync_resize syctlAlan Somers2019-05-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | This sysctl was added > 6.5 years ago for no clear purpose. I'm guessing that it may have had something to do with the incomplete attribute cache. But the attribute cache works now. Since there's no clear motivation for this sysctl, it's best to remove it. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=347547
* | fusefs: reap dead sysctlsAlan Somers2019-05-131-2/+0
|/ | | | | | | | | | | | Remove the "sync_unmount" and "init_backgrounded" sysctls and the associated options from mount_fusefs. Add no backwards-compatibility hidden options to mount_fusefs because these options never had any effect, and are therefore unlikely to be used. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/fuse2/; revision=347544
* Update the spelling of my nameEnji Cooper2019-04-221-3/+2
| | | | | | | | | | | | Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enji instead for clarity. While here, remove "All Rights Reserved" from copyrights I "own". MFC after: 1 week Notes: svn path=/head/; revision=346571
* fusefs: add a fusefs(5) man pageAlan Somers2019-04-132-0/+148
| | | | | | | | | | | | PR: 233393 Reported by: tech-lists@zyxst.net Reviewed by: cem MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19651 Notes: svn path=/head/; revision=346186
* Revert r346017 pending compiled-in zfs fixChris Rees2019-04-101-2/+4
| | | | | | | | | PR: 237172 Approved by: jilles Differential Revision: https://reviews.freebsd.org/D18670 Notes: svn path=/head/; revision=346072
* Remove now unnecessary kldstat check before attempting to load modules.Chris Rees2019-04-071-4/+2
| | | | | | | | | | | | | | | | | | Since r233109, kldload has the -n option, which silently ignores options that are already loaded. https://lists.freebsd.org/pipermail/freebsd-rc/2018-December/003899.html Note that this script no longer reports if the module is already loaded, but it could be argued this wasn't particularly useful information. PR: docs/234248 Reviewed by: bcr (docs), kib, rgrimes (visual) Approved by: jilles Differential Revision: https://reviews.freebsd.org/D18670 Notes: svn path=/head/; revision=346017
* Add option to build LLVM RISC-V targetMitchell Horne2019-04-071-1/+19
| | | | | | | | | | Reviewed by: emaste, dim Approved by: markj (mentor) MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D19759 Notes: svn path=/head/; revision=346016
* Add ability to automatically load ipfw_nat64, ipfw_nptv6 and ipfw_pmodAndrey V. Elsukov2019-03-231-3/+35
| | | | | | | | | | | modules by declaring corresponding variables in rc.conf. Also document them in rc.conf(5). Submitted by: Dries Michiels Differential Revision: https://reviews.freebsd.org/D19673 Notes: svn path=/head/; revision=345450
* Connect lib/libomp to the build.Dimitry Andric2019-03-161-1/+11
| | | | | | | | | | | | | | | | * Set MK_OPENMP to yes by default only on amd64, for now. * Bump __FreeBSD_version to signal this addition. * Ensure gcc's conflicting omp.h is not installed if MK_OPENMP is yes. * Update OptionalObsoleteFiles.inc to cope with the conflicting omp.h. * Regenerate src.conf(5) with new WITH/WITHOUT fragments. Relnotes: yes PR: 236062 MFC after: 1 month X-MFC-With: r344779 Notes: svn path=/head/; revision=345236
* Regenerate src.conf(5) after r345203 (MK_GOOGLETEST addition)Enji Cooper2019-03-151-1/+16
| | | | | | | | | MFC after: 2 months MFC with: r345203 Approved by: emaste (mentor; implicit: https://reviews.freebsd.org/D19551) Notes: svn path=/head/; revision=345204
* Extend descriptions and comments about the need to create /etc/pf.conf.Benedict Reuschling2019-03-121-1/+3
| | | | | | | | | | | | | | | | | | | FreeBSD removed the default /etc/pf.conf file in previous releases, but the documentation kept mentioning it like any other file present in the system. Change pf.conf(5) to mention in the description of the default ruleset location that this file needs to be created manually. Also, the default rc.conf file had it's comment extended a bit to let people know that this file does not exist by default. PR: 231977 Submitted by: koobs@ Reviewed by: kp@, 0mp@ Approved by: kp@ MFC after: 10 days Differential Revision: https://reviews.freebsd.org/D19530 Notes: svn path=/head/; revision=345080
* style.mdoc.5: Fix formatting issuesMateusz Piotrowski2019-03-101-5/+4
| | | | | | | | | | Reviewed by: bcr Approved by: bcr (doc) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D19532 Notes: svn path=/head/; revision=344985
* Divorce MK_GDB from MK_BINUTILS.John Baldwin2019-03-061-6/+0
| | | | | | | | | | | | This permits legacy GDB to still be built and installed if WITHOUT_BINUTILS is set (e.g. if base/binutils is installed). Reviewed by: emaste MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D19480 Notes: svn path=/head/; revision=344854
* Regenerate src.conf.5 for recent changes.John Baldwin2019-03-061-5/+57
| | | | | | | | Updates include removal of DRM2 and addition of several options related to secure booting. Notes: svn path=/head/; revision=344853
* style.mdoc.5: Fix a typoMateusz Piotrowski2019-02-241-1/+1
| | | | | | | | | | Reviewed by: eadler Approved by: eadler (doc) Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D19328 Notes: svn path=/head/; revision=344492
* Regen src.conf.5 after r344179Ed Maste2019-02-151-2/+6
| | | | Notes: svn path=/head/; revision=344180
* regen src.conf.5 after r343606Ed Maste2019-01-311-14/+23
| | | | Notes: svn path=/head/; revision=343608
* pf: Remove references to pflow from the pf.conf man pageKristof Provost2019-01-051-8/+3
| | | | | | | | | | | pflow no longer exists. It was removed as part of a pf update back in 2012 (r240233). PR: 223957 MFC after: 1 week Notes: svn path=/head/; revision=342784
* ext2fs.5: Update the manpage.Pedro F. Giffuni2018-12-302-10/+27
| | | | | | | | | | | | | General update of the driver description and mention some important credits. Add a symlink for ext4fs as it is of special interest nowadays. Fic some `mandoc -Tlint` issues while here. MFC after: 15 days Differential Revision: https://reviews.freebsd.org/D18445 Notes: svn path=/head/; revision=342632
* style.mdoc.5: Suggest preferred formatting for EXAMPLESMateusz Piotrowski2018-12-291-3/+49
| | | | | | | | | | | | | | | Add an example of how to format examples in EXAMPLES sections. The suggested format is heavily based on zfs.8. While here, capitalize subsection titles. Reviewed by: bcr Approved by: bcr (doc), Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D18681 Notes: svn path=/head/; revision=342600