Support For Creating / Removing UBI Blocks

Metin Kaya kayameti at gmail.com
Mon Aug 1 11:08:52 UTC 2016


Please see my last mail.

On Mon, Aug 1, 2016 at 2:02 PM, Baruch Siach <baruch at tkos.co.il> wrote:

> Hi Metin Kaya,
>
> Please keep the list on Cc.
>
> On Mon, Aug 01, 2016 at 01:39:27PM +0300, Metin Kaya wrote:
> > Removed ubimkblock and ubirmblock. However, I need to use -c and -r
> command
> > line parameters without argument. Do you know how to do it? I just need
> an
> > example.
>
> Just put "cr" in the getopt32() optstring parameter, without additional
> characters. See the mkvol -m parameter, for example. See also the detailed
> getopt32() documentation comment in libbb/getopt32.c.
>
> baruch
>
> > On Mon, Jul 25, 2016 at 11:07 AM, Baruch Siach <baruch at tkos.co.il>
> wrote:
> > > On Mon, Jul 25, 2016 at 10:56:41AM +0300, Metin Kaya wrote:
> > > > do_rmvol also has the same problem.
> > > > If I use mkblock and rmblock, then they can't be unique.
> > > > Hence, I renamed ubimkblock as ubicrblock and ubirmblock as
> ubidlblock.
> > > > Please see the attached patch.
> > >
> > > Now I see that upstream (mtd-utils) name for this utility is just
> > > 'ubiblock', with -c and -r command line parameters for create and
> remove,
> > > respectively. Busybox tries to match upstream command line interface as
> > > much as possible, so please use the same name and parameters. As an
> added
> > > bonus 'ubiblock' uniquely identifies with
> > >
> > >   applet_name[3] == 'b'.
> > >
> > > Thanks,
> > > baruch
>
> --
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open
> Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20160801/4f2a69ea/attachment.html>


More information about the busybox mailing list