Re: [PATCH] Device-mapper submission 6/7

From: Joe Thornber (
Date: Wed Oct 16 2002 - 10:20:47 EST

On Wed, Oct 16, 2002 at 10:20:30AM -0400, Jeff Garzik wrote:
> AFAIK Linus and Al Viro (and myself <g>) have always considered ioctls
> an ugly -ism that should have never made it into Unix.

I'm not going to argue with you there.

> ioctl(2) is a pain for people like David Miller who must maintain
> 32<->64 bit ioctl translation layers for their architecture.

I know, the patch already includes ioctl32.c support for parisc,
sparc64, s390x, ppc64 and mips64.

> We now have libfs.c in 2.5.x that makes ramfs-based filesystems even
> more tiny, too. With the added flexibility of an fs -- it makes the
> userland tools much more simple and sane -- and the pain of ioctls, it
> seems a clear choice for new interfaces.

Yes, I was looking at libfs this morning and think it would remove a
lot of the code from our old fs interface. Is this going to be
backported to 2.4 so that we can move to an fs interface there too ?

The driver has been designed to support different user interfaces, and
userland is isolated by way of the little libdevmapper library. So
writing another another interface will be comparitively simple. We
will do this. However, I want this to be a seperate piece of work
from the current dm, I see no reason to stall inclusion of dm for

- Joe
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:28 EST