Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] /bin and /sbin to /usr
Date: Tue, 10 Aug 2010 21:00:52
Message-Id: AANLkTinmJ5vQbs7i7N+_JxWyhMOn8utcTkigf_7H=VkA@mail.gmail.com
In Reply to: [gentoo-dev] /bin and /sbin to /usr by Eray Aslan
1 On Tue, Aug 10, 2010 at 7:22 AM, Eray Aslan wrote:
2 > net-firewall/iptables-1.4.6 /sbin/iptables-multi
3 >        linux-vdso.so.1 =>  (0x00007fffc77e8000)
4 >        libip4tc.so.0 => /usr/lib/libip4tc.so.0 (0x00007f27e4781000)
5 >        libxtables.so.4 => /usr/lib/libxtables.so.4 (0x00007f27e4579000)
6 >        libm.so.6 => /lib/libm.so.6 (0x00007f27e42f8000)
7 >        libc.so.6 => /lib/libc.so.6 (0x00007f27e3f9f000)
8 >        libdl.so.2 => /lib/libdl.so.2 (0x00007f27e3d9b000)
9 >        /lib64/ld-linux-x86-64.so.2 (0x00007f27e4988000)
10
11 file a bug. probably an oversight on my part.
12
13 > sys-apps/hal-0.5.14-r2 /sbin/umount.hal
14 >        linux-vdso.so.1 =>  (0x00007fff6b5f3000)
15 >        libhal.so.1 => /usr/lib/libhal.so.1 (0x00007fd52e637000)
16 >        libhal-storage.so.1 => /usr/lib/libhal-storage.so.1 (0x00007fd52e42c000)
17 >        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fd52e1ec000)
18 >        libc.so.6 => /lib/libc.so.6 (0x00007fd52de93000)
19 >        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fd52dc77000)
20 >        librt.so.1 => /lib/librt.so.1 (0x00007fd52da6e000)
21 >        /lib64/ld-linux-x86-64.so.2 (0x00007fd52e848000)
22
23 file a bug. hal places its umount binary in / only because
24 historically, `mount` has been stupid and only searched that path, not
25 because it was needed "early". since ive fixed util-linux though, the
26 hal mount helpers should be moved to /usr.
27
28 > 2. Is the below acceptable? (symlinking from /bin to /usr/bin)
29
30 it depends
31
32 > # ls -l $(find {/bin,/sbin}/ -type l)|grep /usr
33 > lrwxrwxrwx 1 root root 20 Oct 28  2008 /bin/igawk ->
34 > /usr/bin/igawk-3.1.6
35 > lrwxrwxrwx 1 root root 20 Oct 28  2008 /bin/pgawk ->
36 > /usr/bin/pgawk-3.1.6
37
38 file a bug so i can fix gawk
39
40 > lrwxrwxrwx 1 root root 14 Aug 10 13:29 /bin/mail -> /usr/bin/mailx
41
42 /bin/mail is kept for compatibility with random admin scripts (both
43 packaged and custom). not a big deal as anyone who needs to send mail
44 isnt going to have /usr missing. i'd forget about this and work on
45 something else.
46 -mike

Replies

Subject Author
Re: [gentoo-dev] /bin and /sbin to /usr Eray Aslan <eray.aslan@×××××××.tr>