linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Daniele Venzano <webvenza@libero.it>
Cc: wodecki@gmx.de, rgooch@atnf.csiro.au, linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test1 devfs question
Date: Sat, 26 Jul 2003 11:25:53 -0700	[thread overview]
Message-ID: <20030726112553.2356cce0.akpm@osdl.org> (raw)
In-Reply-To: <20030726111221.GD9574@renditai.milesteg.arr>

Daniele Venzano <webvenza@libero.it> wrote:
>
> There is a bug with devfs and raid, see:
> http://bugzilla.kernel.org/show_bug.cgi?id=471
> 
> It's sitting there since 2.5.45, but no one seems interested and I 
> don't have the knowledge to fix it by myself (or the time to acquire 
> that knowledge).

Unfortunately, raising a bug in bugzilla doesn't actually mean that anyone
is paying any attention to it.  You need to keep shouting at people.

Is the problem simply that the device has moved from /dev/md1 to /dev/md/1?
If so, is this change sufficient?

diff -puN drivers/md/md.c~a drivers/md/md.c
--- 25/drivers/md/md.c~a	2003-07-26 11:24:58.000000000 -0700
+++ 25-akpm/drivers/md/md.c	2003-07-26 11:25:15.000000000 -0700
@@ -3505,7 +3505,7 @@ int __init md_init(void)
 	for (minor=0; minor < MAX_MD_DEVS; ++minor) {
 		devfs_mk_bdev(MKDEV(MAJOR_NR, minor),
 				S_IFBLK|S_IRUSR|S_IWUSR,
-				"md/%d", minor);
+				"md%d", minor);
 	}
 
 	register_reboot_notifier(&md_notifier);
@@ -3567,7 +3567,7 @@ static __exit void md_exit(void)
 	int i;
 	blk_unregister_region(MKDEV(MAJOR_NR,0), MAX_MD_DEVS);
 	for (i=0; i < MAX_MD_DEVS; i++)
-		devfs_remove("md/%d", i);
+		devfs_remove("md%d", i);
 	devfs_remove("md");
 
 	unregister_blkdev(MAJOR_NR,"md");

_


  reply	other threads:[~2003-07-26 18:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25 11:08 2.6.0-test1 devfs question Wiktor Wodecki
2003-07-25 11:18 ` Wiktor Wodecki
2003-07-26 11:12 ` Daniele Venzano
2003-07-26 18:25   ` Andrew Morton [this message]
2003-07-27 11:17     ` Alan Cox
2003-07-25 18:53 Balram Adlakha
2003-07-26 10:45 ` Wiktor Wodecki
     [not found]   ` <20030726175214.GA2535@localhost.localdomain>
     [not found]     ` <20030726183750.GB789@gmx.de>
     [not found]       ` <20030726201919.GA5166@localhost.localdomain>
2003-07-26 20:35         ` Wiktor Wodecki
2003-07-26 19:51 Andrey Borzenkov
2003-07-26 20:50 ` Andrew Morton
2003-07-26 22:30   ` Andrey Borzenkov
2003-07-27  8:58     ` Daniele Venzano
2003-07-28  7:13 "Andrey Borzenkov" 
2003-07-28  7:22 ` Andrew Morton

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=20030726112553.2356cce0.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rgooch@atnf.csiro.au \
    --cc=webvenza@libero.it \
    --cc=wodecki@gmx.de \
    /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;
as well as URLs for NNTP newsgroup(s).