Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I use FC2 on my computer, and i have upgrade my kernel to 2.6.9. my kernel source is on /usr/src/linux-2.6.9 after compiling i do make clean to reduce the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2004
    Posts
    10

    Removing kernel source under /usr/src/linux


    Hi,
    I use FC2 on my computer, and i have upgrade my kernel to 2.6.9.
    my kernel source is on /usr/src/linux-2.6.9
    after compiling i do
    make clean
    to reduce the size but its size still big about 233MB.
    is it safe to remove all of my kernel source file in /usr/src/linux-2.6.9/?

    help me urgent...
    thanx....

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    i don't think that should be a problem. Perhaps a PITA in the long run, but it shouldn't cause trouble with your system
    -lakerdonald

  3. #3
    Just Joined!
    Join Date
    Nov 2004
    Posts
    10
    Quote Originally Posted by lakerdonald
    i don't think that should be a problem. Perhaps a PITA in the long run, but it shouldn't cause trouble with your system
    -lakerdonald
    thanx...
    how about the link in /lib/modules/2.6.9

    lrwxrwxrwx 1 root root 20 Nov 11 13:03 build -> /usr/src/linux-2.6.9
    drwxr-xr-x 8 root root 4096 Nov 11 13:03 kernel
    -rw-r--r-- 1 root root 37718 Nov 11 13:03 modules.dep
    -rw-r--r-- 1 root root 31 Nov 11 13:03 modules.generic_string
    -rw-r--r-- 1 root root 73 Nov 11 13:03 modules.ieee1394map
    -rw-r--r-- 1 root root 81 Nov 11 13:03 modules.isapnpmap
    -rw-r--r-- 1 root root 29 Nov 11 13:03 modules.parportmap
    -rw-r--r-- 1 root root 99 Nov 11 13:03 modules.pcimap
    -rw-r--r-- 1 root root 24 Nov 11 13:03 modules.pnpbiosmap
    -rw-r--r-- 1 root root 189 Nov 11 13:03 modules.usbmap
    lrwxrwxrwx 1 root root 20 Nov 11 13:03 source -> /usr/src/linux-2.6.9

    do you think that it shouldn't be a problem?
    what do you mean with PITA..?

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    PITA = Pain in the Ass

  5. #5
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    The link in /lib/modules/2.6.9 is used when building out-of-tree kernel modules. If you plan to build any such, you'll need the kernel source. If you don't plan to build any such, there's no danger in removing them. You may want to save the .config file, though.

Posting Permissions

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