Re: [PATCH] Fix Linux RAID detection

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

 



On Wed, Oct 01, 2008 at 05:47:36AM +0200, Kay Sievers wrote:
> On Wed, Oct 1, 2008 at 2:24 AM, Chris Spiegel <udev@xxxxxxxxxxxxx> wrote:
> > After upgrading to udev 128, the devices of my RAID array stopped being
> > detected as such by vol_id.  The reason is that libvolume_id lacks large
> > file support, so it couldn't seek to the end of my 500GB devices to find
> > the RAID magic.  This patch simply #includes config.h in util.c so that
> > the proper macros are defined, bringing in a 64-bit lseek().  If any
> > other backends apart from Linux RAID require a volume_id_get_buffer()
> > that has 64-bit support, they will obviously be fixed by this as well.
> >
[patch snipped]
> I hope this already fixed it:
>   http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=38f27948cdafd8a4b90a6b4f1f54b89891983506

I just grabbed the latest git source and the problem remained; the fix
is easy, though.  extras/volume_id/lib/Makefile.am is missing the
following:

include $(top_srcdir)/Makefile.am.inc

When I added that and rebuilt, vol_id correctly identified my RAID
devices.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux