[systemd-devel] cryptsetup vs. swapon/fsck (some kind of race condition)

Andy Kittner andy.kittner at gmail.com
Tue May 13 15:27:34 PDT 2014


On 13/05/14 23:39, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, May 13, 2014 at 08:01:21PM +0200, Andy Kittner wrote:
>> | May 13 18:50:33 pinky systemd-udevd[2751]: conflicting device node
>> '/dev/mapper/swap' found, link to '/dev/dm-1' will not be created
>> Thats the first one I find a bit fishy, but it doesn't sound fatal
>> either...
> When this happens, what does /dev/mapper/swap point at?


Here are the nodes I have right now:
/dev/mapper:
total 0
crw------- 1 root root  10, 236 May 13 18:50 control
brw------- 1 root root 254,   3 May 13 18:50 data
brw------- 1 root root 254,   4 May 13 18:50 home
lrwxrwxrwx 1 root root       14 May 13 18:50 root -> root_sdb5-root
lrwxrwxrwx 1 root root        7 May 13 18:50 root_sdb5-root -> ../dm-0
lrwxrwxrwx 1 root root        7 May 13 18:50 swap -> ../dm-1
lrwxrwxrwx 1 root root        7 May 13 18:50 videos -> ../dm-2

/dev/dm-*:
brw-rw---- 1 root disk 254, 0 May 13 18:50 /dev/dm-0
brw-rw---- 1 root disk 254, 1 May 13 18:50 /dev/dm-1
brw-rw---- 1 root disk 254, 2 May 13 18:50 /dev/dm-2
brw-rw---- 1 root disk 254, 3 May 13 18:50 /dev/dm-3
brw-rw---- 1 root disk 254, 4 May 13 18:50 /dev/dm-4


Regards,
Andy




More information about the systemd-devel mailing list