1 |
2009/8/21 Nikos Chantziaras <realnc@×××××.de>: |
2 |
> On 08/21/2009 08:20 AM, Song Zhiwei wrote: |
3 |
>> |
4 |
>> Hi all, |
5 |
>> |
6 |
>> I am trying to install gentoo to an embedded system and I'd like to mount |
7 |
>> /var to RAM as tmpfs. How can I do it? I tried to add mount command into |
8 |
>> the file /etc/conf.d/rc-extra, but it didnot work. |
9 |
> |
10 |
> Mount points are specified in /etc/fstab. I mount my /var/tmp/portage there |
11 |
> with: |
12 |
> |
13 |
> none /var/tmp/portage tmpfs defaults 0 0 |
14 |
> |
15 |
> You can look-up the tmpfs mount options to specify the amount of RAM. |
16 |
> Default is half the RAM in the system. |
17 |
> |
18 |
> With that being said, your system will break horribly if you mount /var as a |
19 |
> tmpfs. /var is supposed to survive reboots. |
20 |
|
21 |
This is the question. How to mount /var as a tmpfs and the system will |
22 |
not break? |
23 |
|
24 |
|
25 |
> |
26 |
> |
27 |
> |