1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
|
<html>
<!--http://www.phys.ethz.ch/~franklin/Projects/dphys-swapfile/index.html.en-->
<head>
<title>dphys-swapfile setup/mount script</title>
<meta name="keywords"
content="neil franklin, ETH, dphys-swapfile, Linux, swap file">
<meta name="description"
content="dphys-swapfile setup/mount script">
</head>
<body>
<a href="../../index.html.en">Home</a> |
<a href="../index.html.en">Projects</a> | dphys-swapfile
<hr>
<h2>dphys-swapfile Setup/Mount Script</h2>
<a href="#basics">Project Basics</a><br>
<a href="#status">Project Status</a><br>
<a href="#download">Code Download</a><br>
<a href="#links">External Stuff (Links)</a><br>
<a name=basics></a>
<h3>Project Basics</h3>
This project is aimed at using an swap file on our Linux systems. We want
to be able to generate an RAM size dependant swap file in /var, instead of
using an fixed sized swap partition. And automatically regenerate the swap
file if RAM size changes, to fit the new size.
<p>
This project has produced an <a href="dphys-swapfile">dphys-swapfile</a>
script for sizing, setting up and mounting an swap file. And an
<a href="init.d.example">init.d script</a> that runs this script at boot
and shutdown time.
<p>
This project was spawned from the <a href="../dphys2/">dphys2</a> project.
<a name=status></a>
<h3>Project Status</h3>
For the full details of done/doing/todo of the project best read the
<a href="Logfile">Logfile</a>. A short excerpt from it is here:
<p>
<h4>Done are:</h4>
Milestone/Release 4 (2004.02.19):
<ul>
<li>Thsi was still as part of <a href="../dphys2/">dphys2</a>. Made
<a href="dphys-swapfile">dphys-swapfile</a> script to automatically
generate/activate/resize an swapfile, default 2*RAM size, and also
deactivate/delete it at the approriate time</li>
</ul>
Milestone/Release 5 (2004.07.29):
<ul>
<li>Split out of dphys2 into an separate project, as this tool is
also usefull without dphys2, on any Linux system</li>
<li>Reworked as separate /sbin and /etc/init.d scripts</li>
</ul>
Milestone/Release 6 (2006.09.15):
<ul>
<li>Repackaged as separate non-debianised upstream for later
debianisation by separate maintainer</li>
<li>Slight code and documentation improvements</li>
</ul>
Milestone/Release 7 (2006.10.20):
<ul>
<li>Code and docs tidy up, extensive quoting improvements, no
absolut paths in commands</li>
</ul>
Current (= development, = may be broken):
<ul>
<li>Nothing done</li>
</ul>
<h4>Todo are:</h4>
<ul>
<li>Nothing planned</li>
</ul>
<a name=download></a>
<h3>Code Download</h3>
Current (= development, = may be broken):
<ul>
<li><a href="INSTALL">
Installation Guide</a></li>
<li>entire project: <a href="../dphys-swapfile.tar.gz">
dphys-swapfile.tar.gz</a></li>
<li>single files:<ul>
<li><a href="Makefile">
Makefile</a>, control process</li>
<li><a href="dphys-swapfile">
dphys-swapfile</a>, size/setup/mount/delete swap file script</li>
<li><a href="dphys-swapfile.8">
dphys-swapfile.8</a>, man page for dphys-swapfile</li>
<li><a href="dphys-swapfile.example">
dphys-swapfile.example</a>, example config file, containing only the
default settings as comments, to adapt to your site</li>
<li><a href="init.d.example">
init.d.example</a>, example init.d script to run dphys-swapfile every
boot and shutdown, to resize/swapon and swapoff</li>
</ul></li>
</ul>
Milestone/Release 7 (2006.10.20):
<li><a href="../dphys-swapfile-20061020/INSTALL">
Installation Guide</a></li>
<li>entire project: <a href="../dphys-swapfile-20061020.tar.gz">
dphys-swapfile-20061020.tar.gz</a></li>
<li>single files:<ul>
<li><a href="../dphys-swapfile-20061020/Makefile">
Makefile</a>, control process</li>
<li><a href="../dphys-swapfile-20061020/dphys-swapfile">
dphys-swapfile</a>, size/setup/mount/delete swap file script</li>
<li><a href="../dphys-swapfile-20061020/dphys-swapfile.8">
dphys-swapfile.8</a>, man page for dphys-swapfile</li>
<li><a href="../dphys-swapfile-20061020/dphys-swapfile.example">
dphys-swapfile.example</a>, example config file, containing only the
default settings as comments, to adapt to your site</li>
<li><a href="../dphys-swapfile-20061020/init.d.example">
init.d.example</a>, example init.d script to run dphys-swapfile every
boot and shutdown, to resize/swapon and swapoff</li>
</ul></li>
</ul>
Milestone/Release 6 (2006.09.15):
<li><a href="../dphys-swapfile-20060915/INSTALL">
Installation Guide</a></li>
<li>entire project: <a href="../dphys-swapfile-20060915.tar.gz">
dphys-swapfile-20060915.tar.gz</a></li>
<li>single files:<ul>
<li><a href="../dphys-swapfile-20060915/Makefile">
Makefile</a>, control process</li>
<li><a href="../dphys-swapfile-20060915/dphys-swapfile">
dphys-swapfile</a>, size/setup/mount/delete swap file script</li>
<li><a href="../dphys-swapfile-20060915/dphys-swapfile.8">
dphys-swapfile.8</a>, man page for dphys-swapfile</li>
<li><a href="../dphys-swapfile-20060915/dphys-swapfile.example">
dphys-swapfile.example</a>, example config file, containing only the
default settings as comments, to adapt to your site</li>
<li><a href="../dphys-swapfile-20060915/init.d.example">
init.d.example</a>, example init.d script to run dphys-swapfile every
boot and shutdown, to resize/swapon and swapoff</li>
</ul></li>
</ul>
Milestone/Release 5 (2004.07.29):
<ul>
<li><a href="../dphys-swapfile-20040729/INSTALL">
Installation Guide</a></li>
<li>entire project: <a href="../dphys-swapfile-20040729.tar.gz">
dphys-swapfile-20040729.tar.gz</a></li>
<li>single files:<ul>
<li><a href="../dphys-swapfile-20040729/Makefile">
Makefile</a>, control process</li>
<li><a href="../dphys-swapfile-20040729/dphys-swapfile">
dphys-swapfile</a>, size/setup/mount/delete swap file script</li>
<li><a href="../dphys-swapfile-20040729/dphys-swapfile.8">
dphys-swapfile.8</a>, man page for dphys-swapfile</li>
</ul></li>
</ul>
Milestone/Release 4 (2004.02.19) was done as part of:
<a href="../dphys2/">dphys2</a>. Milestones/Releases 1-3 of dphys2 predate
dphys-swapfile.
<a name=links></a>
<h3>External Stuff (Links)</h3>
Various links that may be usefull:
<ul>
<li><a href="http://www.phys.ethz.ch/~franklin/Projects/dphys2/">
dphys2 project this project was spawned from</a></li>
<li><a href="http://packages.debian.org/dphys-swapfile">
official Debian Package of dphys-swapfile</a></li>
</ul>
<hr>
<a href="../../index.html.en">Home</a> |
<a href="../index.html.en">Projects</a> | dphys-swapfile
<p>
This page is by Neil Franklin, last modification 2006.10.20
</body>
</html>
|