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

Re: bad mke2fs behavior on sparc



Paul Vojta wrote:
> > Date: Fri, 12 Nov 1999 15:18:11 +0100 (CET)
> > To: submit@bugs.debian.org (debian bug tracking system),
> >         debian-sparc@lists.debian.org (debian sparc group)
> > From: Eric Delaunay <delaunay@lix.polytechnique.fr>
> > Subject: bad mke2fs behavior on sparc
> > 
> > Latest mke2fs zeroes the first sector of the partition is is formating.
> > It is really bad on sparc when the partition starts at sector 0 because it
> > kills the partition table :((
> > I took a quick look into e2fsprogs sources: it seems to be aware of this case
> > because I saw the next lines in the code:
> > 
> > #ifndef sparc
> > #define ZAP_BOOTBLOCK
> > #endif
> > 
> > Since the compiled program does not work like expected, it could be a
> > compilation problem.  Could be because sparc macro is not define anymore ?
> 
> Yes, that is correct.  Use #ifndef __sparc__ instead.

I found similar bug in kbd package... I will file a bug report now.
Thanks.

-- 
 Eric Delaunay                 | "La guerre justifie l'existence des militaires.
 delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)


Reply to: