1 |
Hi, Dale and everybody else! |
2 |
|
3 |
On Fri, Jul 25, 2008 at 05:23:59AM -0500, Dale wrote: |
4 |
> Alan Mackenzie wrote: |
5 |
|
6 |
> Just in case you are talking about editing the files in profiles, that |
7 |
> won't work long term. Keep in mind that each time you run emerge |
8 |
> --sync those files will be overwritten. It is not a good idea to edit |
9 |
> anything in /usr/portage since it will update when you sync again. |
10 |
|
11 |
> If you want to enable/disable features in the profiles, do that in |
12 |
> make.conf instead. |
13 |
|
14 |
DONE. It worked too, after fixing another problem (see below). |
15 |
|
16 |
> That is where you put in your final wishes. Example: cups is enabled |
17 |
> as a USE flag in the profile and you do not want cups enabled. Put |
18 |
> -cups in your make.conf and it should be disabled. The reverse is also |
19 |
> true. If you want cups but it is disabled in the profile, you can add |
20 |
> cups to your USE line in make.conf and it will be enabled. |
21 |
|
22 |
> Hope that helps. |
23 |
|
24 |
It helped a great deal, thanks! |
25 |
|
26 |
With about 9 packages to go, I started getting disk full messages, even |
27 |
though my (sole) partition had well over 1Gb free. It turns out I'd ran |
28 |
out of inodes. Curious. But the only "application" which has any data |
29 |
at all yet is portage. ;-) |
30 |
|
31 |
I haven't looked in detail where all these little files are - I suspect |
32 |
they're largely under /var - but dumpe2fs /dev/hdh5 gave: |
33 |
|
34 |
Inode count: 250976 <======= |
35 |
Block count: 1002046 |
36 |
Reserved block count: 50102 |
37 |
Free blocks: 354807 |
38 |
Free inodes: 58 <======= |
39 |
First block: 0 |
40 |
Block size: 4096 |
41 |
Fragment size: 4096 |
42 |
|
43 |
It seems I have 250,918 files in ~650,000 blocks. That's a _lot_ of |
44 |
files, most of them flea sized. |
45 |
|
46 |
So I formatted another ext3 partitions, with 2048 byte blocks and |
47 |
~1,000,000 inodes, copied all the files across, rebooted into Gentoo and |
48 |
I was able to finish intalling xfce4. It's nice! I need to get firefox |
49 |
now, and I'll probably let that run overnight. ;-) |
50 |
|
51 |
Comparing the two partions with df immediately after the bulk copy, I got |
52 |
this: |
53 |
|
54 |
Filesystem 1K-blocks Used Available Use% Mounted on |
55 |
/dev/hdh5 3945128 2525880 1218840 68% /mnt/hdh5 <== Old |
56 |
/dev/hdh10 3882172 2069020 1612744 57% /mnt/hdh10 <== New |
57 |
|
58 |
Maybe 1024 byte blocks would have been even better. Or would it be a |
59 |
good idea to format the partition-with-all-the-little-files with Reiser. |
60 |
Does Reiserfs have static limits on numbers of files? It's supposed to |
61 |
be very good at handling lots of midget files. |
62 |
|
63 |
> Dale |
64 |
|
65 |
> :-) :-) |
66 |
|
67 |
-- |
68 |
Alan Mackenzie (Nuremberg, Germany). |