On 06/21/2018 02:24 AM, Carlos E. R. wrote:
Hi,
in a 15.0 freshly installed I got this /etc/crypttab file:
cr_sda4 /dev/sda4
It surprises me that there are no "options". The normal syntax is:
# - ------------------------···-------------···--------···------------------... # <target device> <source device> <key file> <options> # ------------------------···-------------···--------···------------------
But what surprises me more is "/dev/sda4". I thought that method was deprecated, and we should use UUIDs instead. In my main computer, disk /dev/sda changes from boot to boot depending on what external disks I have connected, or none. Thus the rest, sdb, sdc... shift.
I don't think this is correct. :-? There is nothing in the documentation saying this is deprecated, both are supported. It is not common for block devices to randomly change (I've only experienced a change when I specifically set out to do so), but if that is something that happens to you it might be worth adding
That is the normal syntax, and it used to be mandatory - however the manpage explains the behavior: The third field specifies the encryption password. If the field is not present or the password is set to "none" or "-", the password has to be manually entered during system boot. The fourth field, if present, is a comma-delimited list of options. the UUID instead. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org