[meta-freescale] [meta-fsl-ppc][PATCH 1/2] udev-extraconf: add fsl specific rules back

zhenhua.luo at freescale.com zhenhua.luo at freescale.com
Tue Jan 20 19:59:35 PST 2015


Hi Otavio, 

> -----Original Message-----
> From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-
> bounces at yoctoproject.org] On Behalf Of Otavio Salvador
> Sent: Monday, January 19, 2015 6:53 PM
> 
> >> >  # Media automounting
> >> >  SUBSYSTEM=="block", ACTION=="add"
> RUN+="/etc/udev/scripts/mount.sh"
> >> >  SUBSYSTEM=="block", ACTION=="remove"
> RUN+="/etc/udev/scripts/mount.sh"
> >> > +SUBSYSTEM=="block", ACTION=="change",
> ENV{DISK_MEDIA_CHANGE}=="1"
> >> RUN+="/etc/udev/scripts/mount.sh"
> >>
> >> You can avoid this and add a new 'automount-qoriq.rules' file with this.
> > [Liu Ting-B28495] will this file override automount.rules completely?
> >
> >>
> >> But could you explain what DISK_MEDIA_CHANGE will handle?
> > [Liu Ting-B28495] just sync with oe-core updates.
[Luo Zhenhua-B19537] DISK_MEDIA_CHANGE environment variable controls if the antomount udev rule will be executed, if it is set to 1, the script will be executed when the change event is triggered for block device. 


Best Regards,

Zhenhua


More information about the meta-freescale mailing list