1 |
On 11/9/2011 2:04 AM, Mick wrote: |
2 |
> On Wednesday 09 Nov 2011 02:43:43 Mike Edenfield wrote: |
3 |
>> On 11/6/2011 8:54 PM, Dale wrote: |
4 |
>>> Mine is like this: |
5 |
>>> |
6 |
>>> -rw-r--r-- 1 root root 4547936 Aug 22 03:53 |
7 |
>>> /boot/bzImage-3.0.3-1 |
8 |
>>> -rw-r--r-- 1 root root 4548640 Sep 1 07:19 |
9 |
>>> /boot/bzImage-3.0.4-1 |
10 |
>>> -rw-r--r-- 1 root root 5162752 Oct 12 21:49 |
11 |
>>> /boot/bzImage-3.0.4-2 |
12 |
>>> -rw-r--r-- 1 root root 5167840 Oct 13 00:05 |
13 |
>>> /boot/bzImage-3.0.6-1 |
14 |
>>> -rw-r--r-- 1 root root 5167776 Oct 19 02:14 |
15 |
>>> /boot/bzImage-3.0.7-1 |
16 |
>>> |
17 |
>>> |
18 |
>>> The last number is how many times it took to get a stable |
19 |
>>> one. Sometimes it is one, sometimes two. I would also like |
20 |
>>> to see how make install does it nowadays. Maybe worth |
21 |
>>> another try. |
22 |
>>> |
23 |
>>> Oh, I name the config files the same as the kernel too. Am |
24 |
>>> I OCD? o_O |
25 |
>> |
26 |
>> Nope, that's also how `make install` does it: |
27 |
>> |
28 |
>> basement boot # ls -l |
29 |
>> total 7060 |
30 |
>> lrwxrwxrwx. 1 root root 41 Aug 18 15:35 System.map -> |
31 |
>> System.map-2.6.39-hardened-r10-basement-1 |
32 |
>> -rw-r--r--. 1 root root 1484083 Aug 18 15:26 |
33 |
>> System.map-2.6.39-hardened-r10-basement-0 |
34 |
>> -rw-r--r--. 1 root root 1484083 Aug 18 15:35 |
35 |
>> System.map-2.6.39-hardened-r10-basement-1 |
36 |
>> lrwxrwxrwx. 1 root root 41 Aug 18 15:26 System.map.old |
37 |
>> -> System.map-2.6.39-hardened-r10-basement-0 |
38 |
>> lrwxrwxrwx. 1 root root 1 Oct 3 2009 boot -> . |
39 |
>> lrwxrwxrwx. 1 root root 37 Aug 18 15:35 config -> |
40 |
>> config-2.6.39-hardened-r10-basement-1 |
41 |
>> -rw-r--r--. 1 root root 51983 Aug 18 15:26 |
42 |
>> config-2.6.39-hardened-r10-basement-0 |
43 |
>> -rw-r--r--. 1 root root 51983 Aug 18 15:35 |
44 |
>> config-2.6.39-hardened-r10-basement-1 |
45 |
>> lrwxrwxrwx. 1 root root 37 Aug 18 15:26 config.old -> |
46 |
>> config-2.6.39-hardened-r10-basement-0 |
47 |
>> drwxr-xr-x. 2 root root 4096 Aug 18 15:37 grub |
48 |
>> drwx------. 2 root root 16384 Oct 3 2009 lost+found |
49 |
>> lrwxrwxrwx. 1 root root 38 Aug 18 15:35 vmlinuz -> |
50 |
>> vmlinuz-2.6.39-hardened-r10-basement-1 |
51 |
>> -rw-r--r--. 1 root root 2027168 Aug 18 15:26 |
52 |
>> vmlinuz-2.6.39-hardened-r10-basement-0 |
53 |
>> -rw-r--r--. 1 root root 2026816 Aug 18 15:35 |
54 |
>> vmlinuz-2.6.39-hardened-r10-basement-1 |
55 |
>> lrwxrwxrwx. 1 root root 38 Aug 18 15:26 vmlinuz.old -> |
56 |
>> vmlinuz-2.6.39-hardened-r10-basement-0 |
57 |
>> |
58 |
>> Note that, to get the name/number scheme, I also have: |
59 |
>> |
60 |
>> basement linux # cd /usr/src/linux |
61 |
>> basement linux # cat localversion1 |
62 |
>> -basement- |
63 |
>> basement linux # cat localversion2 |
64 |
>> 2 |
65 |
>> basement linux # ls -l localversion* |
66 |
>> -rw-r--r--. 1 root root 11 Aug 14 09:07 localversion1 |
67 |
>> lrwxrwxrwx. 1 root root 8 Aug 18 15:34 localversion2 -> |
68 |
>> .version |
69 |
> |
70 |
> Are you saying then that every time you download new source files you have to |
71 |
> create or cp new localversion* files in /usr/src/linux/ for this auto-numbering |
72 |
> to work? |
73 |
|
74 |
Yeah, though I wouldn't be surprised if there was already a |
75 |
way to automate this that I just haven't bothered to learn. |
76 |
For now I just create them again each time I change my |
77 |
/usr/src/linux symlink: |
78 |
|
79 |
basement ~ # cd /usr/src/linux |
80 |
basement linux # cp ~/localversion* . |
81 |
basement linux # ln -sf localversion2 .version |
82 |
|
83 |
--Mike |