building a 2.6 kernel

Timothy Murphy tim at birdsnest.maths.tcd.ie
Tue Aug 3 20:47:12 UTC 2004


Robert P. J. Day wrote:

> if you insist on using /usr, you take a chance on filling that up if
> you're not careful and ... i don't know ... maybe something bad
> happens.  more generally, if you insist on messing with kernels as
> root, you just *know* that, eventually, you're going to do something
> silly with that root privilege.  we've all done it.  well, ok, maybe
> alexander dalloz hasn't.  but the rest of us have. :-)

(1) I've already said that I always compile the kernel as myself.
===========================================
[tim at william modules]$ ls -ls /usr/src
total 34348
    4 drwxr-xr-x   2 tim  tim      4096 Aug  2 22:08 kernel-configs
    4 drwxr-xr-x   2 tim  tim      4096 Jul 31 14:34 kernel-patches
    4 drwxr-xr-x  19 root root     4096 Jul 31 13:05 linux-2.6.5-1.358
    4 drwxr-xr-x  19 tim  tim      4096 Aug  2 22:56 linux-2.6.7
34312 -rw-rw-r--   1 tim  tim  35092228 Jul 31 14:30 linux-2.6.7.tar.bz2
   16 drwx------   2 root root    16384 Jul 31 11:37 lost+found
    4 drwxr-xr-x   7 root root     4096 Apr 16 21:34 redhat
===========================================

(2) I actually have a /usr/src partition,
so the disaster you envisage could not occur.
===========================================
[tim at william modules]$ cat /etc/mtab
/dev/hda3 / ext3 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda12 /archive ext3 rw 0 0
/dev/hda2 /boot ext3 rw 0 0
/dev/hda11 /home ext3 rw 0 0
/dev/hda8 /opt ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda5 /usr ext3 rw 0 0
/dev/hda7 /usr/local ext3 rw 0 0
/dev/hda6 /usr/share ext3 rw 0 0
/dev/hda9 /usr/src ext3 rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
===========================================

>> In my view it is about the 99th most important thing to remember.
> 
> cool.  and the other 98 are?  oh, wait ... i'll bet that was
> hyperbole.

(i) Check grub.conf to see if Fedora has screwed it up
with erroneous LABELs.

Rest available on request.

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland





More information about the fedora-list mailing list