[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
Wed, 17 Nov 2004 16:15:18 +0100
On Wed, Nov 17, 2004 at 03:00:04PM +0000, Colin Watson wrote:
> 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
Thanks, i will have a look. Do you really think this may break something for
sarge ? After all many will like to run udev outside of d-i, and also use
parted in this case ?
Friendly,
Sven Luther