* RE: Re: problem with build jffs2 filesystem
@ 2002-03-31 2:34 fyaowen
2002-04-02 23:19 ` Jörn Engel
0 siblings, 1 reply; 2+ messages in thread
From: fyaowen @ 2002-03-31 2:34 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-mtd
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 907 bytes --]
----- Original Message -----
From:David Woodhouse <dwmw2@infradead.org>
To:fyaowen <fyaowen@sina.com>
Subject:Re: problem with build jffs2 filesystem
Date:Sat, 30 Mar 2002 23:30:23 +0800
>fyaowen@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/)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: problem with build jffs2 filesystem
2002-03-31 2:34 Re: problem with build jffs2 filesystem fyaowen
@ 2002-04-02 23:19 ` Jörn Engel
0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2002-04-02 23:19 UTC (permalink / raw)
To: fyaowen; +Cc: David Woodhouse, linux-mtd
On Sun, 31 March 2002 10:34:58 +0800, fyaowen wrote:
> 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?
It is, although the name is confusing. Usually, mtd7 is a char device
(major 90, minor 14) and mtdblock7 is the name for your mtd7.
Jörn
--
When your language is nowhere near Turing-complete, syntactic sugar
can be your friend.
-- Eric Raymond in "The cathedral and the bazaar"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-02 23:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-31 2:34 Re: problem with build jffs2 filesystem fyaowen
2002-04-02 23:19 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox