about ubiformat mtdblock

tommy jiujin.hong at mid-fun.com
Tue Jun 30 20:54:34 EDT 2009


No
root at localhost:/# mount
rootfs on / type rootfs (rw)
ubi0:ubifs1 on / type ubifs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ubi0:ubifs1 on /dev/.static/dev type ubifs (rw)
tmpfs on /dev type tmpfs (rw)
ubi1:data on /media type ubifs (rw)
tmpfs on /var type tmpfs (rw)
root at localhost:/# 

On 二, 2009-06-30 at 17:51 +0300, Artem Bityutskiy wrote:
> On Mon, 2009-06-29 at 10:14 +0800, tommy wrote:
> > HI,Dear sir !
> > 
> > i have a question!
> > 
> > I have patched your 2.6.24-ubifs-git on my ARM11 platform !
> > 
> > it have succeed run and stable !
> > 
> > My rootfs have a /etc/fstab file !
> > 
> > # stock fstab - you probably want to override this with a machine
> > specific one
> > 
> > rootfs               /                    auto       defaults
> > 1  1
> > proc                 /proc                proc       defaults
> > 0  0
> > devpts               /dev/pts             devpts     mode=0620,gid=5
> > 0  0
> > #usbdevfs             /proc/bus/usb        usbdevfs   noauto
> > 0  0
> > tmpfs                /var                 tmpfs      defaults
> > 0  0
> > tmpfs                /mnt/ram           tmpfs      defaults
> > 0  0
> > 
> > if  i enable "rootfs   /  auto  defaults 1 1 ",when kernel
> > booting ,ubifs driver will say "UBIFS error (pid 628): ubifs_get_sb:
> > cannot open "rootfs", error -22"!
> > 
> > if i disable "#rootfs / auto deafults 1 1 ",when kernel booting ,ubifs
> > driver never say error ,
> > can you explain it ?
> > 
> > because my old ubifs patched driver never say any error even if  it is
> > enable  !
> 
> Can you mount it when you use the mount utility directly?
> 




More information about the linux-mtd mailing list