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

Sven Luther Sven Luther <sven.luther@wanadoo.fr>, 281734@bugs.debian.org
Sun, 30 Jan 2005 07:35:03 +0100


On Wed, Nov 17, 2004 at 03:21:04PM +0000, Colin Watson wrote:
> On Wed, Nov 17, 2004 at 04:15:18PM +0100, Sven Luther wrote:
> > On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> > > 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

Arg, this patch has dissapeared from there, i suppose i could find it in the
ubuntu parted packages, but it is non-obvious to me yet how to find it.

Friendly,

Sven Luther