Re: FIBMAP ioctl restrictions: why?

Jens Axboe (axboe@image.dk)
Sun, 7 Nov 1999 23:09:39 +0100


On Sun, Nov 07 1999, Martin Mares wrote:
> Hello, world!\n
>
> I'm currently writting my own database library (a much faster alternative
> to GDBM) and I want to sort file accesses before feeding them to the kernel,
> so that they will be executed in linear sector order and seek time will be
> minimized. Unfortunately, this plan breaks on the FIBMAP ioctl requiring
> CAP_SYS_RAWIO capability. To be honest, I don't see why -- can the kernel
> gurus advise me what deep reasons are behind this restriction?

It bothers the DVD folks too, FWIW.

-- 
*  Jens Axboe <axboe@image.dk>
*  Linux CD-ROM Maintainer
*  http://www.kernel.dk

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/