On 1/29/2010 2:38 PM, Hans Ulrich Niedermann wrote:
On Fri, 29 Jan 2010 09:32:15 +0100
Ralf Corsepius<rc040203(a)freenet.de> wrote:
> Presuming /sbin/lspci is supposed to work without having /usr/
> mounted, then libpci.so.X needs to reside in /lib|/lib64.
>
> Or differently: Everything in /bin and /sbin, must only be
> dynamically linked against libraries in /lib|/lib64. The fact lspci
> is linked against /usr/{lib|lib64}/libpci.so.X is a defect.
>
I agree.
For the record, the same issue applies to /sbin/lsusb
and /usr/lib/libusb-0.1.so.4.
I have not checked whether there are other cases.
What if we link the lspci and lsusb as static binaries? That would allow
us not to break the filesystem architecture and have usable tools.
--
Best regards
Sergey Rudchenko