Re: Question about the ln command

From: Alden Louis-Pierre (alden.pierre_at_verizon.net)
Date: 08/08/03

  • Next message: Tadimeti Keshav: "Fwd: installation problems (partitioning)"
    Date: Thu, 07 Aug 2003 22:04:31 -0400
    To: Nathan Grant <nateg@laundered.net>
    
    

    Nathan Grant wrote:

    >>Hello Everyone,
    >>
    >> I've just installed FreeBSD 4.8. I must say installing
    >>FreeBSD is
    >>fairly easy. I've manage to dual boot with Win2K and FreeBSD.
    >>I'm now in the process of trying to configuring my kernel and
    >>getting my
    >>ports directory up to date via cvsup. I've notice while
    >>reading the FreeBSD HandBook 2nd Edition p.178 it was
    >>suggested to copy
    >>the kernel file to the root directory. Configuring the kernel
    >>seems to be straight forward. The problem I have is the following:
    >>
    >>*cd /usr/src/sys/i386/conf
    >>mkdir /root/kernels
    >>cp GENERIC /root/kernels/MYKERNEL
    >>ln -s /root/kernels/MYKERNEL*
    >>
    >>I have a problem with the last command. From my understanding and
    >>reading through the man pages should it the *ln* command take in 3
    >>paramaters
    >>(*ln [option] [source] [dest]*) ? Is it even possible to create a
    >>symbolic link with so few parameters?
    >>
    >>
    >>
    >Yes, it is. With source as the only argument to ln, it makes a link in
    >the current directory with the name of the source file. So, if your pwd
    >was /usr/src/sys/i386/conf and you committed the last command on that
    >list, it would create a link /usr/src/sys/i386/conf/MYKERNEL ->
    >/root/kernels/MYKERNEL
    >The destination argument is useful for overriding this behavior, but it
    >is not necessary.
    >
    >HTH,
    >Nathan Grant
    >
    >
    >>_______________________________________________
    >>freebsd-newbies@freebsd.org mailing list
    >>http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    >>To unsubscribe, send any mail to
    >>"freebsd-newbies-unsubscribe@freebsd.org"
    >>
    >>
    >>
    >
    >_______________________________________________
    >freebsd-newbies@freebsd.org mailing list
    >http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    >To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
    >
    >
    >
        Ok, so then why is when I do ls -la /root/kernels/ why does it
    MYKERNEL under the /root/kernels directory show it's pointer to
    /usr/src/sys/i386/conf/MYKERNEL? I know that /home is symbolic link to
    /usr/home and displays where it points to with /root/kernels/MYKERNEL,
    I don't see this. Am I being a little to analytical?

    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Tadimeti Keshav: "Fwd: installation problems (partitioning)"

    Relevant Pages

    • Integrated Intel Ethernet works with generic kernel, but not mine...
      ... A few weeks back I installed FreeBSD 5.0-RELEASE on my laptop to ... The generic kernel created by the installer produced ...
      (freebsd-questions)
    • RE: Question about the ln command
      ... > I've just installed FreeBSD 4.8. ... > the kernel file to the root directory. ... To unsubscribe, ...
      (freebsd-newbies)
    • FreeBSD Status report for Oct-Dec 2003
      ... Bluetooth stack for FreeBSD ... Not much to report. ... Bluetooth kernel modules appear to be stable. ... concerns and some src committers are willing to commit the patches. ...
      (freebsd-current)
    • FreeBSD Status Report for Oct-Dec 2003
      ... Bluetooth stack for FreeBSD ... Not much to report. ... Bluetooth kernel modules appear to be stable. ... concerns and some src committers are willing to commit the patches. ...
      (freebsd-hackers)
    • FreeBSD Status Report for Oct-Dec 2003
      ... Bluetooth stack for FreeBSD ... Not much to report. ... Bluetooth kernel modules appear to be stable. ... concerns and some src committers are willing to commit the patches. ...
      (freebsd-stable)