Re: Would like a way to silent ln "warning: making a hard link to a symb
From:
Jim Meyering
Subject:
Re: Would like a way to silent ln "warning: making a hard link to a symbolic link is not portable"
Date:
Thu, 19 Jun 2003 13:41:59 +0200
Paul Eggert <address@hidden> wrote:
> address@hidden writes:
>
>> I have found a linux-specific use for this in my boot scripts, and would
>> like to be able to see other errors from ln without cluttering up the
>> boot process with this one.
>
> How about if we just remove the warning instead? It annoys me too.
> I often use hard links to symlinks. (I know they're not portable,
> so I don't need a warning. :-)
>
> Solaris 'ln' doesn't warn in this case, and I think it's reasonable
> not to warn by default. There are lots of nonportable things in the
> GNU core utilities, so why warn about this usage in particular?
Ok. I have mixed feelings about it, but
have just disabled that warning altogether.
Does anyone think it's worth adding an option to enable
(or even disable) the warning?