Hi Charles, I seems your solution is working. I don't see device file being deleted when mdev daemon is not running. Only thing pending is testing with multiple device, however I am confident that it would work fine.
Thank you, Regards, Ankur On Friday, 13 May 2016 18:56:23 UTC+5:30, Charles Steinkuehler wrote: > > On 5/12/2016 11:57 PM, Ankur Tank wrote: > > > > so my question is, is there anyway to prevent deletion of the device > file when > > emmc is being partitioned ? is there a kernel configuration which stops > device > > file creation/deletion ? > > Play with your udev rules. > > > Any other suggestion/pointers? > > You could go "old school": > > Disable udev and use mknod to create static device entries in /dev (or > leave udev enabled and put your device nodes somewhere else like > /mydev). You can also name them whatever you want (perhaps rootfs, > data, or similar), the existing names are just a convention. > > This can be cumbersome (and potentially quite confusing) in a dynamic > environment, but if you're just running an automated programming > script you should be fine. > > -- > Charles Steinkuehler > cha...@steinkuehler.net <javascript:> > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c393772b-e33d-426b-8895-eef2d9bed31d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.