Linux Newbie help
 help / color / mirror / Atom feed
From: Chuck Gelm <nc8q@gelm.net>
To: Heimo Claasen <hammer@revobild.net>
Cc: linux-newbie@vger.kernel.org
Subject: Re: RAM and swap partition
Date: Mon, 16 Dec 2002 16:33:26 -0500	[thread overview]
Message-ID: <3DFE46A6.C36FC25A@gelm.net> (raw)
In-Reply-To: 200212160834.gBG8Yuq14788@ev6.be.wanadoo.com



Heimo Claasen wrote:
> 
> Chuck - that swapfile: has it to be created anew just before any
> prog/app is run ? Or could I just leave it "on" ?

 A swap file, once created, can be left.
However, you will need to restart swap upon each boot.
Perhaps a rc.local script command will do.


> Well, and then - can I conclude from this that a swap _partition_ is
> basically used like a file ?

 Well, maybe a swap file is used more like a partition.  :-|

> (Or else: would programs which need swap create their _specific_ files
> in a swap partition ?)

 A swap file and a swap partition behave as virtual memory,
not as a file.  So let us not try to assign file attributes
to virtual memory (swap) or file attributes to virtual
memory (ramdisk).  User applications do not create swap
or ramdisk.  User applications request memory or create
scratch pad files.  ;-)

 I think.

HTH, Chuck

> 
> -heimo
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs

  reply	other threads:[~2002-12-16 21:33 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16  0:00 RAM and swap partition Heimo Claasen
2002-12-16 21:33 ` Chuck Gelm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-15  0:00 Heimo Claasen
2002-12-15  4:07 ` Chuck Gelm
2002-12-13  0:00 Heimo Claasen
2002-12-13 22:31 ` Chuck Gelm
2002-12-09 18:22 james miller
2002-12-09 18:47 ` Ray Olszewski
2002-12-10  8:39   ` ichi
2002-12-09 20:59 ` Chuck Gelm
2002-12-09 20:59 ` Chuck Gelm
2002-12-10  8:15 ` ichi
2002-12-07  0:00 Heimo Claasen
2002-12-08  2:28 ` whitnl73
2002-12-07  0:00 Heimo Claasen
2002-12-08  0:24 ` james niland
2002-12-08 13:15   ` Rolf Edlund
2002-12-08 15:58     ` Ray Olszewski
2002-12-08 21:43       ` Chuck Gelm
2002-12-11 18:32         ` Rolf Edlund
2002-12-09  7:13       ` ichi
2002-12-08 21:39         ` whitnl73
2002-12-11 18:03       ` Rolf Edlund
2002-12-08  0:35 ` dashielljt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DFE46A6.C36FC25A@gelm.net \
    --to=nc8q@gelm.net \
    --cc=hammer@revobild.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox