loopback swap files [was RE: for the GENTOO crowd]

Brian Densmore DensmoreB at ctbsonline.com
Mon May 20 22:01:36 CDT 2002


Sorry I didn't get back sooner. Just read my mail.

> -----Original Message-----
> From: bkelsay at comcast.net 
> 
> The problem with the Cardbus NIC is hardware.  The laptop was 
> not designed
> to use Cardbus and the NIC is not backward compatible.  Using 
> a cardbus card
> in a non-cardbus laptop is like putting an ISA card in a PCI 
> slot.  Doesn't
> work.
Ok, well that bites.

> 
> How do I go about making this loop-back swap?  Is this in addition to
> regular swap?
This should work.

modprobe loop 
dd if=/dev/zero of=/swapfile count=<size> 
losetup /dev/loop0 /swapfile 
mkswap /dev/loop0 
swapon /dev/loop0 

HTH,
Brian




More information about the Kclug mailing list