public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* (재전송) /dev/mtd0 qeustions
@ 2001-07-13 23:43 kingseft
  2001-07-14  5:07 ` Yong-iL Joh
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: kingseft @ 2001-07-13 23:43 UTC (permalink / raw)
  To: linux-mtd

[-- Attachment #1: mail.txt --]
[-- Type: text/plain, Size: 448 bytes --]

 I got latest MTD source code(2001-07-11 version)
 and set Kernel options.

 when the kernel booted, I found all correct messages from kernel.
 but, when I tyepd MAKEDEV, and then

 mkfs.jffs -d /home/jffs -o /tmp/jffs.image
 and

 cp /tmp/jffs.image /dev/mtd0
 the result message is

 cp: /dev/mtd0  Read-only file system.     <----Here.

 so, I can't proceed next step!!

 Could anyone explain this problem??
 Any comments will help me.. thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (재전송) /dev/mtd0 qeustions
  2001-07-13 23:43 (재전송) /dev/mtd0 qeustions kingseft
@ 2001-07-14  5:07 ` Yong-iL Joh
  2001-07-14  7:44 ` David Woodhouse
  2001-07-16  7:59 ` (ÀçÀü¼Û) " Abraham vd Merwe
  2 siblings, 0 replies; 5+ messages in thread
From: Yong-iL Joh @ 2001-07-14  5:07 UTC (permalink / raw)
  To: kingseft; +Cc: linux-mtd

kingseft@samsung.co.kr writes:

>  mkfs.jffs -d /home/jffs -o /tmp/jffs.image
>  and
> 
>  cp /tmp/jffs.image /dev/mtd0
>  the result message is
> 
>  cp: /dev/mtd0  Read-only file system.     <----Here.

what filesystem do you use for root filesystem?
if you use romfs, then mount /dev as ramfs and make node.

>  so, I can't proceed next step!!

-- 
Joh, Yong-iL
E-mail: tolkien@nownuri.net tolkien@mizi.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (재전송) /dev/mtd0 qeustions
  2001-07-13 23:43 (재전송) /dev/mtd0 qeustions kingseft
  2001-07-14  5:07 ` Yong-iL Joh
@ 2001-07-14  7:44 ` David Woodhouse
  2001-07-16  7:59 ` (ÀçÀü¼Û) " Abraham vd Merwe
  2 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2001-07-14  7:44 UTC (permalink / raw)
  To: kingseft; +Cc: linux-mtd

kingseft@samsung.co.kr said:
> 
>  cp: /dev/mtd0  Read-only file system.     <----Here.
>  so, I can't proceed next step!!
>  Could anyone explain this problem??
>  Any comments will help me.. thanks. 

Are the sectors protected?

--
dwmw2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (ÀçÀü¼Û) /dev/mtd0 qeustions
  2001-07-13 23:43 (재전송) /dev/mtd0 qeustions kingseft
  2001-07-14  5:07 ` Yong-iL Joh
  2001-07-14  7:44 ` David Woodhouse
@ 2001-07-16  7:59 ` Abraham vd Merwe
  2001-07-16  8:42   ` David Woodhouse
  2 siblings, 1 reply; 5+ messages in thread
From: Abraham vd Merwe @ 2001-07-16  7:59 UTC (permalink / raw)
  To: kingseft; +Cc: MTD for Linux

[-- Attachment #1: Type: text/plain, Size: 1112 bytes --]

Hi kingseft!

>  I got latest MTD source code(2001-07-11 version)
>  and set Kernel options.
> 
>  when the kernel booted, I found all correct messages from kernel.
>  but, when I tyepd MAKEDEV, and then
> 
>  mkfs.jffs -d /home/jffs -o /tmp/jffs.image
>  and
> 
>  cp /tmp/jffs.image /dev/mtd0
>  the result message is
> 
>  cp: /dev/mtd0  Read-only file system.     <----Here.
> 
>  so, I can't proceed next step!!
> 
>  Could anyone explain this problem??
>  Any comments will help me.. thanks.

btw, if you want to copy to a raw partition (as you did above), you'll have
to erase that partition first.

-- 

Regards
 Abraham

Your supervisor is thinking about you.

__________________________________________________________
 Abraham vd Merwe - 2d3D, Inc.

 Device Driver Development, Outsourcing, Embedded Systems

  Cell: +27 82 565 4451         Snailmail:
   Tel: +27 21 761 7549            Block C, Antree Park
   Fax: +27 21 761 7648            Doncaster Road
 Email: abraham@2d3d.co.za         Kenilworth, 7700
  Http: http://www.2d3d.com        South Africa


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: (ÀçÀü¼Û) /dev/mtd0 qeustions
  2001-07-16  7:59 ` (ÀçÀü¼Û) " Abraham vd Merwe
@ 2001-07-16  8:42   ` David Woodhouse
  0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2001-07-16  8:42 UTC (permalink / raw)
  To: Abraham vd Merwe; +Cc: kingseft, MTD for Linux

abraham@2d3d.co.za said:
>  btw, if you want to copy to a raw partition (as you did above),
> you'll have to erase that partition first.

Or use the mtdblock device instead, which does erase it for you.



--
dwmw2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-16  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13 23:43 (재전송) /dev/mtd0 qeustions kingseft
2001-07-14  5:07 ` Yong-iL Joh
2001-07-14  7:44 ` David Woodhouse
2001-07-16  7:59 ` (ÀçÀü¼Û) " Abraham vd Merwe
2001-07-16  8:42   ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox