Hi Otavio, 

> -----Original Message-----
> From: [email protected] [mailto:meta-freescale-
> [email protected]] 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
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to