From 9ba41c4dc891e38c92126bfcc4c366d765841da0 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 26 Dec 2007 15:12:26 +0200 Subject: ubi-utils: add ubiattach and ubidetach Add 2 new utilities to attach and detach UBI devices. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/libubi_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ubi-utils/src/libubi_int.h') diff --git a/ubi-utils/src/libubi_int.h b/ubi-utils/src/libubi_int.h index 4c26eb5..6490864 100644 --- a/ubi-utils/src/libubi_int.h +++ b/ubi-utils/src/libubi_int.h @@ -58,6 +58,7 @@ extern "C" { #define DEV_MAX_RSVD "reserved_for_bad" #define DEV_MAX_VOLS "max_vol_count" #define DEV_MIN_IO_SIZE "min_io_size" +#define DEV_MTD_NUM "mtd_num" #define UBI_VOL_NAME_PATT "ubi%d_%d" #define VOL_TYPE "type" @@ -114,6 +115,7 @@ struct libubi char *dev_bad_rsvd; char *dev_max_vols; char *dev_min_io_size; + char *dev_mtd_num; char *ubi_vol; char *vol_type; char *vol_dev; -- cgit v1.2.3