LKML Archive on
help / color / mirror / Atom feed
From: Dave Jones <>
Cc: Jan Engelhardt <>,
	Linux Kernel Mailing List <>,
	Steven Fernandez <>,
	Andrew Morton <>
Subject: Re: [patch] raw: don't allow the creation of a raw device with minor number 0
Date: Sun, 28 Jan 2007 15:23:37 -0500	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Fri, Jan 12, 2007 at 05:58:41PM -0500, wrote:
 > ==> Regarding Re: [patch] raw: don't allow the creation of a raw device with minor number 0; Jan Engelhardt <> adds:
 > jengelh> On Jan 12 2007 11:32, Jeff Moyer wrote:
 > >> Minor number 0 (under the raw major) is reserved for the rawctl device
 > >> file, which is used to query, set, and unset raw device bindings.
 > >> However, the ioctl interface does not protect the user from specifying
 > >> a raw device with minor number 0:
 > jengelh> No idea what to say about this... probably:
 > jengelh>   What:   RAW driver (CONFIG_RAW_DRIVER)
 > jengelh>   When:   December 2005
 > jengelh>   Why:    declared obsolete since kernel 2.6.3
 > jengelh>           O_DIRECT can be used instead
 > jengelh>   Who:    Adrian Bunk <>
 > It's still present, still used, and so would benefit from being fixed, in
 > my opinion.

Given the tirade against O_DIRECT on linux-kernel earlier this month,
it has me wondering about the validity of this entry.

Every time we've tried to deprecate this driver in Fedora/RHEL, we've
had enough people complain that we've ended up having to turn it back on.
(And I'm fairly sure other distros have been in the same position).
Some vendors seem way too attached to the older semantics than having
to rewrite their apps to use O_DIRECT, and unnecessarily breaking them
so that we can throw away a 306 line driver in the name of cleanliness
seems a bit gratuitous.



  reply	other threads:[~2007-01-28 20:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 16:32 Jeff Moyer
2007-01-12 22:41 ` Jan Engelhardt
2007-01-12 22:58   ` jmoyer
2007-01-28 20:23     ` Dave Jones [this message]
     [not found] <>
     [not found] ` <>
     [not found]   ` <>
     [not found]     ` <>
2007-01-30 15:52       ` Bodo Eggert

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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [patch] raw: don'\''t allow the creation of a raw device with minor number 0' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).