Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why do we say that swap partition does not need a mount point? is it because swap is basically for virtual memory access and we don't need to view or access it so there is no need to mount it? or is it done automatically maybe?

share|improve this question

migrated from stackoverflow.com Dec 17 '11 at 13:01

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

Exactly, a swap space is there so that inactive memory pages get written to disk (and reread when they are used again). It makes no sense to mount a swap partition.

However, with Linux at least, you still need to declare it in your fstab: the boot process will then activate it using swapon.

share|improve this answer
    
that helps a lot. thank you! – namita Dec 17 '11 at 16:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .