[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions
Anssi Hannula
anssi at mageia.org
Fri Jul 27 17:17:04 CEST 2012
24.07.2012 19:33, Colin Guthrie kirjoitti:
> 'Twas brillig, and Olivier Blin at 24/07/12 17:30 did gyre and gimble:
>> Thierry Vignaud <thierry.vignaud at gmail.com> writes:
>>
>>> On 24 July 2012 11:28, Colin Guthrie <mageia at colin.guthr.ie> wrote:
>>>>> Some links were broken in / (they work only if cwd is /):
>>>>>
>>>>> -lrwxrwxrwx 1 root root 7 Gou 24 08:30 bin -> usr/bin
>>>>> +lrwxrwxrwx 1 root root 8 Gou 24 08:42 bin -> /usr/bin
>>>>>
>>>>> -lrwxrwxrwx 1 root root 7 Gou 24 08:30 lib -> usr/lib
>>>>> -lrwxrwxrwx 1 root root 9 Gou 24 08:30 lib64 -> usr/lib64
>>>>> +lrwxrwxrwx 1 root root 8 Gou 24 08:42 lib -> /usr/lib
>>>>> +lrwxrwxrwx 1 root root 10 Gou 24 08:42 lib64 -> /usr/lib64
>>>>>
>>>>> -lrwxrwxrwx 1 root root 8 Gou 24 08:30 sbin -> usr/sbin
>>>>> +lrwxrwxrwx 1 root root 9 Gou 24 08:42 sbin -> /usr/sbin
>>>>>
>>>>> Note the missing leading "/"...
>>>>
>>>> Yup this is intentional. There is no need to a leading /. IMO this is
>>>> just a bash bug:
>>>>
>>>> e.g.
>>>>
>>>> mkdir -p foo/usr/bin
>>>> ln -snf usr/bin foo/bin
>>>> ls -l foo/
>>>>
>>>> The above is no different and works fine.
>>>
>>> yes that's a ls bug that display them as broken
>>
>> Maybe this one?
>> http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6124a3842dfa8484b52e067a8ab8105c3875a4f7
>
> Certainly sounds like it!
Applied.
--
Anssi Hannula
More information about the Mageia-dev
mailing list