To remove UBI Control Device . . .

Artem Bityutskiy dedekind1 at gmail.com
Thu Feb 4 00:09:25 EST 2010


On Mon, 2010-01-25 at 15:15 -0500, Lee Amirev wrote:
> My system does not need to dynamically attach or detach MTD devices to
> UBI.  We can just attach all that we need through boot or module
> parameters.  Therefore, we don't need the UBI control device
> (/dev/ubi_ctrl).   In order to prevent the device from existing, I
> could simply comment out the misc_register and misc_deregister calls
> in ubi_init or ubi_exit in /drivers/mtd/ubi/build.c.  Is this
> sufficient?  Are there any unintended consequences in removing the
> control device?

It should be fine. But I do not think it is nice solution. I think the
proper solution is to amend your udev rules.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list