Messages in this thread | | | Date | Mon, 30 Jan 2006 19:53:42 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [klibc] Exporting which partitions to md-configure |
| |
Greg KH wrote: > > What are you looking for exactly? udev has a great helper program, > volume_id, that identifies any type of filesystem that Linux knows about > (it was based on the ext2 lib code, but smaller, and much more sane, and > works better.) > > Would that help out here? >
It might, but it's also rather ugly to have two pieces of code, especially in the presence of very dynamic partitions. In other words, if the kernel deals with partitions, you want to be able to get at the kernel's view of partitions, not necessarily the actual set of partitions on disk, which can be quite different.
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |