I want to create a disk under CoreOS that is automatically mounted at /var/lib/docker
So I created a var-lib-docker.mount unit file to do it and decided to use the by-label path under /dev/disk.
Initially I found my partitions appear under the by-partlabel path. It works great however.
In the process I found out that there is a program called e2label, and also under fdisk expert mode I can also create a partition label.
Having not found e2label initially I found I could label partitions with the word "DOCKER" in fdisk. But they actually come through to the path /dev/disk/by-partlabel and not /dev/disk/by-label
What are the differences between these? should one be favoured over the other?