index
:
src
main
releng/1
releng/10.0
releng/10.1
releng/10.2
releng/10.3
releng/10.4
releng/11.0
releng/11.1
releng/11.2
releng/11.3
releng/11.4
releng/12.0
releng/12.1
releng/12.2
releng/12.3
releng/12.4
releng/13.0
releng/13.1
releng/13.2
releng/13.3
releng/13.4
releng/13.5
releng/14.0
releng/14.1
releng/14.2
releng/2.0
releng/2.0.5
releng/4.10
releng/4.11
releng/4.3
releng/4.4
releng/4.5
releng/4.6
releng/4.7
releng/4.8
releng/4.9
releng/5.0
releng/5.1
releng/5.2
releng/5.3
releng/5.4
releng/5.5
releng/6.0
releng/6.1
releng/6.2
releng/6.3
releng/6.4
releng/7.0
releng/7.1
releng/7.2
releng/7.3
releng/7.4
releng/8.0
releng/8.1
releng/8.2
releng/8.3
releng/8.4
releng/9.0
releng/9.1
releng/9.2
releng/9.3
stable/10
stable/11
stable/12
stable/13
stable/14
stable/2.1
stable/2.2
stable/3
stable/4
stable/5
stable/6
stable/7
stable/8
stable/9
vendor/CSRG
vendor/Juniper/libxo
vendor/Linux/ath-common
vendor/Linux/ath10k
vendor/Linux/ath11k
vendor/Linux/ath12k
vendor/Linux/iwlwifi
vendor/Linux/mt76
vendor/Linux/rtw88
vendor/Linux/rtw89
vendor/NetBSD/blacklist
vendor/NetBSD/bmake
vendor/NetBSD/libc-pwcache
vendor/NetBSD/libc-vis
vendor/NetBSD/libedit
vendor/NetBSD/libexecinfo
vendor/NetBSD/lukemftp
vendor/NetBSD/lukemftpd
vendor/NetBSD/misc
vendor/NetBSD/mknod
vendor/NetBSD/mtree
vendor/NetBSD/softfloat
vendor/NetBSD/sort
vendor/NetBSD/tests
vendor/NetBSD/unvis
vendor/NetBSD/vis
vendor/NetBSD/xlint
vendor/OpenBSD
vendor/SGI
vendor/acpica
vendor/alpine-hal
vendor/alsa
vendor/altq
vendor/amd
vendor/apr
vendor/apr-util
vendor/arm-optimized-routines
vendor/atf
vendor/ath
vendor/bc
vendor/bearssl
vendor/bind
vendor/bind4
vendor/bind9
vendor/bind9-9.3
vendor/bind9-9.4
vendor/bind9-9.6
vendor/bind9-9.8
vendor/binutils
vendor/bionic-x86_64-string
vendor/blocklist
vendor/bsddialog
vendor/bsnmp
vendor/byacc
vendor/bzip2
vendor/ck
vendor/clang
vendor/clang-60
vendor/clang-70
vendor/clang-80
vendor/clang-90
vendor/com_err
vendor/compiler-rt
vendor/compiler-rt-60
vendor/compiler-rt-70
vendor/compiler-rt-80
vendor/compiler-rt-90
vendor/cortex-strings
vendor/csup
vendor/ctfdump
vendor/device-tree
vendor/dhcpcd
vendor/dialog
vendor/dma
vendor/dtc
vendor/dtracetoolkit
vendor/edk2
vendor/ee
vendor/elftoolchain
vendor/ena-com
vendor/expat
vendor/ext2fs
vendor/ficl
vendor/file
vendor/flex
vendor/gcc
vendor/gdb
vendor/gdtoa
vendor/global
vendor/google/capsicum-test
vendor/google/googletest
vendor/got/diff
vendor/gperf
vendor/groff
vendor/heimdal
vendor/heirloom-doctools
vendor/hostapd
vendor/hyperv
vendor/illumos
vendor/ipfilter
vendor/ipfilter-sys
vendor/ipfilter-sys-old
vendor/isc-dhcp
vendor/jemalloc
vendor/kerberosIV
vendor/krb5
vendor/kyua
vendor/ldns
vendor/ldns-host
vendor/less
vendor/lib9p
vendor/libarchive
vendor/libbegemot
vendor/libc++
vendor/libc++-60
vendor/libc++-70
vendor/libc++-80
vendor/libc++-90
vendor/libcbor
vendor/libcxxrt
vendor/libder
vendor/libdes
vendor/libdivsufsort
vendor/libecc
vendor/libevent
vendor/libfdt
vendor/libfido2
vendor/libgmp
vendor/libpam
vendor/libpcap
vendor/libreadline
vendor/libregex
vendor/libucl
vendor/libuwx
vendor/libyaml
vendor/lld
vendor/lld-60
vendor/lld-70
vendor/lld-80
vendor/lld-90
vendor/lldb
vendor/lldb-60
vendor/lldb-70
vendor/lldb-80
vendor/lldb-90
vendor/llvm
vendor/llvm-60
vendor/llvm-70
vendor/llvm-80
vendor/llvm-90
vendor/llvm-libunwind
vendor/llvm-libunwind-80
vendor/llvm-libunwind-90
vendor/llvm-openmp
vendor/llvm-openmp-80
vendor/llvm-openmp-90
vendor/llvm-project/main
vendor/llvm-project/master
vendor/llvm-project/release-10.x
vendor/llvm-project/release-11.x
vendor/llvm-project/release-12.x
vendor/llvm-project/release-13.x
vendor/llvm-project/release-14.x
vendor/llvm-project/release-15.x
vendor/llvm-project/release-16.x
vendor/llvm-project/release-17.x
vendor/llvm-project/release-18.x
vendor/llvm-project/release-19.x
vendor/llvm-project/release-8.x
vendor/llvm-project/release-9.x
vendor/lomac
vendor/lua
vendor/lutok
vendor/mandoc
vendor/misc-GNU/awk
vendor/misc-GNU/bc
vendor/misc-GNU/bison
vendor/misc-GNU/cpio
vendor/misc-GNU/cvs
vendor/misc-GNU/diff
vendor/misc-GNU/grep
vendor/misc-GNU/misc
vendor/misc-GNU/patch
vendor/misc-GNU/sort
vendor/misc-GNU/texinfo
vendor/mrouted
vendor/ncftp
vendor/ncurses
vendor/netcat
vendor/ngatm
vendor/ntp
vendor/ntpd
vendor/nve
vendor/nvi
vendor/octeon-sdk
vendor/one-true-awk
vendor/openbsm
vendor/opencsd
vendor/openpam
vendor/openresolv
vendor/opensolaris
vendor/openssh
vendor/openssl
vendor/openssl-0.9.8
vendor/openssl-1.0.1
vendor/openssl-1.0.2
vendor/openssl-1.1.1
vendor/openssl-3.0
vendor/openzfs/legacy
vendor/openzfs/master
vendor/openzfs/zfs-2.1-release
vendor/openzfs/zfs-2.2-release
vendor/opie
vendor/pam_modules
vendor/pcg-c
vendor/pciids
vendor/perl5
vendor/pf
vendor/pf-sys
vendor/pjdfstest
vendor/pnglite
vendor/pppd
vendor/qcamain_open_hal
vendor/rarpd
vendor/resolver
vendor/rpcgen
vendor/sendmail
vendor/serf
vendor/skein
vendor/smbfs
vendor/softdep
vendor/softupdates
vendor/spleen
vendor/sqlite3
vendor/ssleay
vendor/stallion
vendor/subversion
vendor/sym
vendor/tcl
vendor/tcp_wrappers
vendor/tcpdump
vendor/tcsh
vendor/terminus
vendor/testfloat
vendor/tnftp
vendor/top
vendor/traceroute
vendor/tre
vendor/tzcode
vendor/tzdata
vendor/tzdb
vendor/unbound
vendor/unifdef
vendor/v4l
vendor/voxware
vendor/wireguard-tools
vendor/wpa
vendor/wpa_supplicant
vendor/x86emu
vendor/xe
vendor/xz
vendor/xz-embedded
vendor/zlib
vendor/zstd
FreeBSD source tree
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sbin
/
swapon
/
swapon.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove $FreeBSD$: one-line .c pattern
Warner Losh
2023-08-23
1
-2
/
+0
*
swapon(8): adapt to the new swapoff(2) interface
Konstantin Belousov
2021-12-20
1
-8
/
+2
*
swapoff(8): add -f flag
Konstantin Belousov
2021-12-20
1
-5
/
+18
*
- Fix logic error in swapoff case: follow same handling of p and
Xin LI
2020-05-04
1
-6
/
+4
*
Fix a logic bug in error handling code. It is an error if p == NULL.
Don Lewis
2019-12-09
1
-1
/
+1
*
swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to the
Doug Moore
2019-08-15
1
-2
/
+3
*
Rewrite the comments that explain swapon_trim() to make them more
Doug Moore
2019-07-26
1
-5
/
+11
*
In trimming on startup, invoke swapon before closing the fd used for
Doug Moore
2019-07-20
1
-8
/
+15
*
You can't use block special nodes for swap, so don't let that happen.
Doug Moore
2019-06-22
1
-3
/
+2
*
Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either if
Doug Moore
2019-06-22
1
-5
/
+54
*
General further adoption of SPDX licensing ID tags.
Pedro F. Giffuni
2017-11-20
1
-0
/
+2
*
Fix late and noauto with geli swap
Dmitry Marakasov
2017-03-14
1
-1
/
+5
*
Renumber copyright clause 4
Warner Losh
2017-02-28
1
-1
/
+1
*
swapoff: Remove only late devices with -aL.
Jilles Tjoelker
2016-10-21
1
-0
/
+4
*
Stop using the non-standard basename_r() function.
Ed Schouten
2016-05-31
1
-4
/
+10
*
sbin: minor spelling fixes.
Pedro F. Giffuni
2016-04-30
1
-1
/
+1
*
Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9
Enji Cooper
2016-02-01
1
-2
/
+2
*
Call va_end on ap when vsnprintf fails in run_cmd(..) to clean up
Enji Cooper
2015-12-09
1
-0
/
+1
*
Allow to disable BIO_DELETE passthru in fstab for swap-on-geli devices by
Pawel Jakub Dawidek
2015-08-08
1
-4
/
+6
*
Do not add late flag when file= is specified because it has a bad
Hiroki Sato
2014-10-10
1
-8
/
+1
*
swapon: Fix buffer overflow when configuring encrypted swap on GBDE.
Jilles Tjoelker
2013-12-21
1
-1
/
+2
*
Style clean-ups.
Hiroki Sato
2013-09-05
1
-54
/
+48
*
Enable "late" option when a file= option is specified in /etc/fstab.
Hiroki Sato
2013-09-05
1
-4
/
+11
*
Make two buffer variables static for now. It is not safe to
Xin LI
2013-07-31
1
-1
/
+1
*
Plug a memory leak.
Xin LI
2013-07-02
1
-0
/
+7
*
Correct a typo in comment.
Xin LI
2013-07-01
1
-1
/
+1
*
- Modify swapon(8) so that it uses most of geli(8) defaults for swap,
Xin LI
2013-06-29
1
-160
/
+159
*
Fix build with gcc.
Hiroki Sato
2013-06-28
1
-3
/
+5
*
Fix build.
Hiroki Sato
2013-06-28
1
-11
/
+11
*
- Add vnode-backed swap space specification support. This is enabled when
Hiroki Sato
2013-06-27
1
-24
/
+543
*
Add missing static keywords for global variables to tools in sbin/.
Ed Schouten
2011-11-04
1
-1
/
+1
*
Build swapon with WARNS=6.
Ed Schouten
2011-10-25
1
-5
/
+5
*
Add new option -F to specify alternative location of the /etc/fstab
Maxim Sobolev
2011-10-25
1
-2
/
+9
*
Add a -q flag to swapon(8) to suppress informational messages. Use it in
Mike Makonnen
2008-06-23
1
-6
/
+13
*
- Change the meaning of -h flag from giving the output in megabytes to
Pawel Jakub Dawidek
2008-05-20
1
-18
/
+57
*
Sync program's usage() with manpage's SYNOPSIS.
Ruslan Ermilov
2005-02-10
1
-5
/
+3
*
Don't include sys/user.h merely for its side-effect of recursively
David Schultz
2004-11-27
1
-1
/
+1
*
Remove advertising clause from University of California Regent's license,
Mark Murray
2004-04-09
1
-4
/
+0
*
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror)
Mark Murray
2004-03-05
1
-1
/
+1
*
Use __FBSDID() to quiet GCC 3.3 warnings.
David E. O'Brien
2003-05-03
1
-4
/
+4
*
- Add a clearer error message for the case where swapon hits the
David Schultz
2003-02-24
1
-3
/
+9
*
Remove hack from rev 1.15; getbsize(3)'s original interface has been
Mike Barcroft
2002-12-30
1
-3
/
+1
*
Make the first argument to getbsize(3) a `size_t *'. This is a hack
Mike Barcroft
2002-12-30
1
-3
/
+4
*
Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon with
Matthew Dillon
2002-12-28
1
-42
/
+177
*
This is David Schultz's swapoff code which I am finally able to commit.
Matthew Dillon
2002-12-15
1
-11
/
+32
*
o remove __P
Warner Losh
2002-03-21
1
-2
/
+2
*
Remove 'register' keyword.
David E. O'Brien
2002-03-20
1
-2
/
+2
*
Include missing header files which define functions for which gcc has
Dima Dorfman
2001-06-24
1
-0
/
+1
*
Add include of errno.h where needed, remove extern int errno where not.
Warner Losh
2000-04-14
1
-2
/
+0
*
$Id$ -> $FreeBSD$
Peter Wemm
1999-08-28
1
-1
/
+1
[next]