Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: Janos Farkas <chexum@shadow.banki.hu>
Subject: ROMFS - a new, low-overhead, read-only filesystem
Date: 1997/01/06	[thread overview]
Message-ID: <pgpmoose.199701061459.7156@liw.clinet.fi> (raw)


-----BEGIN PGP SIGNED MESSAGE-----

ROMFS - ROM FILE SYSTEM

[--Excerpts from the included documentation]

This is a quite dumb, read only filesystem, mainly for initial ram
disks of installation disks.  It has grown up by the need of having
modules linked at boot time.  Using this filesystem, you get a very
similar feature, and even the possibility of a small kernel, with a
file system which doesn't take up useful memory from the router
functions in the basement of your office.

For comparison, both the older minix and xiafs filesystems (compiled
as module) need more than 20000 bytes, while romfs is less than a
page, about 4000 bytes (assuming ix86 code).  Under the same
conditions, the msdos filesystem would need about 30K (and does not
support device nodes or symlinks), while the nfs module with nfsroot
is about 57K.  Furthermore, as a bit unfair comparison, an actual
rescue disk used up 3202 blocks with ext2, while with romfs, it needed
3079 blocks.

As the name suggests, romfs could be also used (space-efficiently) on
various read-only medias, like (E)EPROM disks if someone will have the
motivation.. :)

However, the main purpose of romfs is to have a very small kernel,
which has only this filesystem linked in, and then can load any module
later, with the current module utilities.  It can also be used to run
some program to decide if you need SCSI devices, and even IDE or
floppy drives can be loaded later if you use the "initrd" -- initial
ram disk -- feature of the kernel.  This would not be really news
flash, but with romfs, you can even spare off your ext2 or minix or
maybe even affs filesystem until you really know that you need it.

[--End of excerpts]

There is only one drawback.  Since it is read-only you will need a user
program to create such a file system, very much like you create CD
images.  This program is available from

ftp://ftp.banki.hu/pub/Linux/local/genromfs-0.1.tar.gz

and it has been uploaded to sunsite too (and already made its way to many 
mirrors), it's currently resting in the incoming directory.

By the nature of the file system, you will need to patch your kernel to
recognize it.  Patches are available at the above mentioned site,
currently for 2.1.19/20 and 2.1.18.  Although not tested, the latter one
should work (or could be easily made to work) with 2.0 kernels.

Please contact me if you have any problems with the kernel patch, or the 
image generator program.

Janos <chexum@shadow.banki.hu>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBMtD3LIQRll5MupLRAQHVMQP/em3IDwlwcARjgshBMzE3tpyCLhakqI27
Qkmt79Pdi/wUHxbtZZrDY+ZyivtKa0lwXdPVKAZmq5kslgRmGCRPFGVOXckLWfES
d0CDfIv9LmhrqssATFj69fiFuTFjD14989uez+d9ljFYBkUZesDebpYYeKFnXLhh
rh4RUF0ZFd8=
=5cs/
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/liw/linux/cola.html



                 reply	other threads:[~1997-01-06  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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