Matt Riddell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Matt Riddell wrote:
>> Ingmar Schraub wrote:
>>> Matt Riddell wrote:
>>>> Ingmar Schraub wrote:
>>>>> Hello Matt,
>>>>> you have three options:
>>>>> 1.) in rc.conf you can set "VAR_SIZE". You can even do this on your live
>>>>> system. Just reboot altering this setting.
>>>>> 2.) you can adjust the size in the 'rc' file (live system or build
>>>>> system), target/generic/target_skeleton/etc/rc
>>>>> 3.) resize the filesystem with "mount -o remount,size=$VAR_SIZE /var"
>>>> Ok, cool thanks for those.  If I want to not have a separate /var/ tmpfs
>>>> partition how would I go about it?
>>>>
>>>> I.E. If I want the /var/ partition to be a part of the root partition.
>>> You modify the 'rc' script in order not to setup /var as tmpfs and add
>>> /var to your rootfs skeleton. (or do a 'mkdir -p /var' in the rc script
>>> - assuming you are running unionfs).
>> Ah ok, should have just read the script :)
>>
>> Thanks man
> 
> Ok, I've just changed the rc in the build system to:
> 
> #  mount -t tmpfs -o size=5000k none /var
>    mkdir -p /var/
> 
> Is the root fs up at this stage? And yeah, using unionfs

Matt,

It should be, but before you do such stuff, take a look at what's in 
/var and what other options we have put in place to do what you think 
you need to do. :)  There are options in the rc.conf file which do 
things like "preserve logs" which would set up /var/log as a link to 
/mnt/kd instead of leaving log in tempfs.  Some things like CDR files 
are already stored on /mnt/kd and already are setup with symbolic links.

Perhaps let us know what you're trying to accomplish.  It's probably 
possible to do what you're trying to do without using a stick of 
dynamite and a baseball bat.  Otherwise you'll have to maintain your own 
images (which you may want to do anyway).

Regards,

Darrick

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to