public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* File as generic block-device?
@ 2008-10-22 12:56 Simen Thoresen
  2008-10-22 13:30 ` Geert Uytterhoeven
  2008-10-22 13:33 ` martin f krafft
  0 siblings, 2 replies; 5+ messages in thread
From: Simen Thoresen @ 2008-10-22 12:56 UTC (permalink / raw)
  To: linux-kernel

Hi all,

I have a project where I require to treat a file as a block-device 
(specifically, I want a file on an ext3 fs to act as one of the 
raid-members in a md-based stripe-set. I know that I can make a 
/filesystem/ on a file because both mkfs and mount (with -o loop) will 
accept a file as a block-device, but I have found no such function for 
mdadm, and am thus asking for a kernel-internal way to re-plug a file 
into the block-device layer.

Is this possible?

My current platform i CentOS5, a RHEL5 rebuild (modified 2.6.18-kernel).

-S
-- 
Simen Thoresen - Dolphin ICS Systems Administrator

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

end of thread, other threads:[~2008-10-22 13:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 12:56 File as generic block-device? Simen Thoresen
2008-10-22 13:30 ` Geert Uytterhoeven
2008-10-22 13:36   ` Simen Thoresen
2008-10-22 13:33 ` martin f krafft
2008-10-22 13:51   ` Simen Thoresen

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