Subject: Re: Inconsistent ldd(1) output
To: Jared D. McNeill <jmcneill@invisible.ca>
From: Bang Jun-Young <junyoung@netbsd.org>
List: current-users
Date: 12/27/2002 02:11:26
On Thu, Dec 26, 2002 at 12:53:24PM -0400, Jared D. McNeill wrote:
> Something doesn't make sense here. Shouldn't these two error messages be
> the same:
> sirius:/usr$ ldd bin sbin
> bin:
> bin: Permission denied
> bin: exit status 1
> ldd: sbin: read error: Operation not supported by device
>
> The directories look identical to me.
> sirius:/usr$ ls -ldo bin sbin
> drwxr-xr-x 2 root wheel - 6656 Dec 25 11:58 bin
> drwxr-xr-x 2 root wheel - 4096 Dec 25 11:58 sbin
>
> What am I missing? Or is my filesystem just trashed?
On my machine:
$ cd /usr
$ ldd bin sbin
ldd: bin: read error: Operation not supported by device
ldd: sbin: read error: Operation not supported by device
$ ls -ldo bin sbin
drwxr-xr-x 2 root wheel - 6144 Dec 9 09:06 bin
drwxr-xr-x 2 root wheel - 4096 Dec 16 03:33 sbin
Hmm...
Jun-Young
--
Bang Jun-Young <junyoung@netbsd.org>