|
From: Friedrich L. <fl...@fl...> - 2004-01-12 21:00:56
|
Hi Oliver!
Oliver Jehle wrote on 12.01.2004 17:15 MET:
> e2fsprogs didnt compile ... problem with defines
>
> ------------------------------------------------------------------------
>
> --- e2fsprogs-old/misc/util.c Sat May 3 15:46:47 2003
> +++ e2fsprogs-1.34/misc/util.c Tue Sep 30 06:56:11 2003
> @@ -108,13 +108,8 @@
> #define MAJOR(dev) ((dev)>>8)
> #define MINOR(dev) ((dev) & 0xff)
> #endif
> -#ifndef SCSI_BLK_MAJOR
> -#define SCSI_BLK_MAJOR(M) ((M) == SCSI_DISK_MAJOR || (M) == SCSI_CDROM_MAJOR)
> -#endif
> - if (((MAJOR(s.st_rdev) == HD_MAJOR &&
> - MINOR(s.st_rdev)%64 == 0) ||
> - (SCSI_BLK_MAJOR(MAJOR(s.st_rdev)) &&
> - MINOR(s.st_rdev)%16 == 0))) {
> + if (MAJOR(s.st_rdev) == HD_MAJOR &&
> + MINOR(s.st_rdev)%64 == 0) {
> printf(_("%s is entire device, not just one partition!\n"),
> device);
> proceed_question();
Can you please give more background info about this problem. I think
such a patch might make more troubles in the long run as it looks
very cosmetic to me.
Could you please try to get a more official patch for that problem?
--
MfG / Regards
Friedrich Lobenstock
____________________________________________________________________
Friedrich Lobenstock Linux Services Lobenstock
URL: http://www.lsl.at/ Email: fl...@fl...
____________________________________________________________________
|