Re: An answer to "Gave up waiting for suspend/resume device"
On 09/27/2017 02:38 AM, Pascal Hambourg wrote:
Le 27/09/2017 à 10:37, Jimmy Johnson a écrit :
On 09/26/2017 02:25 AM, Pascal Hambourg wrote:
Le 26/09/2017 à 03:55, Jimmy Johnson a écrit :
Hi Mark, while multi-booting I use the device name in fstab,
/dev/sd?? none swap sw 0 0, it works for all my installed systems.
It is not always reliable with multiple drives, because device names
are not stable across reboots. So it is advised to use persistent
identifiers such as UUID or LABEL instead.
Yes, what you say is true, but not very often and from what I've seen
is due to mainboard setup or defects in the mainboard causing the bad
setup due to mainboard SATA connection being mislabeled.
No, it is due to the asynchronous nature of device probing and module
loading by the kernel and udev in modern Linux systems.
Could be but I've only seen that problem on two computers out of easily
more than 1000 and one of those was a mislabeled main board under
warranty and the computer was replaced with another model and the other
computer has taken out of service.
But if everything is correct and you are using lets say sda1 as root
in your fstab your system will use sda1 as the LABEL, I've seen this
over and over.
Nonsense. sda1 is the block device name and does not have anything to do
with the LABEL which is a filesystem metadata field.
But all this is advanced setup for people running more than one Linux
system and having to edit UUID on all systems because you install a
new system is undesirable.
No it does not have anything to do with multiple Linux systems.
In fstab a label is used as a device name, a uuid is used as a device
name and /dev/sda1 is a device name, you are just trying to make
nonsense out of nothing.
And editing multiple fstab config files because I've installed a new
system is, like I said undesirable and why I use device names in both my
fstab and grub boot menu. As you know when a new system is installed
swap is formatted and it's uuid gets changed every time it's formatted.
I do use labels on external plug and play drives though.
Debian Stretch - KDE Plasma 5.8.6 - AMD A8-7600 - EXT4 at sda6
Registered Linux User #380263