problem with build jffs2 filesystem

fyaowen fyaowen at sina.com
Sat Mar 30 21:34:58 EST 2002


----- Original Message -----
From:David Woodhouse <dwmw2 at infradead.org>
To:fyaowen <fyaowen at sina.com>
Subject:Re: problem with build jffs2 filesystem 
Date:Sat, 30 Mar 2002 23:30:23 +0800
 >fyaowen at sina.com said:
 >>    dd if=jffs2.image of=/dev/mtd7
 >>    mount -t jffs2 /dev/mtd7 /mnt
 >> After I gave out this instruction, all partitions on Neponset were
 >> erased.  
 >
 >That mount command should have failed. You cannot mount the character 
 >device. 
ls -l /dev
brw-r--r--    1 root     root      31,   7 Jan 28 14:16 mtd7

I have no mtdblocks, only mtd* instead. The major number of mtd7
is 31. So mtd7 is a block device, isn't it?

 >
 >--
 >dwmw2
 >
 >
 >
 >

______________________________________

===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
ÐÂÀË·ÖÀàÐÅÏ¢£º¶þÊÖÊг¡×ßÒ»×ߣ¬¸Ã³öÊÖʱ¾Í³öÊÖ£¡ (http://classad.sina.com.cn/2shou/)




More information about the linux-mtd mailing list