mounting without -o loop
Posted
by jumpinjoe
on Stack Overflow
See other posts from Stack Overflow
or by jumpinjoe
Published on 2010-03-17T12:17:36Z
Indexed on
2010/03/17
12:21 UTC
Read the original article
Hit count: 257
Hi, I have written a dummy (ram disk) block device driver for linux kernel. When the driver is loaded, I can see it as /dev/mybd.
I can successfully transfer data onto it using dd command, compare the copied data successfully.
The problem is that when I create ext2/3 filesystem on it, I have to use -o loop option with the mount command. Otherwise mount fails with following result:
mount: wrong fs type, bad option, bad superblock on mybd, missing codepage or helper program, or other error
What could be the problem? Please help.
Thanks.
© Stack Overflow or respective owner