Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The only option I'm aware of is priority, which would be entered as "pri=<value>" in the fstab options field. Higher numbers indicate higher priority (default is -1).
The only option I'm aware of is priority, which would be entered as "pri=<value>" in the fstab options field. Higher numbers indicate higher priority (default is -1).
Priority may be needed if you have more than one swap partition or file or combination of two.
I think that where you put it is what really matters. reminds me of a parse I once heard, but if you put your swap on the front end of the HDD that is actually in the middle of the platter where it spins the fastest. therefore, it reads and writes quicker.
which does fall into the options category because you do have the option of creating else where on the platter.
Today, that's somewhat irrelevant. Hard drives, themselves, have become quite "smart" (no pun intended), and have many on-board caching and self-diagnostic capabilities.
For ordinary purposes, though, I think it's hard to beat swapping to a disk file, and to then keep the "swappiness" to a reasonable default. Most computers these days don't spend much time swapping, and don't use much swap, although they should have "some place to swap to" when they actually need to do so.
Per contra, laptop computers often need to be able to quickly "hibernate," which does use the swap facility and which in some instances requires a partition. "YMMV.™"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.