[parted-devel] Parted on GNU Hurd based systems

David Cantrell dcantrell at redhat.com
Mon Mar 12 16:15:53 CET 2007


On Sat, 2007-03-10 at 05:49 +0530, Debarshi 'Rishi' Ray wrote:
> > > Do I have the green signal to remove fdasd support from Hurd for the time
> > > being, as David suggested? I have checked that this particular problem is
> > > solved by doing so?
> 
> > Conditionalize the DASD support code (fdasd*, vtoc*) so it's Linux only.
> > There will likely never be a need for DASD support on Hurd.
> 
> Please find the patch attached.
> 
> I have basically checked for the existence of the __s390__ or the
> __s390x__ constants. If either of them are found, the DASD support
> code (dasd.c fdasd.c vtoc.c) is compiled. I am not sure whether
> AC_CHECK_FUNC is the correct way to do it or not? AC_CHECK_DEFINE
> (http://autoconf-archive.cryp.to/ax_check_define.html) seems to have
> become obsolete. Should I use AC_CHECK_DECL?
> 
> This much is enough to get Parted to compile on Hurd. However should
> the DASD headers (fdasd.h and vtoc.h) in include/parted be also
> conditionalized? I did not do it, since libparted/arch/linux.c is them
> #included.

I would say yes for consistency.

-- 
David Cantrell <dcantrell at redhat.com>
Red Hat / Westford, MA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20070312/585ad566/attachment.pgp


More information about the parted-devel mailing list