Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev: who sets DM_UDEV_PRIMARY_SOURCE_FLAG?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fpemud
Guru
Guru


Joined: 15 Feb 2012
Posts: 354

PostPosted: Sun Nov 09, 2014 2:07 pm    Post subject: udev: who sets DM_UDEV_PRIMARY_SOURCE_FLAG? Reply with quote

I'm learning udev.
I can find rules that uses DM_UDEV_PRIMARY_SOURCE_FLAG, but I can't find any rule that sets DM_UDEV_PRIMARY_SOURCE_FLAG.
Who sets this property then?

Code:
fpemud-workstation udev # pwd
/usr/lib/udev
fpemud-workstation udev # grep -r DM_UDEV_PRIMARY_SOURCE_FLAG
rules.d/69-dm-lvm-metad.rules:ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", ENV{DM_ACTIVATION}=="1", GOTO="lvm_scan"
rules.d/10-dm.rules:ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}=="1", ENV{DM_ACTIVATION}="1", GOTO="dm_flags_done"
rules.d/10-dm.rules:IMPORT{db}="DM_UDEV_PRIMARY_SOURCE_FLAG"
rules.d/10-dm.rules:# DM_UDEV_PRIMARY_SOURCE_FLAG to see if the device was activated correctly
rules.d/10-dm.rules:ENV{DM_UDEV_RULES_VSN}!="1", ENV{DM_UDEV_PRIMARY_SOURCE_FLAG}!="1", GOTO="dm_disable"
rules.d/10-dm.rules:#        EVENT              DM_UDEV_PRIMARY_SOURCE_FLAG   DM_ACTIVATION
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum