Hi Michael,

thanks a lot for your quick response.

On Sun, 5 Sep 2021 19:44:15 +0200
Michael Biebl <bi...@debian.org> wrote:

> So you create a lot of partitions which all have the same label?
> 
> Isn't this asking for trouble anyway as you can't be certain, which 
> device the /dev/disk/by-label/dummy will point to?

I'm using this in a virtualization setup. The LVs I use have a label of
"root", "var", etc. Within the VMs those are unique and are used
in /etc/fstab..  I don't care about these labels on the host system but
I'd like my system to not break if possible :) .

> Sounds like
> https://github.com/systemd/systemd/issues/20212
> 
> You might give the linked PR
> https://github.com/systemd/systemd/pull/20603
> a try

Thanks for finding that! I'll report back once I've had a chance to try
this.

Regards
Lukas

Attachment: pgpXz6VYZdwMP.pgp
Description: OpenPGP digital signature

Reply via email to