Subj : Determining geometry of Compact Flash To : comp.os.linux.embedded,comp.os.linux,programmer From : Kevin D. Quitt Date : Tue Dec 14 2004 08:16 pm We are using an IDE compact flash reader, which the system sees as /dev/sda. We need to programmatically determine the actual geometry of the flash chip for lilo purposes, and we have chips of all different sizes. (Surprise! Your 16MB flash can have anywhere from 15M to 24M with all kinds of geometries even when they're exactly the same size.) The BIOS of the unit correctly determines the geometry, but all of linux's measurements are way off. Isn't there *some* way to find out the *TRUTH*? This is keeping us from automating production. Thanks in advance. If you require some kind of reward for the answer, please let me know in advance; it's possible we can work something out for a real solution. -- #include _ Kevin D Quitt USA 91387-4454 96.37% of all statistics are made up Per the FCA, this address may not be added to any commercial mail list .