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.

Reply via email to