Re: regarding Swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

A: No.
Q: Should I include quotations after my reply?

On 05/06/07, Devvrat Tripathi <tripathidevvrat@xxxxxxxxx> wrote:
I dont exactly get the syscall swapon thing properly. Swap is supposed to be
activated by the kernel right incase the main memory gets filled up. I dont
understand how the kernel uses this system call as you cannot do system
calls from kernel space or is there some daemon which is responsible to do
this job.


The kernel starts up without swap. Then the root user (or usually an
init script) runs the 'swapon' command which executes the system call,
causing the kernel to activate swap.

See 'man 8 mkswap', 'man 8 swapon' and 'man 8 swapoff' as well as 'man
2 swapon' and 'man 2 swapoff'.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux