FIBMAP ioctl restrictions: why?

Martin Mares (mj@ucw.cz)
Sun, 7 Nov 1999 22:44:43 +0100


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?

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"Purchasing Windows is an Unrecoverable Application Error."

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