linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* filesystem for initrd
@ 2001-03-11  0:06 Art Boulatov
  2001-03-11  0:28 ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Art Boulatov @ 2001-03-11  0:06 UTC (permalink / raw)
  To: linux-kernel

Hi,

I'm in the process of creating a custom "system partition"
for out Linux servers, which is actually an initial ramdisk,
coming from hd or network on boot
to load necessary drivers and perform important checks
before the real filesystems get mounted,
and I did not find any info on
what filesystems can I use
for initrd, are there any restrictions?
Mostly interested in cramfs,
due to it's compression.

Could anybody help me work this out or point to the right place for more 
info?

Thanks a lot,
Art.




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

* Re: filesystem for initrd
  2001-03-11  0:06 filesystem for initrd Art Boulatov
@ 2001-03-11  0:28 ` Jeff Garzik
  2001-03-12 13:51   ` Ingo Oeser
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2001-03-11  0:28 UTC (permalink / raw)
  To: Art Boulatov; +Cc: linux-kernel

Art Boulatov wrote:
> I'm in the process of creating a custom "system partition"
> for out Linux servers, which is actually an initial ramdisk,
> coming from hd or network on boot
> to load necessary drivers and perform important checks
> before the real filesystems get mounted,
> and I did not find any info on
> what filesystems can I use
> for initrd, are there any restrictions?
> Mostly interested in cramfs,
> due to it's compression.

Any filesystem which works with a normal block device, such as a hard
drive, will work with a ramdisk.  Read ramdisk.txt and initrd.txt in the
linux/Documentation directory, in your Linux kernel source tree.

cramfs is nice but still read-only at the moment...  You might be able
to get away with stacking ramfs on top of that.  If not, it shouldn't be
hard to modify cramfs so that it allows fs modifications... just stick
the updated pages in RAM until the file is unlinked or the fs is
unmounted.

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie

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

* Re: filesystem for initrd
  2001-03-11  0:28 ` Jeff Garzik
@ 2001-03-12 13:51   ` Ingo Oeser
  0 siblings, 0 replies; 3+ messages in thread
From: Ingo Oeser @ 2001-03-12 13:51 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Art Boulatov, linux-kernel

On Sat, Mar 10, 2001 at 07:28:53PM -0500, Jeff Garzik wrote:
> cramfs is nice but still read-only at the moment...  You might be able
> to get away with stacking ramfs on top of that. 

What is easier because this ...

> If not, it shouldn't be hard to modify cramfs so that it allows
> fs modifications...  just stick the updated pages in RAM until
> the file is unlinked or the fs is unmounted.

... will lead into problems accounting available space on the fs,
since openers don't expect that they cannot write to a file
anymore, just because we we are out of RAM for backing the
writes.

I think unionfs will care for this kind of problems once we have
it implemented in an official tree.

Regards

Ingo Oeser
-- 
10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
         <<<<<<<<<<<<       come and join the fun       >>>>>>>>>>>>

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

end of thread, other threads:[~2001-03-12 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-11  0:06 filesystem for initrd Art Boulatov
2001-03-11  0:28 ` Jeff Garzik
2001-03-12 13:51   ` Ingo Oeser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).