Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Amirev <lee.amirev@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: To remove UBI Control Device . . .
Date: Mon, 25 Jan 2010 15:15:18 -0500	[thread overview]
Message-ID: <e14c53d91001251215k5e7074d4lb579d43df530b94a@mail.gmail.com> (raw)

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?

             reply	other threads:[~2010-01-25 20:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-25 20:15 Lee Amirev [this message]
2010-02-04  5:09 ` To remove UBI Control Device . . Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e14c53d91001251215k5e7074d4lb579d43df530b94a@mail.gmail.com \
    --to=lee.amirev@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox