From: "Mike Hill" <mhill@bustech.com>
To: <linux-mtd@lists.infradead.org>
Subject: RO permission on odd numbered MTD devices?
Date: Wed, 19 Sep 2001 17:16:48 -0400 [thread overview]
Message-ID: <002a01c14150$66554d20$26e8b2c6@hawk> (raw)
Can anyone tell me why the odd numbered MTD character devices are ReadOnly?
I see the code in MTDCHAR.C, but I have no idea what it was setup this way.
/* You can't open the RO devices RW */
if ((file->f_mode & 2) && (minor & 1))
return -EACCES;
Thanks for any understanding you can provide...
-Mike
===========================================
Michael Hill - Systems Developer
Bus-Tech, Inc.
Email: mhill@bustech.com
Phone: (919) 847-7859 Fax: (919) 847-0182
===========================================
Say "boolah boolah boolah" out loud three times,
wave a dead chicken, and reboot.
Works for me...
next reply other threads:[~2001-09-19 21:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-19 21:16 Mike Hill [this message]
2001-09-19 21:22 ` RO permission on odd numbered MTD devices? David Woodhouse
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='002a01c14150$66554d20$26e8b2c6@hawk' \
--to=mhill@bustech.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.