Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 11:22:54 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Garrett Cooper <yaneurabeya@gmail.com>
Cc:        John Baldwin <jhb@freebsd.org>, Justin Hibbits <chmeeedalf@gmail.com>,  Alan Somers <asomers@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf
Message-ID:  <CANCZdfor8W_r3dSUDwW=aVVNRFmz3ZZYivWEEpnh-Ki9URMm9w@mail.gmail.com>
In-Reply-To: <16BC7A31-39F3-4CFE-A6DA-5187FB154FA4@gmail.com>
References:  <201904201251.x3KCp6it044898@repo.freebsd.org> <CAHSQbTDfj5_-N69UyCpdfqAH=vAW%2BUA3C%2Bm%2BPyBXYsmxEZQOGg@mail.gmail.com> <CAOtMX2jPjfmMJz-Mbw7-Dti=YsTHLj%2BH3BEiX3Xr1NZza0HPAg@mail.gmail.com> <CAHSQbTAnsvNvzKABdXpXFtoWhV%2BcoK6oqJctzJodfYALz2_tgA@mail.gmail.com> <5bf4a702-7df8-5597-25b0-55baa71d1d4f@FreeBSD.org> <16BC7A31-39F3-4CFE-A6DA-5187FB154FA4@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 20, 2019, 10:46 AM Enji Cooper <yaneurabeya@gmail.com> wrote:

>
>
> > On Apr 20, 2019, at 9:44 AM, John Baldwin <jhb@FreeBSD.org> wrote:
> >
> > On 4/20/19 6:23 AM, Justin Hibbits wrote:
> >> On Sat, Apr 20, 2019, 08:21 Alan Somers <asomers@freebsd.org> wrote:
> >>
> >>> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits <chmeeedalf@gmail.com>
> >>> wrote:
> >>>>
> >>>>
> >>>>
> >>>> On Sat, Apr 20, 2019, 07:51 Alan Somers <asomers@freebsd.org> wrote:
> >>>>>
> >>>>> Author: asomers
> >>>>> Date: Sat Apr 20 12:51:05 2019
> >>>>> New Revision: 346441
> >>>>> URL: https://svnweb.freebsd.org/changeset/base/346441
> >>>>>
> >>>>> Log:
> >>>>>  Use symlinks for kernel modules rather than hardlinks
> >>>>>
> >>>>>  When aliasing a kernel module to a different name (ie if_igb for
> >>> if_em),
> >>>>>  it's better to use symlinks than hard links. kldxref will omit
> >>> entries for
> >>>>>  the links, ensuring that the loaded module has the correct name.
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>> Thanks! This should fix installkernel on my POWER9.
> >>>>
> >>>> - Justin
> >>>
> >>> What's the problem with your POWER9?  Is that one of those msdosfs
> >>> /boot systems?  If so, I don't think this will fix it.  msdosfs
> >>> doesn't support either symlinks or hardlinks.  Or is there some other
> >>> problem?
> >>> -Alan
> >>>
> >>
> >> Yes it is.  Well that's a bummer then. I thought we faked symlinks on
> >> msdosfs, but on second thought not sure how well would do that.
> >
> > You could just use cp instead of a link?
>
> *eyes `install -l`*:
>
>      -l linkflags
>              Instead of copying the file make a link to the source.  The
> type
>              of the link is determined by the linkflags argument.  Valid
>              linkflags are: a (absolute), r (relative), h (hard), s
>              (symbolic), m (mixed).  Absolute and relative have effect only
>              for symbolic links.  Mixed links are hard links for files on
> the
>              same filesystem, symbolic otherwise.
>

None of those are helpful. Better to just not do the link for a system we
don't the compat links for....

Warner

Cheers,
> -Enji
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfor8W_r3dSUDwW=aVVNRFmz3ZZYivWEEpnh-Ki9URMm9w>