Re: [resend PATCH] reserve BLKGETSIZE64 ioctl

Andries.Brouwer@cwi.nl
Tue, 4 Sep 2001 13:50:18 GMT


>> Soon we'll all need a BLKGETSIZE64 ioctl, that gives
>> the size of a block device in bytes.

> I'd accepted that suggestion

Then I am happy (as long as you don't take a reserved number).

Concerning policy, of course that is up to Linus -
for myself I would prefer adding a well-motivated ioctl
above reserving a number. After all, an ioctl is almost
always about transporting some small amount of information,
hence is implemented by a dozen lines of code or so,
clean, and without impact on the rest of the kernel,
so if it is going to be added eventually it might as well
be added immediately.

So, until Linus says otherwise, you might try once or twice
to submit the actual ioctl instead of just the reservation.

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/