#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
252871 |
|
06-Jul-2013 |
delphij |
MFC r226712 (sobomax):
Add new option -F to specify alternative location of the /etc/fstab file.
MFC r226742 (ed):
Build swapon with WARNS=6.
Don't use a variable called stat, because it collides with stat(2).
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
179966 |
|
23-Jun-2008 |
mtm |
Add a -q flag to swapon(8) to suppress informational messages. Use it in rc.d. Note: errors are not affected by this flag.
|
#
179154 |
|
20-May-2008 |
pjd |
- 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.
|
#
141611 |
|
10-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
#
138129 |
|
27-Nov-2004 |
das |
Don't include sys/user.h merely for its side-effect of recursively including other headers.
|
#
128073 |
|
09-Apr-2004 |
markm |
Remove advertising clause from University of California Regent's license, per letter dated July 22, 1999.
Approved by: core, imp
|
#
126643 |
|
05-Mar-2004 |
markm |
Make NULL a (void*)0 whereever possible, and fix the warnings(-Werror) that this provokes. "Wherever possible" means "In the kernel OR NOT C++" (implying C).
There are places where (void *) pointers are not valid, such as for function pointers, but in the special case of (void *)0, agreement settles on it being OK.
Most of the fixes were NULL where an integer zero was needed; many of the fixes were NULL where ascii <nul> ('\0') was needed, and a few were just "other".
Tested on: i386 sparc64
|
#
114589 |
|
03-May-2003 |
obrien |
Use __FBSDID() to quiet GCC 3.3 warnings.
|
#
111424 |
|
24-Feb-2003 |
das |
- Add a clearer error message for the case where swapon hits the NSWAPDEV limit. - Don't warn about devices that are not in use in 'swapoff -a'. - Re-add behavior mistakenly removed in revision 1.44: If using 'swapon -a', do not warn if the device is already in use.
PR: 46633 Submitted by: Andy Farkas <andyf@speednet.com.au> (in part) Reviewed by: mike (mentor)
|
#
108459 |
|
30-Dec-2002 |
mike |
Remove hack from rev 1.15; getbsize(3)'s original interface has been restored.
|
#
108425 |
|
30-Dec-2002 |
mike |
Make the first argument to getbsize(3) a `size_t *'. This is a hack since getbsize(3) should have `int *' as its first parameter.
|
#
108375 |
|
28-Dec-2002 |
dillon |
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>
|
#
107913 |
|
15-Dec-2002 |
dillon |
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
|
#
92883 |
|
21-Mar-2002 |
imp |
o remove __P o remove main prototype
|
#
92806 |
|
20-Mar-2002 |
obrien |
Remove 'register' keyword. It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
|
#
78732 |
|
24-Jun-2001 |
dd |
Include missing header files which define functions for which gcc has builtins (e.g., exit, strcmp).
|
#
59216 |
|
14-Apr-2000 |
imp |
Add include of errno.h where needed, remove extern int errno where not.
These commits were inspired by a similar commit to netbsd.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
38039 |
|
03-Aug-1998 |
charnier |
.Nm swapon -> .Nm. Sort #includes. Add rcsid.
|
#
26740 |
|
19-Jun-1997 |
charnier |
Use warn(3).
|
#
24359 |
|
29-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
18073 |
|
06-Sep-1996 |
jkh |
Make the noauto flag usable for swap devices too. Closes PR#1542 Submitted-By: David Leonard <d@scry.dstc.edu.au>
|
#
8502 |
|
14-May-1995 |
dg |
Take out special error message for EINVAL...we really do want it to be "invalid argument".
|
#
6661 |
|
23-Feb-1995 |
phk |
Fix -Wall warnings.
Yes I have better things to do, but just now I'm waiting...
|
#
1559 |
|
26-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1558, which included commits to RCS files with non-trunk default branches.
|
#
1558 |
|
26-May-1994 |
rgrimes |
BSD 4.4 Lite sbin Sources
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
|