Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7408 - Script to create and use ramdisk
Summary: Script to create and use ramdisk
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-03 05:28 UTC by Perzy Hannaman
Modified: 2004-10-15 23:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Configuration file (etc_conf.d_ramdisk,654 bytes, text/plain)
2002-09-03 05:30 UTC, Perzy Hannaman
Details
script to create ramdisk (etc_init.d_ramdisk,1.19 KB, text/plain)
2002-09-03 05:30 UTC, Perzy Hannaman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Perzy Hannaman 2002-09-03 05:28:27 UTC
I have attached two files that can be added to /etc/init.d and /etc/conf.d. I 
found this on the forum, works great, speed things up.

Perzy
Comment 1 Perzy Hannaman 2002-09-03 05:30:08 UTC
Created attachment 3618 [details]
Configuration file
Comment 2 Perzy Hannaman 2002-09-03 05:30:50 UTC
Created attachment 3619 [details]
script to create ramdisk
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-03 13:39:47 UTC
With what package do you think it should be included ? util-linux ?
Comment 4 Perzy Hannaman 2002-09-04 06:34:44 UTC
I have checked the descriptions of the ebuilds and the description of sys-
apps\baselayout is "Base layout for Gentoo Linux filesystem (incl. initscripts 
and sysvinit)". Seems like the correct place.

Perzy
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-04 16:19:12 UTC
No.  It should go with the *main* utilities it use.  Like /etc/hdparm goes with
sys-apps/hdparm.  Baselayout is the core system only.
Comment 6 Perzy Hannaman 2002-09-09 08:17:59 UTC
Hi Martin,

I'm not sure if you are waiting for an answer, but I will give one anyway.

With this script you can define the behaviour of ramdisks, so there isn't 
a "main utility". All programs can use the ramdisk (e.g. portage, gcc, kde, 
etc.).

I have checked the contents of util-linux and there isn't a single "init.d-
script" in there. In baselayout I see "init.d-scripts" (e.g. net, net-lo, 
urandom, checkfs, etc.).

IMHO a script to manage memory (ramdisks) systemwide is not more or less part 
of the coresystem then for example the network or filesystem.

I'm not a developer so it's up to you. Do you have an idea where to put it?

Perzy.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 14:16:27 UTC
Hi, sorry about the long delay .. I should have gotten back to you earlier.

Any change we can get some more documentation into either the script or the
config file ?

Also, I think it will be nicer if you only specify the mount points, and
where the tarballs are, but the script detect what compression was used.
You may want to look at the 'epatch()' function in
/usr/portage/eclass/eutils.eclass ...

Anyhow, if we can get these changes going, I dont mind adding it to baselayout.
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-19 17:41:20 UTC
And?
Comment 9 Andrew Cooks (RETIRED) gentoo-dev 2003-11-30 00:47:02 UTC
This bug has been inactive for more than 250 days.

Any feedback?
Comment 10 SpanKY gentoo-dev 2004-10-15 23:20:23 UTC
a user can just as easily add entries to fstab to get same behavior imho, no point in over complicating things