]> git.ipfire.org Git - thirdparty/systemd.git/commit
[PATCH] fix stupid all_partitions bug
authortklauser@access.unizh.ch <tklauser@access.unizh.ch>
Mon, 11 Apr 2005 23:05:03 +0000 (01:05 +0200)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:55:01 +0000 (23:55 -0700)
commit15139b8a623748e7d24b18f12e920d94743d8c52
tree84f4a13f1d12f5188df1d8968c37ae0e91e5abe8
parent05bd6efb41b6a80378cc4f6e7427a302b4953541
[PATCH] fix stupid all_partitions bug

> On Mon, 2005-04-11 at 14:55 +0200, Norbert Preining wrote:
> > On Mon, 11 Apr 2005, Kay Sievers wrote:
> > > > brw-rw----  1 root root 8, 0 2005-04-10 14:58 /dev/sdcard
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard1
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard2
> > > > brw-rw----  1 root root 8, 1 2005-04-10 14:58 /dev/sdcard3
> > >
> > > This looks broken.
> >
> > Good to hear.

Yeah, I guess it's broken. In create_node() in udev_add.c there is
always added 1 to the minor number, thus the error. The attached patch
should fix this.
test/udev-test.pl
udev_add.c