All of lore.kernel.org
 help / color / mirror / Atom feed
From: nikunj@bindaas.org (Nikunj A. Dadhania)
To: David Woodhouse <dwmw2@infradead.org>
Cc: jffs-dev@axis.com, linux-mtd@lists.infradead.org
Subject: Re: Permission problem on mtd block device
Date: 02 Jul 2001 14:21:14 +0530	[thread overview]
Message-ID: <8666dbww71.fsf@bindaas.org> (raw)
In-Reply-To: David Woodhouse's message of "Mon, 02 Jul 2001 08:53:16 +0100"

David Woodhouse <dwmw2@infradead.org> writes:

> nikunj@bindaas.org said:
> > mount /dev/mtdblock0 /mnt 
> >
> > this command works. it gives some directory listing such as..
> >
> > / # ls -al /mnt
> > dr-xr-xr-x   1 0        0               0 Jan  1 00:03 .
> > drwxr-xr-x  12 0        0            1024 Jul  2  2001 ..
> > dr-xr-xr-x   1 0        0               0 Jan  1 00:03 001
> > -r--r--r--   1 0        0               0 Jan  1 00:03 devices
> > -r--r--r--   1 0        0               0 Jan  1 00:03 drivers
> 
> That looks like usbdevfs.
Ooppps ... you are right...  

> cat /proc/mounts /proc/filesystems

/mnt # cat /proc/mounts 
/dev/root / ext2 rw 0 0
/proc /proc proc rw 0 0
/dev/mtdblock0 /mnt usbdevfs rw 0 0

/mnt # cat /proc/filesystems 
nodev   sockfs
nodev   shm
nodev   pipefs
nodev   proc
        ext2
nodev   usbdevfs
nodev   devpts
        jffs

but where is the flash ?
Is the major and minor number are correct which I have specified in 
previous mail? (for the reference mtd0 90 0, mtdr 90 1, mtdblock0 31 0)
In the /proc/mtd it shows the mtd0, mtd1 and mtd2 entries.
And when i give the command

mount -t jffs /dev/mtdblock0 /mnt/
mount: Mounting /dev/mtdblock0 on /mnt failed: Permission denied

how do I mount the jffs??

>
> --
> dwmw2

regards
nikunj

  reply	other threads:[~2001-07-02  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-02  3:11 Permission problem on mtd block device Nikunj A. Dadhania
2001-07-02  7:53 ` David Woodhouse
2001-07-02  8:51   ` Nikunj A. Dadhania [this message]
2001-07-02  9:08     ` David Woodhouse
2001-07-02  9:36     ` Nikunj A. Dadhania

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=8666dbww71.fsf@bindaas.org \
    --to=nikunj@bindaas.org \
    --cc=dwmw2@infradead.org \
    --cc=jffs-dev@axis.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 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.