Logical partition on barebox

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 10 23:04:58 PST 2014


Hi Victorien,

On Wed, Dec 10, 2014 at 05:21:09PM +0100, Victorien Vedrine wrote:
> Hi,
> I'm developping a board with barebox and Linux. For my application,
> I need 5 partition on my SD card (3 primary and 2 logical).
> On barebox prompt, I just see the 3 primary partitions
> (/dev/disk0.0, /dev/disk0.1, /dev/disk0.2) and 1 extended partition
> (/dev/disk0.3). Is there a way to see the 2 logical partitions ?

Which barebox version do you use?

barebox supports extended partitions since:

| commit 6fecd2aaca209884a0ec1f58ccc42b91d1d4b828
| Author: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
| Date:   Fri Nov 8 11:13:41 2013 +0100
| 
|     partitions: dos: parse extended partition
|     
|     DOS MBRs might contain an extended partition that holds several logical
|     partitions. Add these to the partitions of the block device.
|     
|     Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
|     Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

If your version is newer then this seems to be a bug.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list