Where does Linux get Swap partitions to mount I have recently added a second swap partition for my third system (Two of which are Linux).  My aim was to have a single dedicated swap space for each of the systems so that it would not cause any problems when swap-sharing.  Making the appropriate changes to /etc/fstab, I rebooted... Only to have the first system load both of the available swap partitions.  My question is, are there any other ways a system can mount a partition other than those listed in /etc/fstab?  cat /etc/fstab output  UUID=9034-ACC1  /boot/efi       vfat    umask=0077      0       1 UUID=ece74c78-21b5-4c37-ad97-2dcbd98c1d50 /home           ext4    defaults        0       2 UUID=78ab45f8-1a54-49b3-b7a9-48afc6a95054 none            swap    sw              0       0 /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0 UUID=de651abc-dcc4-472a-8bb6-64d0e89cdc30 /tmp ext4 defaults,noauto 0 2 UUID=f5019f7b-d758-4aee-8261-424ca5813b75 /var ext4 defaults,noauto 0 2 UUID=477bf58b-c602-4116-afea-7e8914adbf56 / ext4 errors=remount-ro,noauto 0 1   Yet cat /proc/swaps yields  Filename                Type        Size    Used    Priority /dev/sda15              partition   6291452 0       -2 /dev/sda8               partition   6179836 0       -1   fdisk -l  Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: gpt Disk identifier: E7779D9B-ADD0-40D7-A257-C1DEF6AC0E35  Device     Type                         UUID /dev/sda1  Windows recovery environment 84D97802-5484-4905-85D5-39A6C394635F /dev/sda2  EFI System                   FF3F087C-3E1F-428B-A3A6-3083444059F9 /dev/sda3  Microsoft reserved           0BE8D02B-398F-4D93-9A71-8C1AE98FBF20 /dev/sda4  Microsoft basic data         8F0537C3-D0CF-413C-9417-FA2436FF1583 /dev/sda5  Windows recovery environment 7CC71CC6-F1D9-4693-AB32-5DB177867815 /dev/sda6  Linux filesystem             A20F3F7B-4EA3-4749-9601-B9D879B19498 /dev/sda7  Linux filesystem             5829D354-8018-43FD-9738-B31A82C0073B /dev/sda8  Linux swap                   F8FCB0F2-38EC-4A3C-92CB-7196DC7AEAF0 /dev/sda9  Linux filesystem             31174EC2-06E4-4963-8302-273994431B65 /dev/sda10 Linux filesystem             BC658257-DBE5-40D0-9CD1-CEC46E1913BC /dev/sda11 Linux filesystem             E1E3A130-EA53-48B4-A130-4CF349964A41 /dev/sda12 Linux filesystem             359F6EC1-D937-43E6-A3E3-DDC8E457C0CC /dev/sda13 Linux filesystem             82092B42-981D-4F67-977F-6A3F034B365E /dev/sda14 Linux filesystem             278ACACC-B8CC-4169-8A79-E9812F59B035 /dev/sda15 Linux swap                   33BF80B8-A409-4AD5-B778-836974BAA8C3  Partition table entries are not in disk order.   I tried repacking the initramfs, checked that the resume variable is not set wrong, and only one of the two systems does this.
How does Linux know where its swap partition is? I've read that you need to put the swap partition on HDD rather than SSD.   My questions are the following:    When and how is the "checking" done by the distribution (or something else) to find its Swap partition?  Does it happen during boot?  It just checks all available disks and searches for a partition with 'swap' flag?  What happens if there are several partitions like that?  Also, how many swap partitions do I need to have if I run, for example, two different distributions on the same disk, let's say Fedora and Ubuntu?
A thin-walled container of mass $m$ floats vertically at the separation surface of the two liquids of density $ρ_1$ and $ρ_2$  . The whole mass of the container is concentrated in the part of height $h$.  The question is to determine the immersion depth $h'$of the container in the lower liquid if the bottom of the container has a thickness $h$ and an area $S$ and if the container itself is filled with the liquid of density $ρ_1$.    I applied the fundamental principle of the statics on the container  $Balance$ $Sheet$:  The weight of the container ($-mg$)  The buoyancy force applied by the fluid with density $ρ_2$ ($ρ_2gSh$)  The weight of the fluid with density  $ρ_1$  (-$ρ_2gSh'$)  I summed up the forces and set them to zero and find my $h'$  but then  realised that the fluid with density  $ρ_1$  applied also a buoyoncy force on the top of the container , and the fluid with density  $ρ_2$  applied a buoyoncy force on the other fluid.  Where's the problem ? Writing test code for wrapper class Macros for code annotations SWR surname that in fact describes or applies to the human in question? There are (in real life) many amazing examples of this (Bill Gates, "gates" being the fundament of computers, Tiger "Woods", the greatest ever user of "woods" golf-clubs, etc) and it is a staple of fiction.  Is there a single-word for this, or a frequently-used term?  Note that in fictional usage, I observe there is literal "X", so, for example I just saw a children's movie where "Madame Work" was a taskmaster. However, authors often employ near-literal "X": for example, most of the minor character surnames in Harry Potter are 'kind of" "X".  So, is there an "X" for Bill "Gates", Tiger "Woods", an undertaken named Mr. Death, etc?  Sorry if this has been asked already, I couldn't find it.    Note - I've just found there's a "wikipedia" page claiming 'aptonym' or 'euonym' is sometimes used.  Wikipedia is often valueless, so I do not know if this is a meaningful claim. Do not disturb mode - but allow certain apps I am looking for a short story I read long ago about the phone system 'waking up'. It talks about how the phone system had just reached the number of connections as the number in the human brain. They lead you somehow to wonder (maybe characters speculating?) and it ends with a 'baby cry' of all the phones in the world ringing. I think I read it at least 20 years ago, maybe as many as 30. I think it was after 1978 because I think it was after I went to work at Bell Labs - so the phone connection resonated:-). It was definitely pre-internet.   What was the title? Who was the author? Any more on the plot since my memory is very hazy? I remember really liking the story and this site has got me thinking about my ATF's. Where to find my Favorites in Google Chrome? Bootcamp: The startup disk does not have enough space to be partitioned When clicking continue on the first Boot Camp screen,  I am presented with a dialog that displays:     The startup disk does not have enough space to be partitioned.   You must have at least 39 GB of free space available.     This is despite "About this Mac" reporting 271GB of free space:    And "Disk Utility" reporting 268GB of free space:    Searching online I found  which suggested it was the result of Time Machine which i recently enabled and suggests to run sudo tmutil thinlocalsnapshots / 999999999999 which I did, it ran sucessfully, and I restarted, yet to no avail.  What is the solution to this instance of Apple's poor engineering?  Running macOS High Sierra 10.13.4 (17E202) Determine whether or not a point lies within a rotated rectangle How to unit test an object with database queries I've heard that unit testing is "totally awesome", "really cool" and "all manner of good things" but 70% or more of my files involve database access (some read and some write) and I'm not sure how to write a unit test for these files.  I'm using PHP and Python but I think it's a question that applies to most/all languages that use database access. Matrix doesn't shrink when put in fraction. How to use Parameterized MessageFormat with non-Value attributes of JSF components Title page line spacing I have a simple problem but I didn't manage to find any answer for it. In my title page, I just used  \title{Name of the title}   then  \hrule height 0,1cm \leavevmode \\[0,5cm]     {\Huge{\textbf{\@title}}}\\[0,5cm] \hrule height 0,1cm \leavevmode \\[0,5cm]   to print the title of my document. But it takes more than 3 lines on the PDF file, and I have a different spacing between the 1st and 2nd line compared to the 2nd and 3rd, which is a bit frustrating.   Anyone got an idea of why ? How do I change the plymouth bootscreen? With regards to Plymouth --  Are there alternative boot screens available?  What's the easiest way to change the boot screen? Will Area 51 be supported in the app? Will  be supported on the Android App in the future? I visit A51 rather frequently and I would like to see it in the App. How to move a visible file to a hidden folder? I've only been using Ubuntu for two weeks and have been able to find answers to any problem I had, however this one defies my searches.  I want to move a visible programme file (wallch) to a hidden directory ./config/autostart.  I have been able to enter this directory and the subject file is not there and I want to have this program start at bootup.  Can anyone assist?  Thanking you Will stationary charge radiate E.M waves if observer is accelerating? Prove $\operatorname{rank}A^TA=\operatorname{rank}A$ for any $A\in M_{m \times n}$ How can I prove $\operatorname{rank}A^TA=\operatorname{rank}A$ for any $A\in M_{m \times n}$?   This is an exercise in my textbook associated with orthogonal projections and Gram-Schmidt process, but I am unsure how they are relevant. What is the opposite of "personification"? I want a word that means the opposite of personification.  What is the correct word for describing people with the characteristics of an object/as if they are objects?  I found the word chremamorphism on some forums, but it doesn't seem to be included in the two online dictionaries I searched. Air gap on isolation space The below photo belongs to a PSU. I wonder what was the reason of placing air gaps on the 8 mm isolation. Is it to improve the isolation or provide a thermal relief (although there is no component below the red circled air gap)?