Re: Small oddity of the week: 2.4.20-pre

From: Andries Brouwer (aebr@win.tue.nl)
Date: Sat Oct 12 2002 - 13:00:32 EST


On Sat, Oct 12, 2002 at 06:30:15PM +0100, Alastair Stevens wrote:
> > > fdisk -l | grep -w "/dev/hda6"
> > >
> > > For some reason, this now produces, entirely at _random_, either one or
> > > two lines of output! It was the duplicated output that broke Mindi.
>
> Here's a typical output:
>
> 1 root@dolphin:/home/alastair> fdisk -l | grep -w "/dev/hda6"
> /dev/hda6 4419 4749 2658726 83 Linux
> /dev/hda6 4419 4749 2658726 83 Linux
> 2 root@dolphin:/home/alastair> fdisk -l | grep -w "/dev/hda6"
> /dev/hda6 4419 4749 2658726 83 Linux
> 3 root@dolphin:/home/alastair> fdisk -l | grep -w "/dev/hda6"
> /dev/hda6 4419 4749 2658726 83 Linux
> 4 root@dolphin:/home/alastair> fdisk -l | grep -w "/dev/hda6"
> /dev/hda6 4419 4749 2658726 83 Linux
>
> ie - the first time, it gives me two repeated lines. This appears to be
> random. In a clean terminal, it'll sometimes give me only the one line
> on the first run, and then do two lines multiple times....

Could it be that you have statistics garbage in /proc/partitions?
That will break fdisk.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:44 EST