Nikunj A. Dadhania | 2 Jul 2001 10:51

Re: Permission problem on mtd block device

David Woodhouse <dwmw2 <at> infradead.org> writes:

> nikunj <at> 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
(Continue reading)

Nikunj A. Dadhania | 2 Jul 2001 11:36

Re: Permission problem on mtd block device

nikunj <at> bindaas.org (Nikunj A. Dadhania) writes:

> David Woodhouse <dwmw2 <at> infradead.org> writes:
> 
> > nikunj <at> 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
(Continue reading)


Gmane