The quick answer (and I'll have to revisit the linuxrc for a longer
answer, since it has been a while) is that /dev/ram will be set by the
size of the initrd.
See http://www.io.com/~mdfranz/trinux/devtools/mkrd
for how the initrd is built. Specificially the count for dd sets the
size of the ramdisk.
There also a hard kernel limit on the size of the ramdisk that you can
configure when you build the kernel. It is likely that it is set at
8mb/16mb.
However you should be able to get around this by creating a huge /usr
partiion and configuring the size of the partition either within the
linuxrc, since ramdisks aren't used for none / partition. tmpfs
/dev/shm is used.
Search for tmpfs or none or SIZE or even mkfs.minix and you should see
where they are created.
- mdf
> Hi All,
>
> I'm trying to customise Trinux CD so that I can have
> all the packages I want loaded during startup via
> bootpkg, however when I use perl and python I run out
> of disk space on /. I've tried increasing the space
> assigned to /local /usr etc in linuxrc but can't find
> a method of increasing the size of / (/dev/ram).
>
> While I am using vmware to build the bootable CD,
> which asigns 1/2 my laptops RAM to the virtual
> machine, a 'df' from a trinux boot in VMWare and a
> normal boot reviles no difference, so I don't think
> it's connected to the size of RAM available to the
> system (is it?)
>
> Can anyone point me the line(s) in linuxrc that I
> should be editoring to increase the size of /dev/ram
> and thus / so that I can fit more packages into a live
> Trinux?
>
> Cheers
>
> James
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs
> http://hotjobs.sweepstakes.yahoo.com/careermakeover
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by Sleepycat Software
> Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
> higher performing products faster, at low TCO.
> http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
> _______________________________________________
> Trinux-talk mailing list
> Tri...@li...
> https://lists.sourceforge.net/lists/listinfo/trinux-talk
--
----------------------------------------------
Matthew Franz mf...@ci...
Critical Infrastructure Assurance Group (CIAG)
Cisco Systems, Inc. Austin, TX
AIM/Yahoo: matthewdfranz
|