Re: [PATCH] conditionalise parts from blkid/topology for Linux

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

 



On Tue, Jan 25, 2011 at 10:48:15PM +0100, Fabian Groffen wrote:
> Only build ioctl, md, and evms on Linux hosts, where they make sense.
> ioctl also fails to build on non-Linux due to missing constants.
> 
> Signed-off-by: Fabian Groffen <grobian@xxxxxxxxxx>
> 
> diff --git a/shlibs/blkid/src/topology/Makefile.am b/shlibs/blkid/src/topology/Makefile.am
> --- a/shlibs/blkid/src/topology/Makefile.am
> +++ b/shlibs/blkid/src/topology/Makefile.am
> @@ -6,9 +6,13 @@
>  noinst_LTLIBRARIES = libblkid_topology.la
>  libblkid_topology_la_SOURCES =	topology.c \
>  				topology.h \
> +				sysfs.c \
> +				dm.c \
> +				lvm.c

 Does it mean that sysfs, device-mapper and LVM are usable on
 non-Linux systems? Wouldn't be better to disable all this stuff?
 
 You need only topology.{c,h} to keep the library API unchanged.

    Karel


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux