Not a loopback mounted filesystem, but a swap file ?
---
dd if=/dev/zero of=swapfile count=<whatever>mkswap swapfile
swapon swapfile
---
You can run a bash script with a vmstat that adds new files with thresholds.
But realistically, why not just give 2 GB ? Backing some music you never
listen to on a DVD will free up this space. And, if the material is
copyrighted, and not licensed (the music), DVDs are easier to disown ! :)

Cheers,
Manas

On Thu, Mar 20, 2008 at 9:35 AM, श्रीधर नारायण दैठणकर <
[EMAIL PROTECTED]> wrote:

> On Thursday 20 Mar 2008 21:22:09  शंतनु महाजन (Shantanoo Mahajan)
> wrote:
> > How about having loopback mounted file to be used as swap instead of
> > whole
> > partition? This way you can increase/decrease the swap size. You can
> > have
> > multiple swaps. And since swap will be used occasionally, it may not
> > have
> > much impact on performance in desktop environment in most of the cases.
>
> Care to share an illustration with commands?
>
> And how it is different that using swapfiles?
>
>  Shridhar
>
>
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      ([email protected])
> List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to [EMAIL PROTECTED] for mailing instructions.
>
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.
  • [PLUG] Idea... Devendra Laulkar
    • Re: [P... Kenneth Gonsalves
      • Re... Devendra Laulkar
        • ... श्रीधर नारायण दैठणकर
        • ... शंतनु महाजन (Shant anoo Mahajan)
          • ... श्रीधर नारायण दैठणकर
            • ... Manas Alekar
              • ... Devendra Laulkar
                • ... श्रीधर नारायण दैठणकर
                • ... sudhanwa Jogalekar
              • ... Manas Alekar
    • Re: [P... श्रीधर नारायण दैठणकर
    • Re: [P... sudhanwa Jogalekar

Reply via email to