public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Setting up multiple 'blkmtd' devices
@ 2005-05-05  6:23 Ryan B. Lynch
  2005-05-05  6:40 ` Jörn Engel
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan B. Lynch @ 2005-05-05  6:23 UTC (permalink / raw)
  To: linux-mtd

I've been using the 'blkmtd' driver as a module, and I understand that 
the only way to set up the device association and create a 
'dev/mtdblock/*' device is to load the module with the option 
'device=/dev/xxx'.

Couple of questions:

    - Is it possible to load more than one device during the 'modprobe' 
command, with something like multiple "device=xxx" options?  I tried 
that exactly, and it doesn't seem to work--it only loads the first 
device listed.

    - Is it possible to set up additional blkmtd devices after the 
module has loaded?  If I issue the command 'modprobe blkmtd 
device=/dev/hdc1', is it possible to add another device later without 
unloading the module?

    - When I've compiled the 'blkmtd' driver into the kernel, I 
understand that I can associate the block device at boot time with the 
boot parameter "blkmtd_device=/dev/xxx".  If I don't pass a 
"blkmtd_device=" parameter at boot-time, is there any way to associate a 
device later on?

    - Given the compiled-in scenario for the 'blkmtd' driver, is it 
possible to bring in multiple devices, regardless of whether the 
boot-time parameter is passed?

    - Is there a userspace tool, along the lines of 'losetup' or 
'brctl', that allows you to manipulate/query blkmtd devices without 
using the module options?

I hope these are straightforward enough.  Thanks for the time.

-Ryan

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

end of thread, other threads:[~2005-05-05  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-05  6:23 Setting up multiple 'blkmtd' devices Ryan B. Lynch
2005-05-05  6:40 ` 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