[PATCH 2/3] envfs: add command_abi_version support

Sascha Hauer s.hauer at pengutronix.de
Tue Oct 23 08:56:54 EDT 2012


On Tue, Oct 23, 2012 at 12:20:59PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> > 
> > We may have to introduce min/max, I'm not sure on that.
> no if your env is compatible with more recent but back compatible too
> 
> as you do this with the example of mount update I did recently
> 
> if [ $command_abi_version -lt 1 ]
> then
> 	mount /dev/disk0.0 fat /mnt
> else
> 	mount /dev/disk0.0 /mnt
> fi

That is going to be *very* painful.

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