author | Joe Hershberger <joe.hershberger@ni.com> | |
Thu, 1 Nov 2012 16:54:18 +0000 (16:54 +0000) | ||
committer | Tom Rini <trini@ti.com> | |
Mon, 4 Mar 2013 19:19:56 +0000 (14:19 -0500) | ||
commit | 949a77109747d5db7d559359d3ec24bade653be8 | |
tree | 3b36de8c7c42ac7351f6c7a9034029d918fb790c | tree | snapshot (tar.xz tar.gz zip) |
parent | e40753b207029dfc9e0a9e2ec4545fbd32e0a8cc | commit | diff |
ubifs: Allow ubifsmount volume reference by number
UBI can mount volumes by name or number The current code forces you
to name the volume by prepending every name with "ubi:".
>From fs/ubifs/super.c
* There are several ways to specify UBI volumes when mounting UBIFS:
* o ubiX_Y - UBI device number X, volume Y;
* o ubiY - UBI device number 0, volume Y;
* o ubiX:NAME - mount UBI device X, volume with name NAME;
* o ubi:NAME - mount UBI device 0, volume with name NAME.
Now any name passed in any of the above forms are allowed.
Also update the configs that referenced ubifsmount.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
UBI can mount volumes by name or number The current code forces you
to name the volume by prepending every name with "ubi:".
>From fs/ubifs/super.c
* There are several ways to specify UBI volumes when mounting UBIFS:
* o ubiX_Y - UBI device number X, volume Y;
* o ubiY - UBI device number 0, volume Y;
* o ubiX:NAME - mount UBI device X, volume with name NAME;
* o ubi:NAME - mount UBI device 0, volume with name NAME.
Now any name passed in any of the above forms are allowed.
Also update the configs that referenced ubifsmount.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>