Re: Remove Device Nodes

2020-11-20 Thread Ecaterina FEDORENCO
Hello Alan, Gregory, Thank you for your replies. Yes. /dev/mtd1 was instantiated via bchdev_register() call. If I use bchdev_unregister,I noticed that the device is removed from the list. Before bchdev_unregister("/dev/mtd1") I call unlink method, but the inode is not removed because it still ha

Remove Device Nodes

2020-11-18 Thread Ecaterina FEDORENCO
Hello all, I have a question regarding the device nodes from /dev folder. The sequence I execute is the following: 1. smart_initialize method - creates /dev/smart1d file *mtd_part = mtd_partition(mtd, partoffset, (partsize >> 2) * 8); smart_initialize(1, mtd_part, partname);* *