LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Why did 'mount -t ubifs /dev/ubi0 ./loop/' reports error? (http://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/why-did-mount-t-ubifs-dev-ubi0-loop-reports-error-4175438366/)

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?

Code:

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
root@gpl-vm:/GPL/8600tmp#


malekmustaq 11-26-2012 03:02 AM

Quote:

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:
Quote:

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 12:02 AM.