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
char...@steinkuehler.net

-- 
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/5735D5ED.7070306%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to