public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Brinker <thomas.brinker@gmx.de>
To: linux-mtd@lists.infradead.org
Subject: Re: mounting jffs2 rw
Date: Thu, 24 Feb 2005 12:15:58 +0100	[thread overview]
Message-ID: <200502241215.58195.thomas.brinker@gmx.de> (raw)
In-Reply-To: <200502221219.41518.thomas.brinker@gmx.de>

Am Dienstag, 22. Februar 2005 12:19 schrieb Thomas Brinker:
> Hi!
>
> I have problems in remounting a jffs2 as read/writeable.
>
> Currently it mounts successfully as root-fs but in ro, which is no wonder.
> But how can I change it to rw?
>
>
> Here is what I have tried so far:
> ---===---
> # cat /proc/version
> Linux version 2.6.9-uc0 (thomas@mobile) (gcc version 3.4.3) #141 Mon Feb 21
> 16:01:36 CET 2005 # cat /proc/mtd
> dev:    size   erasesize  name
> mtd0: 00400000 00010000 "phys_mapped_flash"
> # ls -l /dev/mtd*
> crw-r--r--    1 root     root      90,   0 Feb  7  2005 /dev/mtd0
> brw-r--r--    1 root     root      31,   0 Feb  7  2005 /dev/mtdblock0
> crw-r--r--    1 root     root      90,   1 Feb  7  2005 /dev/mtdr0
> # mount
> /dev/rom0 on / type jffs2 (ro,noatime)                [<--- rom0 is strange]
# ls -l rom0
brw-r--r--    1 root     root      31,   0 Feb 22  2005 rom0
# ls -l mtdblock0
brw-r--r--    1 root     root      31,   0 Feb 22  2005 mtdblock0

> /proc on /proc type proc (rw,nodiratime) 
> none on /dev/pts type devpts (rw)
> none on /sys type sysfs (rw)
> ram on /var type ramfs (rw)
> # mount -o remount,rw /dev/mtdblock0 /
> mount: Mounting /dev/mtdblock0 on / failed: No such file or directory
> # mount -o remount,rw /dev/rom0 /
> mount: Mounting /dev/rom0 on / failed: No such file or directory
> # mount -o remount,rw /

Adding 'rw' to the kernel command line solves the problem.

Regards
Thomas

      reply	other threads:[~2005-02-24 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-22 11:19 mounting jffs2 rw Thomas Brinker
2005-02-24 11:15 ` Thomas Brinker [this message]

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=200502241215.58195.thomas.brinker@gmx.de \
    --to=thomas.brinker@gmx.de \
    --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