From: Kenneth Johansson <kenneth.johansson@etx.ericsson.se>
To: "Marc D'Anjou" <marcd@amperion.com>
Cc: Mtd <linux-mtd@lists.infradead.org>
Subject: RE: Long JFFS2 Mount time?
Date: 11 Apr 2003 23:43:40 +0200 [thread overview]
Message-ID: <1050097421.1169.67.camel@spawn> (raw)
In-Reply-To: <C6D44AA99ECEB540A5498F15F92DA07D8922D0@amperion01>
On Fri, 2003-04-11 at 23:25, Marc D'Anjou wrote:
> I forgot to say that the one line command used to fill the log contains a while loop:
>
> "while true; do cat file1.txt >> file2.log; done"
>
> While this was executing, I monitored the file size until it reached 2 meg bytes.
>
> Where file1.txt has 450 bytes in it.
>
> Note: I don't think the 450 bytes is important, it could have been much smaller and still given the save results.
>
> Marc
And I used this a few times until the file system had 100kb free. no
problem with mount or ls.
---
#! /bin/bash
:>$1
TIMES=4096
while [ $TIMES -gt 0 ]
do
dd if=/dev/urandom bs=512 count=1 2>/dev/null >> $1
TIMES=$(($TIMES - 1))
done
---
--
Kenneth Johansson
Ericsson AB Tel: +46 8 719 70 20
Tellusborgsvägen 90 Fax: +46 8 719 29 45
126 25 Stockholm ken@switchboard.ericsson.se
next parent reply other threads:[~2003-04-11 21:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <C6D44AA99ECEB540A5498F15F92DA07D8922D0@amperion01>
2003-04-11 21:43 ` Kenneth Johansson [this message]
2003-04-11 13:49 Long JFFS2 Mount time? Marc D'Anjou
2003-04-11 21:04 ` Kenneth Johansson
2003-04-14 11:55 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1050097421.1169.67.camel@spawn \
--to=kenneth.johansson@etx.ericsson.se \
--cc=linux-mtd@lists.infradead.org \
--cc=marcd@amperion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.