07-30-2003
But what is better sticking to bsd to the end or swapping every
flavour till I find one that I like.??
But BSD5.0 is still stable .!!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can i check to see if my mail ports are open (port 110 for incoming and 25 for outgoing)? I want to do this because i am having a problem sending email out. If one of the ports has a problem, how can i open it? Thanks in advance! (9 Replies)
Discussion started by: djatwork
9 Replies
2. UNIX for Dummies Questions & Answers
working with FreeBSD 4.5
learning the hang of it i must say but still few probs
i want to install some packages from my freebsd cdrom
read lot of docs but still don't understand the commands
first tried to install it by copying the tgz file and the let
tar xzf on it. It worked fine and had... (1 Reply)
Discussion started by: termiEEE
1 Replies
3. IP Networking
Ok, I've been working in the IT field for about 3 years now and I never fully understood the concept of ip ports. I just started a new job that uses Solaris and today it kinda clicked in my head and I want to know if I'm right or wrong.
Does each ip address have multiple ports. because we... (4 Replies)
Discussion started by: eloquent99
4 Replies
4. IP Networking
What are some good sites that list all TPC/UDP ports? ~thanks (3 Replies)
Discussion started by: ireeneek
3 Replies
5. Solaris
Hi,
If for example i try to start tomcat in a solaris server and get errors related to address already in use, how can I know if this port is really used for another process?
If someone can point any documentation it will be very helpfull.
Thanks! :rolleyes: (9 Replies)
Discussion started by: ffpradella
9 Replies
6. UNIX and Linux Applications
/ ports / textproc / htmlisehttp://cvsweb.freebsd.org/ports/textproc/htmlise
I've installed this but I can't find any documentation -anywhere- on how to use it. There is no man or help switch available for this. Can anybody give me some insight on what syntax it requires or a simple example on... (3 Replies)
Discussion started by: phpfreak
3 Replies
7. Programming
Hello there,
My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64.
It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386).
The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies
8. BSD
I use DesktopBSD (FreeBSD + KDE) and regularly install this on our machines. Currently I go to the package manager to install the ports, but what shell command can I enter instead right after BSD install to install the ports?
Thanks in advance (3 Replies)
Discussion started by: figaro
3 Replies
9. BSD
When updating the ports, I normally do the following:
rm -r /usr/ports
csup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile
This however takes rather long, about 20 mins on stock hardware. Is there a way to exclude certain ports from being updated, such as games and print? (4 Replies)
Discussion started by: figaro
4 Replies
LEARN ABOUT FREEBSD
swapon
SWAPON(2) BSD System Calls Manual SWAPON(2)
NAME
swapon, swapoff -- control devices for interleaved paging/swapping
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
swapon(const char *special);
int
swapoff(const char *special);
DESCRIPTION
The swapon() system call makes the block device special available to the system for allocation for paging and swapping. The names of poten-
tially available devices are known to the system and defined at system configuration time. The size of the swap area on special is calcu-
lated at the time the device is first made available for swapping.
The swapoff() system call disables paging and swapping on the given device. All associated swap metadata are deallocated, and the device is
made available for other purposes.
RETURN VALUES
If an error has occurred, a value of -1 is returned and errno is set to indicate the error.
ERRORS
Both swapon() and swapoff() can fail if:
[ENOTDIR] A component of the path prefix is not a directory.
[ENAMETOOLONG] A component of a pathname exceeded 255 characters, or an entire path name exceeded 1023 characters.
[ENOENT] The named device does not exist.
[EACCES] Search permission is denied for a component of the path prefix.
[ELOOP] Too many symbolic links were encountered in translating the pathname.
[EPERM] The caller is not the super-user.
[EFAULT] The special argument points outside the process's allocated address space.
Additionally, swapon() can fail for the following reasons:
[ENOTBLK] The special argument is not a block device.
[EBUSY] The device specified by special has already been made available for swapping
[ENXIO] The major device number of special is out of range (this indicates no device driver exists for the associated hardware).
[EIO] An I/O error occurred while opening the swap device.
Lastly, swapoff() can fail if:
[EINVAL] The system is not currently swapping to special.
[ENOMEM] Not enough virtual memory is available to safely disable paging and swapping to the given device.
SEE ALSO
config(8), swapon(8), sysctl(8)
HISTORY
The swapon() system call appeared in 4.0BSD. The swapoff() system call appeared in FreeBSD 5.0.
BSD
October 4, 2013 BSD