public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* blkmtd command line specification?
@ 2001-10-27  6:37 W . Suika Roberts
  2001-10-27  8:44 ` Jörn Engel
  2001-10-28 12:43 ` Si
  0 siblings, 2 replies; 3+ messages in thread
From: W . Suika Roberts @ 2001-10-27  6:37 UTC (permalink / raw)
  To: linux-mtd

I'm working on getting a jffs2 root file system running on my new Ipaq IA-1.

I can use blkmtd when it is built as a module, but I can't seem to figure out
the coomand-line syntax for using it built into the kernel.

So, how do I specify what to do on the command line? 
I tried
blkmtd=device:/dev/hda2
and
blkmtd=device=/dev/hda2
but neither worked.

As a module:
insmod blkmtd.o device=/dev/hda2
works just fine.

2.4.13, no patches, i386.

Thanks,
	Suika
-- 
		ssfr@unm.edu
If the code and the comments disagree, then both are probably wrong.
            						    -- Norm Schryer
   <a href="http://www.unm.edu/~ssfr/">Suika no homepage</a>

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

* Re: blkmtd command line specification?
  2001-10-27  6:37 blkmtd command line specification? W . Suika Roberts
@ 2001-10-27  8:44 ` Jörn Engel
  2001-10-28 12:43 ` Si
  1 sibling, 0 replies; 3+ messages in thread
From: Jörn Engel @ 2001-10-27  8:44 UTC (permalink / raw)
  To: W . Suika Roberts; +Cc: linux-mtd

Moin!

> I'm working on getting a jffs2 root file system running on my new Ipaq IA-1.
> 
> I can use blkmtd when it is built as a module, but I can't seem to figure out
> the coomand-line syntax for using it built into the kernel.
> 
> So, how do I specify what to do on the command line? 

With my kernel, I had to patch init/main.c. If you browse through the
code, you notice the large table of potential root devices. Add some
/dev/mtdblock0 to /dev/mtdblockn with the corresponding major and
minor numbers and enjoy.

Jörn

-- 
The cheapest, fastest and most reliable components of a computer system are
those that aren't there  --  Gordon Bell, DEC labratories

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

* Re: blkmtd command line specification?
  2001-10-27  6:37 blkmtd command line specification? W . Suika Roberts
  2001-10-27  8:44 ` Jörn Engel
@ 2001-10-28 12:43 ` Si
  1 sibling, 0 replies; 3+ messages in thread
From: Si @ 2001-10-28 12:43 UTC (permalink / raw)
  To: W . Suika Roberts, linux-mtd

Hi,

the problem is that it doesnt handle kernel boot params as I didnt know they
were handled seperately to module loading parameters. Im fixing it now ;)

cheers
si
----- Original Message -----
From: "W . Suika Roberts" <ssfr@unm.edu>
To: <linux-mtd@lists.infradead.org>
Sent: Saturday, October 27, 2001 6:37 AM
Subject: blkmtd command line specification?


> I'm working on getting a jffs2 root file system running on my new Ipaq
IA-1.
>
> I can use blkmtd when it is built as a module, but I can't seem to figure
out
> the coomand-line syntax for using it built into the kernel.
>
> So, how do I specify what to do on the command line?
> I tried
> blkmtd=device:/dev/hda2
> and
> blkmtd=device=/dev/hda2
> but neither worked.
>
> As a module:
> insmod blkmtd.o device=/dev/hda2
> works just fine.
>
> 2.4.13, no patches, i386.
>
> Thanks,
> Suika
> --
> ssfr@unm.edu
> If the code and the comments disagree, then both are probably wrong.
>                 -- Norm Schryer
>    <a href="http://www.unm.edu/~ssfr/">Suika no homepage</a>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>

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

end of thread, other threads:[~2001-10-28 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-27  6:37 blkmtd command line specification? W . Suika Roberts
2001-10-27  8:44 ` Jörn Engel
2001-10-28 12:43 ` Si

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