Re: New raw IO patches available for 2.2, 2.3

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Tue, 27 Jul 1999 09:22:55 +0100 (GMT)


On Tue, 27 Jul 1999, Stephen C. Tweedie wrote:

> /pub/linux/sct/fs/raw-io/raw-19990727.tar.gz contains the latest raw
> IO code for unbuffered, direct disk IO via standard Unix character
> mode raw devices. Note that the character major number used in this
> release has moved from 111 to 162 (that major number should be
> "official" now).

> it is up to the system administrator to make sure that these are bound
> to the appropriate block devices at runtime.

Please could you have the /dev/raw RAW_SETBIND ioctl require
CAP_SYS_ADMIN?

It basically allows you to create arbitrary raw block devices,
so should go under the wing of the mknod() capability.

Hopefully, 2.3 will get a CAP_MKNOD soon (Chris?) and it should
be moved under the wing of that eventually..

Matthew.

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