Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.