Penguin

Differences between version 5 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 5 Last edited on Monday, March 1, 2004 7:24:39 pm by CraigBox Revert
Older page: version 4 Last edited on Monday, March 1, 2004 7:22:49 pm by CraigBox Revert
@@ -51,5 +51,5 @@
 fdisk(8), swapon(8) 
  
 ---- 
  
-; __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 
+; __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 DebianLinux , 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.