RAM and swap partition
Chuck - that swapfile: has it to be created anew just before any prog/app is run ? Or could I just leave it "on" ?
Well, and then - can I conclude from this that a swap _partition_ is basically used like a file ?
(Or else: would programs which need swap create their _specific_ files in a swap partition ?)
-heimo
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 3 lines · Heimo Claasen
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.
Quoted 2 lines
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. :-|
Quoted 2 lines
(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
Quoted 7 lines
(quoted diff) +0
-2-heimo -To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs