On Fri, 29 Jun 2007 16:56:05 +0200 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > Not as if it would be hard to add ioctl support to fuse. What fuse > can't handle is the data argument of ioctl(), so the most it could do > is give the filesystem a pid (tid) and a virtual address. The > userspace fs could then get/put the data through /proc/<pid>/mem.
Hork... Identify the generic ioctls that are relevant to a FUSE file system and have real meaning *and* are useful. Teach fuse to turn those to and from messages properly and if you must add any others (ie if there is good reason to want them then add a single FUSEFS ioctl something like struct fusefs_ioctl { u32 opcode; void *data_in; void *data_out; u16 size_in; u16 size_out; } so that anything totally weird can be passed through without horrible /proc/... hacks and without putting tons of cases into FUSE - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/