Re: [PATCH] partitions/msdos.c

From: Grzegorz Kulewski
Date: Sat Mar 19 2005 - 17:28:07 EST


On Sat, 19 Mar 2005, Werner Almesberger wrote:
Andries Brouwer wrote:
The two variants are: (i) partition tells the kernel
to do the partition table reading, and (ii) partition uses partx
to read the partition table and tells the kernel one-by-one
about the partitions found this way.

I guess, once you've reached the point where the kernel is
unable to find partitions without user-space help, you may
as well do everything in user space.

I agree. This is userspace job. This can be done very easily using device-mapper. I think EVMS does something similar.

I even asked on LKML some time ago about option for disabling kernel partition driver (maybe for some devices) from kernel command line to allow other tools do the job (because now I have unusable /dev/sda1 and usable /dev/evms/sda1 and this leads to stupid mistakes). But there were no replies.


Grzegorz Kulewski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/