* To remove UBI Control Device . . .
@ 2010-01-25 20:15 Lee Amirev
2010-02-04 5:09 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Lee Amirev @ 2010-01-25 20:15 UTC (permalink / raw)
To: linux-mtd
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: To remove UBI Control Device . . .
2010-01-25 20:15 To remove UBI Control Device . . Lee Amirev
@ 2010-02-04 5:09 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-02-04 5:09 UTC (permalink / raw)
To: Lee Amirev; +Cc: linux-mtd
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 (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-04 5:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-25 20:15 To remove UBI Control Device . . Lee Amirev
2010-02-04 5:09 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox