Re: [PATCH] Ramdisk ioctl bug fix, kernel 2.4.14

Alan Cox (alan@redhat.com)
Tue, 13 Nov 2001 11:56:32 -0500 (EST)


> Most disk devices can't change their size with a few commands as a ram disk can
> as it's a physical constant. Ram disks are virtual so their size is whatever
> the user specifies, with a kernel configured upper limit. I argue that the size
> is the allocated amount, not the upper limit.

I think your problem is that you are querying the disk to ask it the file
system size ? If so you asked the wrong code
-
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/