-   Linux - Embedded & Single-board computer (
-   -   Why did 'mount -t ubifs /dev/ubi0 ./loop/' reports error? (

chinabenjamin66 11-22-2012 09:20 PM

Why did 'mount -t ubifs /dev/ubi0 ./loop/' reports error?
Hello friends,

Trying to mount /dev/ubi0, but I got such an error, any ideas?


root@gpl-vm:/GPL/8600tmp# lsmod|grep ubifs
ubifs                173277  0
ubi                    84238  1 ubifs
root@gpl-vm:/GPL/8600tmp# mount -t ubifs /dev/ubi0 ./loop/
mount: wrong fs type, bad option, bad superblock on /dev/ubi0,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

root@gpl-vm:/GPL/8600tmp# dmesg|tail
[ 5198.362061] UBI: max. allowed volumes:      128
[ 5198.362063] UBI: wear-leveling threshold:    4096
[ 5198.362065] UBI: number of internal volumes: 1
[ 5198.362068] UBI: number of user volumes:    0
[ 5198.362070] UBI: available PEBs:            2024
[ 5198.362072] UBI: total number of reserved PEBs: 24
[ 5198.362075] UBI: number of PEBs reserved for bad PEB handling: 20
[ 5198.362078] UBI: max/mean erase counter: 1/1
[ 5198.362080] UBI: image sequence number:  896992305
[ 5198.365870] UBI: background thread "ubi_bgt0d" started, PID 3644

malekmustaq 11-26-2012 03:02 AM


Why did 'mount -t ubifs /dev/ubi0 ./loop/' reports error?
"./loop/" I think this is not a valid option entry. A mount option is entered plainly:

mount -t ubifs /dev/ubi0 -o loop /mount/point
or you can use the type: mount -t iso9660 if it is already in the media/cd/dvd.

All times are GMT -5. The time now is 01:25 AM.