[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#185574: marked as done (: di-utils-generic: mapdevfs do not support software RAID devices (/dev/md/0))



Your message dated Mon, 2 Jun 2003 11:27:15 +0200
with message-id <20030602092715.GA17046@wavehammer.waldi.eu.org>
and subject line closed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Mar 2003 09:17:46 +0000
>From pre@saruman.uio.no Thu Mar 20 03:17:45 2003
Return-path: <pre@saruman.uio.no>
Received: from pat.uio.no [129.240.130.16] (7411)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18vwBF-0001M9-00; Thu, 20 Mar 2003 03:17:45 -0600
Received: from saruman.uio.no ([129.240.201.202])
	by pat.uio.no with esmtp (Exim 2.12 #7)
	id 18vwB8-0002KN-00; Thu, 20 Mar 2003 10:17:38 +0100
Received: from pre by saruman.uio.no with local (Exim 2.12 #7)
	id 18vwB7-00040i-00; Thu, 20 Mar 2003 10:17:37 +0100
To: submit@bugs.debian.org
Subject: : di-utils-generic: mapdevfs do not support software RAID devices (/dev/md/0)
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E18vwB7-00040i-00@saruman.uio.no>
Sender: Petter Reinholdtsen <petter.reinholdtsen@usit.uio.no>
Date: Thu, 20 Mar 2003 10:17:37 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 


Package: di-utils-generic
Version: 0.18

The mapvdevfs program do not support software RAID devices.  On devfs,
these are named /dev/md/0 to /dev/md/255, while on "normal" /dev/ they
are named /dev/md0 to /dev/md255.  The major number is 9:

  % ls -l /dev/md/0
  brw-------    1 root     root       9,   0 Jan  1  1970 /dev/md/0

I tried to use this patch to add support for this, but it fails on the
first device, producing '/dev/md' instead of '/dev/md0'.  It works for
the second device, producing '/dev/md1'.  I suspect the logic must be
extended to handle devices where zero as the minor number should be
included in the device name.

Index: mapdevfs.c
===================================================================
RCS file: /cvs/debian-boot/debian-installer/utils/mapdevfs.c,v
retrieving revision 1.6
diff -u -3 -p -u -r1.6 mapdevfs.c
--- mapdevfs.c  20 Mar 2003 09:05:59 -0000      1.6
+++ mapdevfs.c  20 Mar 2003 09:16:15 -0000
@@ -54,6 +54,7 @@ struct diskentry diskentries[] = {
     {33,   0, "hde"},
     {22,  64, "hdd"},
     {22,   0, "hdc"},
+    { 9,   0, "md"},
     { 8, 240, "sdp"},
     { 8, 224, "sdo"},
     { 8, 208, "sdn"},

---------------------------------------
Received: (at 185574-close) by bugs.debian.org; 2 Jun 2003 09:27:19 +0000
>From waldi@debian.org Mon Jun 02 04:27:19 2003
Return-path: <waldi@debian.org>
Received: from pd9e602be.dip.t-dialin.net (extern.mail.waldi.eu.org) [217.230.2.190] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19Mlb4-0006v5-00; Mon, 02 Jun 2003 04:27:18 -0500
Received: by wavehammer.waldi.eu.org (Postfix, from userid 1000)
	id CBCFE7601D; Mon,  2 Jun 2003 11:27:15 +0200 (CEST)
Date: Mon, 2 Jun 2003 11:27:15 +0200
From: Bastian Blank <waldi@debian.org>
To: 185574-close@bugs.debian.org
Subject: closed
Message-ID: <20030602092715.GA17046@wavehammer.waldi.eu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Delivered-To: 185574-close@bugs.debian.org
X-Spam-Status: No, hits=-7.3 required=4.0
	tests=BAYES_00,USER_AGENT_MUTT
	version=2.53-bugs.debian.org_2003_05_24
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_24 (1.174.2.15-2003-03-30-exp)

bug closed

-- 
The best diplomat I know is a fully activated phaser bank.
		-- Scotty



Reply to: