Messages in this thread | | | Date | Fri, 8 Jul 2005 23:35:13 +0200 | Subject | Re: Swap partition vs swap file | From | Helge Hafting <> |
| |
On Fri, Jul 08, 2005 at 09:35:58AM -0600, Jeremy Nickurak wrote: > On ven, 2005-07-08 at 03:22 +0200, Bernd Eckenfels wrote: > > No, it is creating files by appending just like any other file write. One > > could think about a call to create unfragmented files however since this is > > not always working best is to create those files young or defragment them > > before usage. > > Except that this defeats one of the biggest advantages a swap file has > over a swap partition: the ability to easilly reconfigure the amount of > hd space reserved for swap.
You can still reconfigure the amount of swap by creating more swapfiles later - you merely risk a fragmented file. Keep your filesystems only half full though, and it won't be a big problem. :-)
Helge Hafting
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |