> I completely agree with this. Probably some ioctl (e.g. BLKRR1PART) with
> some structure describing what to do.
Yes. Possibly
ioctl(fd, DO_PARTITION_STUFF, p);
with
struct ioctl_arg {
int op;
int flags;
int datalen;
void *data;
} *p;
or so. I already have a few other uses for this ioctl as well.
> If I find some time for it, I'll try to code something and come with it back
Good!
Andries
-
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/