Re: nfs mount by label not working.

Guest section DW (dwguest@win.tue.nl)
Thu, 24 May 2001 00:13:35 +0200


On Wed, May 23, 2001 at 05:34:22PM -0400, Dave Mielke wrote:

> I presume that you're assuming that my /proc/partitions is empty because its
> size shows as 0:
>
> ls -l /proc/partitions
> -r--r--r-- 1 root root 0 May 23 17:31 /proc/partitions

Ah, yes, sorry - I was too quick here.

> It does, however, have several lines in it.
>
> cat /proc/partitions
> major minor #blocks name rio rmerge rsect ruse wio wmerge wsect wuse running use aveq
>
> 3 0 6297480 hda 119 141 520 1790 0 0 0 0 0 1180 1790

But this is full of strange numbers that someone saw fit to add to /proc/partitions.
What a bad idea!

If someone changes /proc/partitions then probably the old utilities that used it
are broken. I do not have a memory, but it seems I recall fixing this already.
Try a recent mount, say from util-linux 2.11d.

[But you show IDE disks, but the subject line talks about NFS mounts?]

Andries
-
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/