#
51e16cb8 |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
sbin: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
b2c76c41 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
#
1aa249c9 |
|
29-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
swapoff(8): add -f flag to force swapout by ignoring the heuristic that calculates amount of allocated memory against total of RAM plus remaining swap. Reviewed by: markj Discussed with: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D33165
|
#
acace317 |
|
18-May-2020 |
Benedict Reuschling <bcr@FreeBSD.org> |
The -F flag of swapon(8) requires -a to work. Before this change, swapon(8) implied that -F works as a standalone option, which is not the case and would produce a usage message. This change extends the description of the -F option to mention that -a is required with it. PR: 238551 Submitted by: Christian Baltini MFC after: 5 days
|
#
504f5e29 |
|
14-Aug-2019 |
Doug Moore <dougm@FreeBSD.org> |
swap_pager.c reserves 2 blocks for a bsd label. Change that 2 to the 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
|
#
a616b253 |
|
21-Jun-2019 |
Doug Moore <dougm@FreeBSD.org> |
Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either if '-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
|
#
fbbd9655 |
|
28-Feb-2017 |
Warner Losh <imp@FreeBSD.org> |
Renumber copyright clause 4 Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96
|
#
7627b330 |
|
21-Oct-2016 |
Jilles Tjoelker <jilles@FreeBSD.org> |
swapoff: Remove only late devices with -aL. Currently, '/etc/rc.d/swaplate stop' removes all swap devices. This can be very slow and may not even be possible if there is a lot of swap space in use. However, removing swap devices is only needed for late swap devices that may depend on daemons that subsequent shutdown steps stop. Normal swap devices such as hard disk partitions will remain available throughout the shutdown process and need not be removed. In swapoff, interpret -aL to remove late swap devices only, and use this in etc/rc.d/swaplate. The meaning of -aL in swapon remains unchanged (add all swap devices, both normal and late). PR: 187081 Reviewed by: wblock (man page only), ngie MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D8126
|
#
a7d1d416 |
|
02-Oct-2016 |
Jilles Tjoelker <jilles@FreeBSD.org> |
swapon(8): Update to reality: swapoff ignores -L and the late option in fstab. MFC after: 1 week
|
#
5cd4723c |
|
21-Nov-2013 |
Sergey Kandaurov <pluknet@FreeBSD.org> |
- Purge one more reference to ad(4)[1]. - NSWAPDEV limit has gone. Noticed by: Sergey V. Dyatko [1] MFC after: 1 week
|
#
268a55bc |
|
27-Jun-2013 |
Hiroki Sato <hrs@FreeBSD.org> |
- Add vnode-backed swap space specification support. This is enabled when device names "md" or "md[0-9]*" and a "file" option are specified in /etc/fstab like this: md none swap sw,file=/swap.bin 0 0 - Add GBDE/GELI encrypted swap space specification support, which rc.d/encswap supported. The /etc/fstab lines are like the following: /dev/ada1p1.bde none swap sw 0 0 /dev/ada1p2.eli none swap sw 0 0 .eli devices accepts aalgo, ealgo, keylen, and sectorsize as options. swapctl(8) can understand an encrypted device in the command line like this: # swapctl -a /dev/ada2p1.bde - "-L" flag is added to support "late" option to defer swapon until rc.d/mountlate runs. - rc.d script change: rc.d/encswap -> removed rc.d/addswap -> just display a warning message if $swapfile is defined rc.d/swap1 -> renamed to rc.d/swap rc.d/swaplate -> newly added to support "late" option These changes alleviate a race condition between device creation/removal and swapon/swapoff. MFC after: 1 week Reviewed by: wblock (manual page)
|
#
633d2bc5 |
|
24-Oct-2011 |
Maxim Sobolev <sobomax@FreeBSD.org> |
Add new option -F to specify alternative location of the /etc/fstab file. MFC after: 1 month
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
45a5dc93 |
|
23-Jun-2008 |
Mike Makonnen <mtm@FreeBSD.org> |
Add a -q flag to swapon(8) to suppress informational messages. Use it in rc.d. Note: errors are not affected by this flag.
|
#
2e64768c |
|
19-May-2008 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
- Change the meaning of -h flag from giving the output in megabytes to giving the output in a human-readable form. This behaviour is consistent with most of system tools. - Add -m and -g options to give output in megabytes and gigabytes respectively.
|
#
8d646af5 |
|
10-Feb-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sync program's usage() with manpage's SYNOPSIS.
|
#
6087df9e |
|
18-Jan-2005 |
Ruslan Ermilov <ru@FreeBSD.org> |
Sort sections.
|
#
4c723140 |
|
09-Apr-2004 |
Mark Murray <markm@FreeBSD.org> |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999. Approved by: core, imp
|
#
f5b4f7c9 |
|
27-Feb-2003 |
Giorgos Keramidas <keramida@FreeBSD.org> |
Spell "utilities" correctly.
|
#
15f65250 |
|
25-Feb-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
More fixes. Submitted by: Andy Farkas <andyf@speednet.com.au> Reviewed by: das
|
#
031e8f07 |
|
24-Feb-2003 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: Tidy up.
|
#
1281f763 |
|
24-Feb-2003 |
David Schultz <das@FreeBSD.org> |
Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing to swapon(2), and correct HISTORY. Reviewed by: mike (mentor)
|
#
a420c811 |
|
28-Dec-2002 |
Matthew Dillon <dillon@FreeBSD.org> |
Add 'swapctl' - as a hardlink to swapon/swapoff, and augment swapon with swapctl functionality. The idea is to create a swapctl command that is fairly close to the OpenBSD and NetBSD version. FreeBSD does not implement swap priority (and it would be a mistake if we did) so we didn't bother with that part of it. Submitted by: Eirik Nygaard <eirikn@bluezone.no> Augmented by: dillon (extensively) Reviewed by: David Schultz <dschultz@uclink.Berkeley.EDU>
|
#
92da00bb |
|
15-Dec-2002 |
Matthew Dillon <dillon@FreeBSD.org> |
This is David Schultz's swapoff code which I am finally able to commit. This should be considered highly experimental for the moment. Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> MFC after: 3 weeks
|
#
ce66ddb7 |
|
21-Aug-2002 |
Tom Rhodes <trhodes@FreeBSD.org> |
s/filesystem/file system/g as discussed on -developers
|
#
629e80ef |
|
06-Jul-2002 |
Philippe Charnier <charnier@FreeBSD.org> |
The .Nm utility.
|
#
9fe48c6e |
|
10-Jul-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: removed HISTORY info from the .Os call.
|
#
7e3ba257 |
|
10-Apr-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
vnconfig(8) -> mdconfig(8).
|
#
7c7fb079 |
|
20-Nov-2000 |
Ruslan Ermilov <ru@FreeBSD.org> |
mdoc(7) police: use the new features of the Nm macro.
|
#
9eac7384 |
|
28-Feb-2000 |
Gregory Sutter <gsutter@FreeBSD.org> |
correct wording in BUGS section; it's not possible to dismount swap devices, but it's certainly possible to make use of them. PR: 17013 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
|
#
7e6fca85 |
|
25-Sep-1999 |
Nik Clayton <nik@FreeBSD.org> |
Mention /dev/vn0b and /dev/vntab. ascii -> ASCII transform had already happened in an earlier commit. PR: docs/13645 Submitted by: Stephen Roznowski <sjr@home.com>
|
#
c6d6e772 |
|
20-Sep-1999 |
Alexey Zelkin <phantom@FreeBSD.org> |
Correct spelling : ascii -> ASCII PR: docs/13702 Submitted by: Stephen J. Roznowski <sjr@home.com> Reviewed by: mpp
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
9c4134e1 |
|
16-May-1999 |
Joseph Koshy <jkoshy@FreeBSD.org> |
Refer to current names for swap partitions in the `FILES' section. PR: docs/11709 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
|
#
e798a806 |
|
03-Aug-1998 |
Philippe Charnier <charnier@FreeBSD.org> |
.Nm swapon -> .Nm. Sort #includes. Add rcsid.
|
#
84b9f7a7 |
|
31-Jan-1998 |
Steve Price <steve@FreeBSD.org> |
Revert last commit and SEE ALSO pstat(8) instead. Submitted by: Bruce Evans
|
#
1717267a |
|
25-Jan-1998 |
Steve Price <steve@FreeBSD.org> |
SEE ALSO swapinfo(8). PR: 5447 Submitted by: Craig Leres <leres@ee.lbl.gov>
|
#
c9c3deed |
|
25-Aug-1997 |
Warner Losh <imp@FreeBSD.org> |
.Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org> when he tried to figure out how to swap to a file and had to ask me for help.
|
#
c0ec1f37 |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$ This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
e0e5145c |
|
23-Sep-1996 |
Wolfram Schneider <wosch@FreeBSD.org> |
add missing comma(s) in .Xr macros
|
#
7fc4a454 |
|
06-Sep-1996 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the noauto flag usable for swap devices too. Closes PR#1542 Submitted-By: David Leonard <d@scry.dstc.edu.au>
|
#
571a258a |
|
16-Feb-1995 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
fstab is in section 5, not section 8. Obtained from: NetBSD
|
#
8fae3551 |
|
26-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite sbin Sources Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
|