public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Andrew Dixon <andrew.dixon@seranoa.com>
To: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: [Question] cp result.txt  /dev/mtd0 problem
Date: Mon, 16 Jul 2001 08:44:02 -0400	[thread overview]
Message-ID: <3B52E192.50EF674@seranoa.com> (raw)
In-Reply-To: 20010714082817.HM.F0000000002ETLk@www16.hanmail.net

>  when I followed the step in FAQ manual.
>  I tried
> 
>  cp /tmp/jffs.image  /dev/mtd0
> 
>  I got
> 
>  cp: /dev/mtd0  Read only file system.
> 

Have you mounted /dev/mtd0 onto a file system?  You probably need to do
something like:

	#mount -t mtd /dev/mtd0 /flash
               ^^^^^^

I'm not sure about "-t mtd" because I haven't started playing with this
yet myself, but that info should be fairly easy to track down.

Once the file system is mounted you should be able to copy to it by:

	$cp /tmp/jffs.image /flash

later,
Andy

  reply	other threads:[~2001-07-16 12:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-13 23:28 [Question] cp result.txt /dev/mtd0 problem 이재훈
2001-07-16 12:44 ` Andrew Dixon [this message]
2001-07-16 13:41   ` Vipin Malik

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=3B52E192.50EF674@seranoa.com \
    --to=andrew.dixon@seranoa.com \
    --cc=linux-mtd@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox