[BusyBox] smb mounting

Robert Schwebel robert at schwebel.de
Wed Oct 31 03:46:09 UTC 2001


On Wed, 31 Oct 2001, Erik Andersen wrote:
> [andersen at sage busybox]$ ll /usr/bin/smbmount
> -rwsr-xr-x    1 root     root         400k Oct 15 09:43
> /usr/bin/smbmount*

Might be reduced by compiling against uClibc. glibc makes extremely large
binaries sometimes...

> [andersen at sage busybox]$ ldd /usr/bin/smbmount
>         libcups.so.2 => /usr/lib/libcups.so.2 (0x40020000)
>         libdl.so.2 => /lib/libdl.so.2 (0x40038000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4003c000)
>         libpam.so.0 => /lib/libpam.so.0 (0x40052000)
>         libc.so.6 => /lib/libc.so.6 (0x4005a000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4017c000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

libcups is for printing, perhaps this can be made a switchable option (why
should a mount command be able to print something?). libnsl comes in in
lots of applications only because they need gethostbyname(). Changing the
rule in the configure script slightly (AC_SEARCH_LIBS(gethostbyname, nsl))
makes it recognize that this function is already in uClibc. Might be worth
a try.

Robert
-- 
 +--------------------------------------------------------+
 |             Dipl.-Ing. Robert Schwebel                 |
 |      Linux Solutions for Science and Industry          |
 |  Braunschweiger Straße 79, 31134 Hildesheim, Germany   |
 |     Phone: +49-5121-28619-0  Fax: +49-5121-28619-4     |
 +--------------------------------------------------------+







More information about the busybox mailing list