[Parted-maintainers] Bug#281734: marked as done (parted: doesn't calculate partition paths correctly when using udev with devfs rules)

Debian Bug Tracking System owner at bugs.debian.org
Sat Oct 8 18:03:24 UTC 2005


Your message dated Sat, 8 Oct 2005 20:02:38 +0200
with message-id <20051008200238.23f1f79c.k_guillaume at libertysurf.fr>
and subject line doesn't calculate partition paths correctly when using udev with devfs rules
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; 17 Nov 2004 15:00:11 +0000
>From cjwatson at flatline.org.uk Wed Nov 17 07:00:10 2004
Return-path: <cjwatson at flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CURI2-0001Nc-00; Wed, 17 Nov 2004 07:00:10 -0800
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	(return-path cjwatson at flatline.org.uk)
	id 1CURHz-0000jK-00
	for submit at bugs.debian.org; Wed, 17 Nov 2004 15:00:08 +0000
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for submit at bugs.debian.org
	id 1CURHw-0007GK-00; Wed, 17 Nov 2004 15:00:04 +0000
Date: Wed, 17 Nov 2004 15:00:04 +0000
From: Colin Watson <cjwatson at debian.org>
To: submit at bugs.debian.org
Subject: parted: doesn't calculate partition paths correctly when using udev with devfs rules
Message-ID: <20041117150004.GA27864 at riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: parted
Version: 1.6.11-8
Severity: normal

When you're using a system running udev with the devfs compatibility
rules (as d-i probably will at least for a while once it switches to
udev, assuming Debian takes the same route as I'm taking for Ubuntu),
parted fails to calculate partition paths correctly because its /disc ->
/partN substitution is only used when /dev/.devfsd is present.

I've fixed this in Ubuntu by simply looking for /disc at the end of the
path and always doing the /partN substitution if it's found. Here's the
patch:

  http://people.ubuntulinux.org/patches/parted-udev-devfs-rules.patch

Cheers,

-- 
Colin Watson                                       [cjwatson at debian.org]

---------------------------------------
Received: (at 281734-done) by bugs.debian.org; 8 Oct 2005 18:00:48 +0000
>From k_guillaume at libertysurf.fr Sat Oct 08 11:00:48 2005
Return-path: <k_guillaume at libertysurf.fr>
Received: from smtp1-g19.free.fr [212.27.42.27] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EOJ04-0004va-00; Sat, 08 Oct 2005 11:00:48 -0700
Received: from localhost.localdomain (unknown [81.56.234.180])
	by smtp1-g19.free.fr (Postfix) with SMTP id 330004D717
	for <281734-done at bugs.debian.org>; Sat,  8 Oct 2005 20:00:45 +0200 (CEST)
Date: Sat, 8 Oct 2005 20:02:38 +0200
From: "K.G." <k_guillaume at libertysurf.fr>
To: 281734-done at bugs.debian.org
Subject: doesn't calculate partition paths correctly when using udev with
 devfs rules
Message-Id: <20051008200238.23f1f79c.k_guillaume at libertysurf.fr>
X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Delivered-To: 281734-done at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: parted
Version: 1.6.24-1

The proposed patch has been added, then in 1.6.24-1
another one has been applied which corrects its
behavior in some conditions.

Guillaume Knispel



More information about the Parted-maintainers mailing list