aboutsummaryrefslogtreecommitdiff
path: root/sbin/swapon
Commit message (Expand)AuthorAgeFilesLines
* swapon(8): adapt to the new swapoff(2) interfaceKonstantin Belousov2021-12-091-8/+2
* swapoff(8): add -f flagKonstantin Belousov2021-12-042-10/+29
* The -F flag of swapon(8) requires -a to work.Benedict Reuschling2020-05-191-3/+4
* - Fix logic error in swapoff case: follow same handling of p andXin LI2020-05-041-6/+4
* Fix a logic bug in error handling code. It is an error if p == NULL.Don Lewis2019-12-091-1/+1
* swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to theDoug Moore2019-08-152-3/+14
* Rewrite the comments that explain swapon_trim() to make them moreDoug Moore2019-07-261-5/+11
* In trimming on startup, invoke swapon before closing the fd used forDoug Moore2019-07-201-8/+15
* You can't use block special nodes for swap, so don't let that happen.Doug Moore2019-06-221-3/+2
* Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either ifDoug Moore2019-06-222-7/+61
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
* Fix late and noauto with geli swapDmitry Marakasov2017-03-141-1/+5
* Renumber copyright clause 4Warner Losh2017-02-282-2/+2
* swapoff: Remove only late devices with -aL.Jilles Tjoelker2016-10-212-1/+11
* swapon(8): Update to reality: swapoff ignores -L and the late option in fstab.Jilles Tjoelker2016-10-021-9/+1
* Stop using the non-standard basename_r() function.Ed Schouten2016-05-311-4/+10
* sbin: minor spelling fixes.Pedro F. Giffuni2016-04-301-1/+1
* Explicitly add more files to the 'runtime' package.Glen Barber2016-02-091-0/+1
* Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9Enji Cooper2016-02-011-2/+2
* Call va_end on ap when vsnprintf fails in run_cmd(..) to clean upEnji Cooper2015-12-091-0/+1
* Allow to disable BIO_DELETE passthru in fstab for swap-on-geli devices byPawel Jakub Dawidek2015-08-081-4/+6
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/|
| * Merge from head@274682Simon J. Gerraty2014-11-191-8/+1
| |\
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| * | Merge headSimon J. Gerraty2014-04-282-7/+6
| |\ \
| * \ \ Merge headSimon J. Gerraty2013-09-111-58/+59
| |\ \ \
| * \ \ \ Merge from headSimon J. Gerraty2013-09-052-29/+574
| |\ \ \ \
| * | | | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| * | | | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
* | | | | | Convert sbin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|_|/ |/| | | |
* | | | | Do not add late flag when file= is specified because it has a badHiroki Sato2014-10-101-8/+1
| |_|_|/ |/| | |
* | | | swapon: Fix buffer overflow when configuring encrypted swap on GBDE.Jilles Tjoelker2013-12-211-1/+2
* | | | - Purge one more reference to ad(4)[1].Sergey Kandaurov2013-11-221-6/+4
| |_|/ |/| |
* | | Style clean-ups.Hiroki Sato2013-09-051-54/+48
* | | Enable "late" option when a file= option is specified in /etc/fstab.Hiroki Sato2013-09-051-4/+11
| |/ |/|
* | Make two buffer variables static for now. It is not safe toXin LI2013-07-311-1/+1
* | Plug a memory leak.Xin LI2013-07-021-0/+7
* | Correct a typo in comment.Xin LI2013-07-011-1/+1
* | - Modify swapon(8) so that it uses most of geli(8) defaults for swap,Xin LI2013-06-291-160/+159
* | Fix build with gcc.Hiroki Sato2013-06-281-3/+5
* | Fix build.Hiroki Sato2013-06-281-11/+11
* | - Add vnode-backed swap space specification support. This is enabled whenHiroki Sato2013-06-272-29/+566
|/
* Add missing static keywords for global variables to tools in sbin/.Ed Schouten2011-11-041-1/+1
* Build swapon with WARNS=6.Ed Schouten2011-10-252-6/+5
* Add new option -F to specify alternative location of the /etc/fstabMaxim Sobolev2011-10-252-4/+29