[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

Colin Guthrie mageia at colin.guthr.ie
Tue Jul 24 18:33:03 CEST 2012


'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!

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list