Penguin

Differences between version 4 and predecessor to the previous major change of mkswap(8).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Monday, March 1, 2004 7:22:49 pm by CraigBox Revert
Older page: version 3 Last edited on Monday, March 1, 2004 7:19:39 pm by CraigBox Revert
@@ -51,9 +51,5 @@
 fdisk(8), swapon(8) 
  
 ---- 
  
-  
-Question: After I create a swapfile (with dd), call mkswap  
- on it, call swapon, do I need to edit /etc/fstab so the  
- swapfile will be remounted upon next boot? More details  
- than just "in some boot script" would be nice. 
+; __ After I create a swapfile (with dd), call mkswap on it, call swapon, do I need to edit /etc/fstab so the swapfile will be remounted upon next boot? More details than just "in some boot script" would be nice.__ : It's distro-specific; for example on Red Hat, there is an /etc/init.d/checkroot.sh and mountall.sh which run swapon(8) after mounting swap partitions from the fstab(5) file. So, just put it in /etc/fstab as type ''swap'', and your distro should deal with it automatically  
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.