Hi

Darren Pilgrim wrote:
>
> What was done to programs like /bin/sh, /sbin/init and /sbin/fsck to
> make them work without access to /usr/lib?

All the libs required for /bin or /sbin have moved to /lib. Like this:

> cd /bin

> file sh
sh: ELF 64-bit MSB executable, SPARC V9, version 1 (FreeBSD), for FreeBSD
5.0.1, dynamically linked (uses shared libs), stripped

> ldd sh
sh:
        libedit.so.4 => /lib/libedit.so.4 (0x40348000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x40462000)
        libc.so.5 => /lib/libc.so.5 (0x405c4000)


Notice that sh is dynamicly linked to stuff in /lib.

 __  __           _
|  \/  | __ _ ___| |_ __ _
| |\/| |/ _` / __| __/ _` |
| |  | | (_| \__ \ || (_| |
|_|  |_|\__,_|___/\__\__,_|

unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep


[EMAIL PROTECTED]
http://wifibsd.org



_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to