running out of space dd'ing JFFS2 image to /dev/mtdblock/0

Robert P. J. Day rpjday at mindspring.com
Mon Jan 31 13:22:03 EST 2005


On Mon, 31 Jan 2005, Jörn Engel wrote:

> On Mon, 31 January 2005 12:43:47 -0500, Robert P. J. Day wrote:
> > On Mon, 31 Jan 2005, Artem B. Bityuckiy wrote:
> >
> > > Nobody told about not to use KiB/MiB. It wos told about not to us K
> > > and M, like 10K, 100M. Use 10KiB, 100MiB instead.
> >
> > ok, i'll start poking around and come up with a patch or two.  don't
> > hold your breath, it's a busy week.  the rules:
> >
> >   acceptable suffixes: 	{K,k,M,m,G,g}i[Bb]    	(final "b" is optional)
>                                        ^   ^
> 'm' and 'g' don't make sense.  'm' means Milli, instead of Mega, which
> is a slight difference. :)

you're right, i was typing faster than i was thinking.

> >   not acceptable	{K,k,M,m,G,g}		(not a single letter)
> >
> > and any bare number means *exactly* that number of bytes.  agreed?
> > let's leave hex and octal prefixes for round two.
>
> If you're lazy and simply call ustrtoul (posted 3min ago), there is no
> need for round two.

ok.

rday


More information about the linux-mtd mailing list