Results 1 to 6 of 6

Thread: Kernel Q

  1. #1
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,926

    Kernel Q

    Is there a kernel source code that you could download that only has your particular processor's code in it (such as only DEC Alpha or x86 code)? If not, is it wise to go through the code manually and just delete the mips, ppc, sparc, etc code? I'm just wanting to strip down the source code so that it doesn't take up too much space, but since I'm still not very good with compiling the kernel and what not I'm just not sure that it is a good idea to do so. Any thoughts?

  2. #2

    Re:Kernel Q

    hi stryder,
    as far as i am aware the source for all processors is distributed with the main source code - as far as removing stuff you don't need i think that would be tough and not net you very much, the kernel components (e.g. networking, firewall, sound, etc...) take up the most space.

  3. #3
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,926

    Re:Kernel Q

    [quote author=pbharris link=board=12;threadid=7662;start=0#msg69898 date=1062258187]
    hi stryder,
    as far as i am aware the source for all processors is distributed with the main source code - as far as removing stuff you don't need i think that would be tough and not net you very much, the kernel components (e.g. networking, firewall, sound, etc...) take up the most space.
    [/quote]

    That's what I was afraid of. Oh, well. It's not like the source code takes up all that much space. I was just trying to find areas where I could conserve a little bit of space. Thanks man!

    Cheers

  4. #4
    Senior Member
    Join Date
    Sep 2002
    Posts
    421

    Re:Kernel Q

    What you could do is to remove the unpacked source tree altogether after you're done compiling (and probably just leave the tar ball there) and install the kernel header files only. That way you can still compile other software that needs the kernel headers but you don't have the almost 200MB of the complete source tree hanging around on your disk.

    Oh, you might want to save the /usr/src/linux/.config file, though.

  5. #5
    Moderator
    Kind Mastermind
    stryder144's Avatar
    Join Date
    Aug 2001
    Location
    Denver, CO
    Posts
    2,926

    Re:Kernel Q

    [quote author=demian link=board=12;threadid=7662;start=0#msg69901 date=1062259363]
    What you could do is to remove the unpacked source tree altogether after you're done compiling (and probably just leave the tar ball there) and install the kernel header files only. That way you can still compile other software that needs the kernel headers but you don't have the almost 200MB of the complete source tree hanging around on your disk.

    Oh, you might want to save the /usr/src/linux/.config file, though.
    [/quote]

    Sounds like a good suggestion. I'll give it a go. Thanks.

    Cheers

  6. #6

    Re:Kernel Q

    also there is the arch directory where you can delete everything but your arch, prolly i386. it'll save you a good 30MB

Similar Threads

  1. Kernel 2.4.20 is out
    By Ashcrow in forum General Chat
    Replies: 19
    Last Post: 12-09-2002, 07:38 AM
  2. kernel
    By rwtoften in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 05-29-2002, 08:48 PM
  3. Kernel 2.4.18
    By johnqpublic in forum Linux - General Topics
    Replies: 0
    Last Post: 04-28-2002, 05:25 AM
  4. kernel.org ?
    By civ1492 in forum General Chat
    Replies: 4
    Last Post: 12-04-2001, 11:46 AM
  5. Kernel 2.4.8 is out!
    By johnqpublic in forum Linux - General Topics
    Replies: 2
    Last Post: 08-12-2001, 01:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •