From: nikunj@bindaas.org (Nikunj A. Dadhania)
To: linux-mtd@lists.infradead.org
Cc: jffs-dev@axis.com, vmalik@danielind.com, ndadhania@yahoo.com
Subject: Permission problem on mtd block device
Date: 02 Jul 2001 08:41:20 +0530 [thread overview]
Message-ID: <86r8w0yqhz.fsf@bindaas.org> (raw)
Hi,
I have compiled kernel 2.4.2 and patched it for arm.
I am using an Assabet board.
I have statically compiled the mtd and loaded jffs as modules.
The kernel booted and I got the entry in /proc too.
The outputs of various commands are as follows:
*************************************************************************
/ # ls /dev/mt* -l
crw-r--r-- 1 0 0 90, 0 Jan 1 00:00 /dev/mtd0
brw-r--r-- 1 0 0 31, 0 Jan 1 00:01 /dev/mtdblock0
crw-r--r-- 1 0 0 90, 1 Jan 1 00:00 /dev/mtdr0
/ # ls -al
drwxr-xr-x 12 0 0 1024 Jul 2 2001 .
drwxr-xr-x 12 0 0 1024 Jul 2 2001 ..
drwxr-sr-x 2 0 1000 1024 Jul 2 2001 bin
drwxr-xr-x 3 0 0 1024 Jan 1 00:01 dev
drwxr-xr-x 4 0 0 1024 Jun 30 2001 etc
drwxr-xr-x 3 0 0 1024 Jul 1 2001 lib
/***************The mount point I used**************/
dr-xr-xr-x 1 0 0 0 Jan 1 00:03 mnt
/***************************************************/
dr-xr-xr-x 20 0 0 0 Jan 1 00:00 proc
drwxr-sr-x 2 0 1000 1024 Jul 2 2001 sbin
drwxr-xr-x 2 0 0 1024 Jun 30 2001 tmp
drwxr-sr-x 5 0 0 1024 Jul 2 2001 usr
drwxr-xr-x 5 0 0 1024 Jun 30 2001 var
/ # cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00040000 "bootloader"
mtd1: 00040000 00040000 "bootloader params"
mtd2: 01f80000 00040000 "jffs"
***************************************************************************
Then it I mounted the device using
(i tried mount -t jffs option but it didnt work)
I am using Busybox.
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
but I cannot write to it nor can i delete any file from it ..
what could the problem possibly be??
I would be extremely grateful if i could get an early reply.
thanks in advance
nikunj
PS: I am not subscribed to this list. So please mail me at my
personal address
next reply other threads:[~2001-07-02 3:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 3:11 Nikunj A. Dadhania [this message]
2001-07-02 7:53 ` Permission problem on mtd block device David Woodhouse
2001-07-02 8:51 ` Nikunj A. Dadhania
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=86r8w0yqhz.fsf@bindaas.org \
--to=nikunj@bindaas.org \
--cc=jffs-dev@axis.com \
--cc=linux-mtd@lists.infradead.org \
--cc=ndadhania@yahoo.com \
--cc=vmalik@danielind.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox