Mailinglist Archive: opensuse-factory (437 mails)

< Previous Next >
Re: [opensuse-factory] Re: fstab, systemd and UUID

On Tuesday 2015-04-07 22:11, Yamaban wrote:
On Tue, 7 Apr 2015 20:31, Cristian Rodríguez wrote:
On Tue, Apr 7, 2015 at 2:26 PM, ellanios82 wrote:

/dev/sdb3 swap swap defaults 0 0

No! device names are not persistent , that's why we are discussing this at

How about this mix:


We have PARTUUID, and that's working since 3.7 for msdos ptabs if you
followed the thread, there is no need to invent a half-dollar custom
insular solution.

We take the "UUID" approach, but change it some.
ACSII "SWAP" translates to "53 57 41 50 0a", let
this be the first part of any swap Partition UUID.
even better if in the next part is the {Dev_Serial}

For the full mounty:

This is nonsensical. Not all block devices have a model or serial

That way "swapon" can identify a valid swap partition,

Whether a partition is valid swap one can figure out by looking at the
magic bytes. We do not need to encode SWAP$model$serial$blahblah for
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups