Upgrading ncurses+lynx+vim+samba software on Western Digital MyBook WorldII

It happened I use this 2x1TB disk drive NAS as a fileserver (MyBookWorldII with blue rings). It is based on Linux 2.6 with underlying ext3 filesystem. The hardware is bundled with lousy installation booklett, in several dozens of language translation but each spanning just about 5 pages. It does not tell you anything what the Mionet software is doing which pops up when you insert the driver CD into your computer and you just get scared when you install it and it tells you some extra features are available only for 30 days unless you purchase full version. Get rid of it, you won't need it. The machine runs a light webserver with mod_perl. It does not startup on the network unless it receives an IP address from a DHCP server. Something what should have been mentioned in the docs. It does not fallback to an IP address from a private network, like many other networked devices do, including home routers, cable modem, printservers, etc. It "firmware" cannot be upgraded as long as the drive is "busy". That means either the disks are being synchronized against each other (I have enabled RAID1), or somebody has mounted a share from the NAS or people say some network scripts do not restart properly and therefore block the software upgrade.

It took me a while to realize how to correctly turn on and most importantly, how to turn off the device using the round button in front, which you have to hold for a while to make the NAS shutdown. Anyway, after setting up the shared directories and user privileges, I could not mount some shares anymore. As I have started sshd on the machine I could login and have a look into the log files. It turned out samba processes were dying.

[2007/11/30 01:10:42, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 5560): substitutions failed
  
[2007/11/30 01:10:42, 0] lib/util.c:log_stack_trace(1749)
  unable to produce a stack trace on this platform
[2007/11/30 01:10:42, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/cores/smbd
[2007/11/30 01:10:55, 0] lib/util.c:smb_panic(1592)
  PANIC (pid 5563): substitutions failed
  
[2007/11/30 01:10:55, 0] lib/util.c:log_stack_trace(1749)
  unable to produce a stack trace on this platform
[2007/11/30 01:10:55, 0] lib/fault.c:dump_core(173)
  dumping core in /var/log/cores/smbd

Therefore I decided to upgrade samba from 3.0.23c to current 3.0.27a. It is was NOT straightforward, at all.

To compile from sources you need some libraries and header files. For example, ncurses-5.5 and zlib-1.2.3 are installed in /lib as shared libraries, but no header files are available. Presence of the shared libs fooled some configure scripts so I had to report bugs in configure of file-4.21 and lynx-2.8.7dev7. Here is a simple script which do do all that for you. Or download the compiled source trees with binaries from my site.

#! /bin/sh
mkdir /scratch
cd /scratch
wget http://us1.samba.org/samba/ftp/samba-latest.tar.gz
wget http://www.uclibc.org/downloads/uClibc-0.9.29.tar.bz2
wget ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-4.2.2/gcc-4.2.2.tar.bz2
wget http://www.uclibc.org/downloads/root_fs_arm.ext2.bz2
wget http://buildroot.uclibc.org/downloads/snapshots/buildroot-20071130.tar.bz2
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz 
wget ftp://ftp.vim.org/pub/vim/unix/vim-7.1.tar.bz2
wget ftp://ftp.astron.com/pub/file/file-4.21.tar.gz
wget http://www.gzip.org/zlib/zlib-1.2.3.tar.bz2
wget http://lynx.isc.org/current/lynx2.8.7dev.7.tar.bz2
wget http://ribosome.natur.cuni.cz/~mmokrejs/MyBookWorldII/samba-3.0.27a_sources_include_config_h.patch

for f in *.gz; do gzip -dc $f | tar xf - ; done
for f in *.bz2; do bzip2 -dc $f | tar xf - ; done
cd ncurses-5.6
./configure
make
make install
cd ../vim71
./configure --prefix=/usr
make
make install
cd ../lynx2-8-7
./configure --prefix=/usr
make
make install

cd ../samba-3.0.28a
CFLAGS="$CFLAGS -O2 -g0 -static" ./configure --with-smbmount --with-cifsmount --disable-cups --disable-iprint --without-pam --without-ads --without-ldap --without-dce-dfs --enable-socket-wrapper
echo "Patching sources/include/config.h because this platform does not provide functional stdio.h. Otherwise you would get unresolved 'stdout' symbol while executing the resulting samba binaries. e.g. \"/usr/local/bin/smbclient: can't resolve symbol 'stdout'\"."
patch -p1 < ../samba-3.0.27a_sources_include_config_h.patch
make

Using FLAGS      =  -O2 -g0 -static -D_SAMBA_BUILD_=3 -I/scratch/samba-3.0.28a/source/popt -I/scratch/samba-3.0.28a/source/iniparser/src -Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H  -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE    -I/scratch/samba-3.0.28a/source/lib -D_SAMBA_BUILD_=3
      PICFLAG    = 
      LIBS       = -lcrypt -lresolv -ldl
      LDFLAGS    = 
      DYNEXP     = -Wl,--export-dynamic
      LDSHFLAGS  = shared-libraries-disabled 
      SHLIBEXT   = shared_libraries_disabled
      SONAMEFLAG = shared-libraries-disabled

make test
/etc/init.d/samba.sh stop
cp -r /usr/local/samba /usr/local/samba-3.0.23c
# installs /into /usr/local/samba , the /etc/init.d/samba.sh fortunately takes care of the different paths to config files
make install
cd /usr/local/samba/lib
ln -s ../../../../var/oxsemi/smb.conf .
/etc/init.d/samba.sh start

What to do after you buy it?
Startup some DHCP server on your network and after the machine picks up some IP address, install sshd on it, login into it, shutdown MioNet and lighthttpd to save memory (passwords are in /var/private/lighttpd.htdigest.user, look also for /etc/lighttpd/lighttpd.conf and /etc/init.d/lighttpd.sh and /usr/sbin/lighttpd).

cd /etc/init.d/

# comment-out lines starting/stopping mionet serverice
vi /etc/init.d/post_network_start.sh /etc/hotplug/block.agent

/etc/init.d/mionet.sh stop
/etc/init.d/lighttpd.sh stop
echo "Edit the samba config file and define shared directories and permissions manually"
vi /var/oxsemi/smb.conf 
vi /var/oxsemi/shares.inc 

What is available on the system when you buy it?

# ls -la /lib
total 1812
drwxr-xr-x  3 root root   4096 Mar 26  2007 .
drwxr-xr-x 22 root root   4096 Nov 30 01:34 ..
-rwxr-xr-x  1 root root  19536 Mar 26  2007 ld-uClibc-0.9.28.so
lrwxrwxrwx  1 root root     19 Mar  7  2002 ld-uClibc.so.0 -> ld-uClibc-0.9.28.so
lrwxrwxrwx  1 root root     19 Mar  7  2002 libc.so.0 -> libuClibc-0.9.28.so
-rw-r--r--  1 root root  11052 Mar 26  2007 libcrypt-0.9.28.so
lrwxrwxrwx  1 root root     18 Mar  7  2002 libcrypt.so.0 -> libcrypt-0.9.28.so
-rw-r--r--  1 root root   6912 Mar 26  2007 libdl-0.9.28.so
lrwxrwxrwx  1 root root     15 Mar  7  2002 libdl.so.0 -> libdl-0.9.28.so
lrwxrwxrwx  1 root root     13 Mar  7  2002 libfloat.so -> libfloat.so.1
-rw-r--r--  1 root root  92116 Nov 17  2006 libfloat.so.1
lrwxrwxrwx  1 root root     13 Mar  7  2002 libgcc_s.so -> libgcc_s.so.1
-rw-r--r--  1 root root  56338 Mar 26  2007 libgcc_s.so.1
-rw-r--r--  1 root root  82040 Mar 26  2007 libm-0.9.28.so
lrwxrwxrwx  1 root root     14 Mar  7  2002 libm.so.0 -> libm-0.9.28.so
lrwxrwxrwx  1 root root     15 Mar  7  2002 libncurses.so -> libncurses.so.5
lrwxrwxrwx  1 root root     17 Mar  7  2002 libncurses.so.5 -> libncurses.so.5.5
-rw-r--r--  1 root root 268484 Mar 26  2007 libncurses.so.5.5
-rw-r--r--  1 root root   1944 Mar 26  2007 libnsl-0.9.28.so
lrwxrwxrwx  1 root root     16 Mar  7  2002 libnsl.so.0 -> libnsl-0.9.28.so
-r-xr-xr-x  1 root root  48676 Mar 26  2007 libproc-3.2.5.so
-rw-r--r--  1 root root  87487 Mar 26  2007 libpthread-0.9.28.so
lrwxrwxrwx  1 root root     20 Mar  7  2002 libpthread.so.0 -> libpthread-0.9.28.so
-rw-r--r--  1 root root   1948 Mar 26  2007 libresolv-0.9.28.so
lrwxrwxrwx  1 root root     19 Mar  7  2002 libresolv.so.0 -> libresolv-0.9.28.so
-rw-r--r--  1 root root   3568 Mar 26  2007 librt-0.9.28.so
lrwxrwxrwx  1 root root     15 Mar  7  2002 librt.so.0 -> librt-0.9.28.so
lrwxrwxrwx  1 root root     18 Mar  7  2002 libstdc++.so -> libstdc++.so.6.0.2
lrwxrwxrwx  1 root root     18 Mar  7  2002 libstdc++.so.6 -> libstdc++.so.6.0.2
-rwxr-xr-x  1 root root 534276 Mar 26  2007 libstdc++.so.6.0.2
-rw-r--r--  1 root root  11440 Mar 26  2007 libthread_db-0.9.28.so
lrwxrwxrwx  1 root root     22 Mar  7  2002 libthread_db.so.1 -> libthread_db-0.9.28.so
-rw-r--r--  1 root root 317756 Mar 26  2007 libuClibc-0.9.28.so
-rw-r--r--  1 root root   4464 Mar 26  2007 libutil-0.9.28.so
lrwxrwxrwx  1 root root     17 Mar  7  2002 libutil.so.0 -> libutil-0.9.28.so
lrwxrwxrwx  1 root root     13 Mar  7  2002 libz.so -> libz.so.1.2.3
lrwxrwxrwx  1 root root     13 Mar  7  2002 libz.so.1 -> libz.so.1.2.3
-rw-r--r--  1 root root  75644 Mar 26  2007 libz.so.1.2.3
drwxr-xr-x  3 root root   4096 Mar 26  2007 modules
# ls -la /lib/modules/
total 24
drwxr-xr-x 3 root root 4096 Mar 26  2007 .
drwxr-xr-x 3 root root 4096 Mar 26  2007 ..
drwxr-xr-x 3 root root 4096 Mar 26  2007 2.6.17.14
# ls -la /lib/modules/2.6.17.14/
total 148
drwxr-xr-x 3 root root  4096 Mar 26  2007 .
drwxr-xr-x 3 root root  4096 Mar 26  2007 ..
lrwxrwxrwx 1 root root    49 Mar  7  2002 build -> /data/releases/v1.18/WD_v1.18/vendor/linux-kernel
drwxr-xr-x 7 root root  4096 Mar 26  2007 kernel
-rw-r--r-- 1 root root 10868 Mar 26  2007 modules.alias
-rw-r--r-- 1 root root    69 Mar 26  2007 modules.ccwmap
-rw-r--r-- 1 root root  2691 Mar 26  2007 modules.dep
-rw-r--r-- 1 root root    73 Mar 26  2007 modules.ieee1394map
-rw-r--r-- 1 root root   132 Mar 26  2007 modules.inputmap
-rw-r--r-- 1 root root    81 Mar 26  2007 modules.isapnpmap
-rw-r--r-- 1 root root    99 Mar 26  2007 modules.pcimap
-rw-r--r-- 1 root root    43 Mar 26  2007 modules.seriomap
-rw-r--r-- 1 root root  8111 Mar 26  2007 modules.symbols
-rw-r--r-- 1 root root 28244 Mar 26  2007 modules.usbmap
lrwxrwxrwx 1 root root    49 Mar  7  2002 source -> /data/releases/v1.18/WD_v1.18/vendor/linux-kernel
# ls -la /data
/data: No such file or directory
# ls -la /usr/include
total 1952
drwxr-xr-x 12 root root   4096 Mar 26  2007 ..
-rw-r--r--  1 root root     83 Aug 18  2005 a.out.h
-rw-r--r--  1 root root   1289 Aug 18  2005 alloca.h
-rw-r--r--  1 root root  11469 Mar 26  2007 ansidecl.h
-rw-r--r--  1 root root   1792 Aug 18  2005 ar.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 arpa
drwxr-xr-x 25 root root   4096 Mar 26  2007 asm
drwxr-xr-x 25 root root   4096 Mar 26  2007 asm-arm
-rw-r--r--  1 root root   2269 Aug 18  2005 assert.h
-rw-r--r--  1 root root   8268 Aug 18  2005 atomic.h
-rw-r--r--  1 root root 157315 Mar 26  2007 bfd.h
-rw-r--r--  1 root root  27145 Mar 26  2007 bfdlink.h
drwxr-xr-x  2 root root   4096 Mar 26  2007 bits
-rw-r--r--  1 root root   1489 Aug 18  2005 byteswap.h
drwxr-xr-x  7 root root   4096 Mar 26  2007 c++
-rw-r--r--  1 root root   3344 Aug 18  2005 complex.h
-rw-r--r--  1 root root   2381 Aug 18  2005 cpio.h
-rw-r--r--  1 root root   1347 Aug 18  2005 crypt.h
-rw-r--r--  1 root root  13231 Aug 18  2005 ctype.h
-rw-r--r--  1 root root   8380 Aug 18  2005 dirent.h
-rw-r--r--  1 root root  14981 Mar 26  2007 dis-asm.h
-rw-r--r--  1 root root   3102 Aug 18  2005 dlfcn.h
-rw-r--r--  1 root root 115083 Aug 18  2005 elf.h
-rw-r--r--  1 root root   2112 Aug 18  2005 endian.h
-rw-r--r--  1 root root   2376 Aug 18  2005 err.h
-rw-r--r--  1 root root   2492 Aug 18  2005 errno.h
-rw-r--r--  1 root root   2731 Aug 18  2005 error.h
-rw-r--r--  1 root root   5880 Aug 18  2005 fcntl.h
-rw-r--r--  1 root root  15301 Aug 18  2005 features.h
-rw-r--r--  1 root root   2998 Aug 18  2005 fnmatch.h
-rw-r--r--  1 root root   3848 Aug 18  2005 fpu_control.h
-rw-r--r--  1 root root   4347 Aug 18  2005 ftw.h
-rw-r--r--  1 root root     90 Aug 18  2005 getopt.h
-rw-r--r--  1 root root   7785 Aug 18  2005 glob.h
-rw-r--r--  1 root root   2416 Aug 18  2005 gnu-versions.h
-rw-r--r--  1 root root   4557 Aug 18  2005 grp.h
-rw-r--r--  1 root root   4982 Aug 18  2005 ieee754.h
-rw-r--r--  1 root root   8475 Aug 18  2005 inttypes.h
-rw-r--r--  1 root root  16442 Aug 18  2005 langinfo.h
-rw-r--r--  1 root root    126 Aug 18  2005 lastlog.h
-rw-r--r--  1 root root   1465 Aug 18  2005 libgen.h
-rw-r--r--  1 root root   4550 Aug 18  2005 limits.h
-rw-r--r--  1 root root   4137 Aug 18  2005 link.h
drwxr-xr-x 17 root root  20480 Mar 26  2007 linux
-rw-r--r--  1 root root   8745 Aug 18  2005 locale.h
-rw-r--r--  1 root root   5666 Aug 18  2005 malloc.h
-rw-r--r--  1 root root  13535 Aug 18  2005 math.h
-rw-r--r--  1 root root   1029 Aug 18  2005 memory.h
-rw-r--r--  1 root root   3465 Aug 18  2005 mntent.h
-rw-r--r--  1 root root   2969 Aug 18  2005 mqueue.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 net
drwxr-xr-x  2 root root   4096 Aug 18  2005 netax25
-rw-r--r--  1 root root  17255 Aug 18  2005 netdb.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 neteconet
drwxr-xr-x  2 root root   4096 Aug 18  2005 netinet
drwxr-xr-x  2 root root   4096 Aug 18  2005 netipx
drwxr-xr-x  2 root root   4096 Aug 18  2005 netpacket
-rw-r--r--  1 root root   1803 Aug 18  2005 nl_types.h
-rw-r--r--  1 root root  22896 Aug 18  2005 obstack.h
drwxr-xr-x  2 root root   4096 Mar 26  2007 openssl
-rw-r--r--  1 root root   3094 Aug 18  2005 paths.h
-rw-r--r--  1 root root     22 Aug 18  2005 poll.h
-rw-r--r--  1 root root   9218 Aug 18  2005 printf.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 protocols
-rw-r--r--  1 root root  25010 Aug 18  2005 pthread.h
-rw-r--r--  1 root root   1574 Aug 18  2005 pty.h
-rw-r--r--  1 root root   4495 Aug 18  2005 pwd.h
-rw-r--r--  1 root root  21615 Aug 18  2005 regex.h
-rw-r--r--  1 root root   6924 Aug 18  2005 regexp.h
-rw-r--r--  1 root root  14037 Aug 18  2005 resolv.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 rpc
-rw-r--r--  1 root root   2373 Aug 18  2005 sched.h
drwxr-xr-x  2 root root   4096 Aug 18  2005 scsi
-rw-r--r--  1 root root   5318 Aug 18  2005 search.h
-rw-r--r--  1 root root   2893 Aug 18  2005 semaphore.h
-rw-r--r--  1 root root   3829 Aug 18  2005 setjmp.h
-rw-r--r--  1 root root   1431 Aug 18  2005 sgtty.h
-rw-r--r--  1 root root   3382 Aug 18  2005 shadow.h
-rw-r--r--  1 root root  12428 Aug 18  2005 signal.h
-rw-r--r--  1 root root   8994 Aug 18  2005 stdint.h
-rw-r--r--  1 root root  29034 Aug 18  2005 stdio.h
-rw-r--r--  1 root root   2795 Aug 18  2005 stdio_ext.h
-rw-r--r--  1 root root  27117 Aug 18  2005 stdlib.h
-rw-r--r--  1 root root  16323 Aug 18  2005 string.h
-rw-r--r--  1 root root   2500 Aug 18  2005 strings.h
-rw-r--r--  1 root root   1897 Mar 26  2007 symcat.h
drwxr-xr-x  2 root root   4096 Mar 26  2007 sys
-rw-r--r--  1 root root     25 Aug 18  2005 syscall.h
-rw-r--r--  1 root root   5232 Aug 18  2005 sysexits.h
-rw-r--r--  1 root root     24 Aug 18  2005 syslog.h
-rw-r--r--  1 root root   3771 Aug 18  2005 tar.h
-rw-r--r--  1 root root    214 Aug 18  2005 termio.h
-rw-r--r--  1 root root   3529 Aug 18  2005 termios.h
-rw-r--r--  1 root root  16358 Aug 18  2005 tgmath.h
-rw-r--r--  1 root root  15261 Aug 18  2005 thread_db.h
-rw-r--r--  1 root root  14386 Aug 18  2005 time.h
-rw-r--r--  1 root root   2496 Aug 18  2005 ttyent.h
-rw-r--r--  1 root root   1226 Aug 18  2005 ucontext.h
-rw-r--r--  1 root root   1657 Aug 18  2005 ulimit.h
-rw-r--r--  1 root root  34298 Aug 18  2005 unistd.h
-rw-r--r--  1 root root   8347 Mar 26  2007 usb.h
-rw-r--r--  1 root root  24428 Mar 26  2007 usbpp.h
-rw-r--r--  1 root root     23 Aug 18  2005 ustat.h
-rw-r--r--  1 root root   1546 Aug 18  2005 utime.h
-rw-r--r--  1 root root   2920 Aug 18  2005 utmp.h
-rw-r--r--  1 root root   2093 Aug 18  2005 values.h
-rw-r--r--  1 root root     22 Aug 18  2005 wait.h
-rw-r--r--  1 root root  27893 Aug 18  2005 wchar.h
-rw-r--r--  1 root root  12847 Aug 18  2005 wctype.h
# ls -la /usr/lib
total 20888
drwxr-xr-x 12 root root    4096 Mar 26  2007 ..
-rw-r--r--  1 root root     844 Mar 26  2007 Scrt1.o
drwxr-xr-x  2 root root    4096 Mar 26  2007 awk
-rw-r--r--  1 root root     844 Mar 26  2007 crt1.o
-rw-r--r--  1 root root     814 Mar 26  2007 crti.o
-rw-r--r--  1 root root     814 Mar 26  2007 crtn.o
drwxr-xr-x  3 root root    4096 Mar 26  2007 gcc
drwxr-xr-x  2 root root    4096 Mar 26  2007 ldscripts
-rw-r--r--  1 root root  559130 Mar 26  2007 libbfd.a
lrwxrwxrwx  1 root root      22 Mar  7  2002 libblkid.so -> /usr/lib/libblkid.so.1
lrwxrwxrwx  1 root root      15 Mar  7  2002 libblkid.so.1 -> libblkid.so.1.0
-rwxr-xr-x  1 root root   25264 Mar 26  2007 libblkid.so.1.0
lrwxrwxrwx  1 root root      15 Mar  7  2002 libbz2.so -> libbz2.so.1.0.3
lrwxrwxrwx  1 root root      15 Mar  7  2002 libbz2.so.1.0 -> libbz2.so.1.0.3
-rwxr-xr-x  1 root root   74356 Mar 26  2007 libbz2.so.1.0.3
-rw-r--r--  1 root root 1022788 Mar 26  2007 libc.a
lrwxrwxrwx  1 root root      19 Mar  7  2002 libc.so -> ../../lib/libc.so.0
lrwxrwxrwx  1 root root       6 Mar  7  2002 libc_pic.a -> libc.a
lrwxrwxrwx  1 root root      24 Mar  7  2002 libcom_err.so -> /usr/lib/libcom_err.so.2
lrwxrwxrwx  1 root root      17 Mar  7  2002 libcom_err.so.2 -> libcom_err.so.2.1
-rwxr-xr-x  1 root root    6584 Mar 26  2007 libcom_err.so.2.1
-rw-r--r--  1 root root   13598 Mar 26  2007 libcrypt.a
lrwxrwxrwx  1 root root      23 Mar  7  2002 libcrypt.so -> ../../lib/libcrypt.so.0
lrwxrwxrwx  1 root root      10 Mar  7  2002 libcrypt_pic.a -> libcrypt.a
-rw-r--r--  1 root root 1866988 Mar 26  2007 libcrypto.a
lrwxrwxrwx  1 root root      18 Mar  7  2002 libcrypto.so -> libcrypto.so.0.9.7
lrwxrwxrwx  1 root root      18 Mar  7  2002 libcrypto.so.0 -> libcrypto.so.0.9.7
-rw-r--r--  1 root root  962288 Mar 26  2007 libcrypto.so.0.9.7
lrwxrwxrwx  1 root root      20 Mar  7  2002 libdevmapper.so -> libdevmapper.so.1.02
-rw-r--r--  1 root root   69101 Mar 26  2007 libdevmapper.so.1.02
lrwxrwxrwx  1 root root      16 Mar  7  2002 libdisk.so.0 -> libdisk.so.0.0.0
-rw-r--r--  1 root root   18716 Mar 26  2007 libdisk.so.0.0.0
-rw-r--r--  1 root root   20978 Mar 26  2007 libdl.a
lrwxrwxrwx  1 root root      20 Mar  7  2002 libdl.so -> ../../lib/libdl.so.0
lrwxrwxrwx  1 root root      20 Mar  7  2002 libe2p.so -> /usr/lib/libe2p.so.2
lrwxrwxrwx  1 root root      13 Mar  7  2002 libe2p.so.2 -> libe2p.so.2.3
-rwxr-xr-x  1 root root   18416 Mar 26  2007 libe2p.so.2.3
lrwxrwxrwx  1 root root      23 Mar  7  2002 libext2fs.so -> /usr/lib/libext2fs.so.2
lrwxrwxrwx  1 root root      16 Mar  7  2002 libext2fs.so.2 -> libext2fs.so.2.4
-rwxr-xr-x  1 root root   78192 Mar 26  2007 libext2fs.so.2.4
lrwxrwxrwx  1 root root      13 Mar  7  2002 libgcc_s.so -> libgcc_s.so.1
-rw-r--r--  1 root root   56158 Mar 26  2007 libgcc_s.so.1
lrwxrwxrwx  1 root root      18 Mar  7  2002 libhandle.so.1 -> libhandle.so.1.0.3
-rw-r--r--  1 root root    8808 Mar 26  2007 libhandle.so.1.0.3
-rw-r--r--  1 root root  416172 Mar 26  2007 libiberty.a
-rw-r--r--  1 root root  198860 Mar 26  2007 libm.a
lrwxrwxrwx  1 root root      19 Mar  7  2002 libm.so -> ../../lib/libm.so.0
lrwxrwxrwx  1 root root       6 Mar  7  2002 libm_pic.a -> libm.a
-rw-r--r--  1 root root     716 Mar 26  2007 libnsl.a
lrwxrwxrwx  1 root root      21 Mar  7  2002 libnsl.so -> ../../lib/libnsl.so.0
lrwxrwxrwx  1 root root       8 Mar  7  2002 libnsl_pic.a -> libnsl.a
-rw-r--r--  1 root root  621310 Nov  5  2006 libntfs.a
-rwxr-xr-x  1 root root     815 Nov  5  2006 libntfs.la
lrwxrwxrwx  1 root root      16 Mar  7  2002 libntfs.so -> libntfs.so.9.0.0
lrwxrwxrwx  1 root root      16 Mar  7  2002 libntfs.so.9 -> libntfs.so.9.0.0
-rwxr-xr-x  1 root root  237108 Mar 26  2007 libntfs.so.9.0.0
-rw-r--r--  1 root root   53242 Mar 26  2007 libopcodes.a
-rw-r--r--  1 root root  106810 Mar 26  2007 libpthread.a
lrwxrwxrwx  1 root root      25 Mar  7  2002 libpthread.so -> ../../lib/libpthread.so.0
lrwxrwxrwx  1 root root      12 Mar  7  2002 libpthread_pic.a -> libpthread.a
-rw-r--r--  1 root root     718 Mar 26  2007 libresolv.a
lrwxrwxrwx  1 root root      24 Mar  7  2002 libresolv.so -> ../../lib/libresolv.so.0
lrwxrwxrwx  1 root root      11 Mar  7  2002 libresolv_pic.a -> libresolv.a
-rw-r--r--  1 root root    9504 Mar 26  2007 librt.a
lrwxrwxrwx  1 root root      20 Mar  7  2002 librt.so -> ../../lib/librt.so.0
lrwxrwxrwx  1 root root       7 Mar  7  2002 librt_pic.a -> librt.a
lrwxrwxrwx  1 root root      19 Mar  7  2002 libss.so -> /usr/lib/libss.so.2
lrwxrwxrwx  1 root root      12 Mar  7  2002 libss.so.2 -> libss.so.2.0
-rwxr-xr-x  1 root root   18512 Mar 26  2007 libss.so.2.0
-rw-r--r--  1 root root  300022 Mar 26  2007 libssl.a
lrwxrwxrwx  1 root root      15 Mar  7  2002 libssl.so -> libssl.so.0.9.7
lrwxrwxrwx  1 root root      15 Mar  7  2002 libssl.so.0 -> libssl.so.0.9.7
-rw-r--r--  1 root root  178164 Mar 26  2007 libssl.so.0.9.7
-rw-r--r--  1 root root 4157208 Mar 26  2007 libstdc++.a
lrwxrwxrwx  1 root root      18 Mar  7  2002 libstdc++.so -> libstdc++.so.6.0.2
lrwxrwxrwx  1 root root      18 Mar  7  2002 libstdc++.so.6 -> libstdc++.so.6.0.2
-rwxr-xr-x  1 root root  534372 Mar 26  2007 libstdc++.so.6.0.2
-rw-r--r--  1 root root 4239076 Mar 26  2007 libstdc++_pic.a
-rw-r--r--  1 root root  314816 Mar 26  2007 libsupc++.a
-rw-r--r--  1 root root   37972 Mar 26  2007 libthread_db.a
lrwxrwxrwx  1 root root      27 Mar  7  2002 libthread_db.so -> ../../lib/libthread_db.so.1
lrwxrwxrwx  1 root root      14 Mar  7  2002 libthread_db_pic.a -> libthread_db.a
lrwxrwxrwx  1 root root      19 Mar  7  2002 libusb-0.1.so.4 -> libusb-0.1.so.4.4.4
-rwxr-xr-x  1 root root   28832 Mar 26  2007 libusb-0.1.so.4.4.4
lrwxrwxrwx  1 root root      19 Mar  7  2002 libusb.so -> libusb-0.1.so.4.4.4
lrwxrwxrwx  1 root root      21 Mar  7  2002 libusbpp-0.1.so.4 -> libusbpp-0.1.so.4.4.4
-rwxr-xr-x  1 root root   18512 Mar 26  2007 libusbpp-0.1.so.4.4.4
lrwxrwxrwx  1 root root      21 Mar  7  2002 libusbpp.so -> libusbpp-0.1.so.4.4.4
-rw-r--r--  1 root root    6560 Mar 26  2007 libutil.a
lrwxrwxrwx  1 root root      22 Mar  7  2002 libutil.so -> ../../lib/libutil.so.0
lrwxrwxrwx  1 root root       9 Mar  7  2002 libutil_pic.a -> libutil.a
lrwxrwxrwx  1 root root      21 Mar  7  2002 libuuid.so -> /usr/lib/libuuid.so.1
lrwxrwxrwx  1 root root      14 Mar  7  2002 libuuid.so.1 -> libuuid.so.1.2
-rwxr-xr-x  1 root root   11508 Mar 26  2007 libuuid.so.1.2
lrwxrwxrwx  1 root root      16 Mar  7  2002 libxcmd.so.0 -> libxcmd.so.0.0.0
-rw-r--r--  1 root root   26628 Mar 26  2007 libxcmd.so.0.0.0
lrwxrwxrwx  1 root root      15 Mar  7  2002 libxfs.so.0 -> libxfs.so.0.0.0
-rw-r--r--  1 root root  499152 Mar 26  2007 libxfs.so.0.0.0
lrwxrwxrwx  1 root root      16 Mar  7  2002 libxlog.so.0 -> libxlog.so.0.0.0
-rw-r--r--  1 root root   27540 Mar 26  2007 libxlog.so.0.0.0
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_access.la
-rwxr-xr-x  1 root root    4592 Mar 26  2007 mod_access.so
-rwxr-xr-x  1 root root     804 Mar 26  2007 mod_accesslog.la
-rwxr-xr-x  1 root root   12360 Mar 26  2007 mod_accesslog.so
-rwxr-xr-x  1 root root     780 Mar 26  2007 mod_alias.la
-rwxr-xr-x  1 root root    5536 Mar 26  2007 mod_alias.so
-rwxr-xr-x  1 root root     782 Mar 26  2007 mod_auth.la
-rwxr-xr-x  1 root root   21200 Mar 26  2007 mod_auth.so
-rwxr-xr-x  1 root root     768 Mar 26  2007 mod_cgi.la
-rwxr-xr-x  1 root root   16456 Mar 26  2007 mod_cgi.so
-rwxr-xr-x  1 root root     768 Mar 26  2007 mod_cml.la
-rwxr-xr-x  1 root root    7648 Mar 26  2007 mod_cml.so
-rwxr-xr-x  1 root root     804 Mar 26  2007 mod_compress.la
-rwxr-xr-x  1 root root   13888 Mar 26  2007 mod_compress.so
-rwxr-xr-x  1 root root     810 Mar 26  2007 mod_dirlisting.la
-rwxr-xr-x  1 root root   14064 Mar 26  2007 mod_dirlisting.so
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_evhost.la
-rwxr-xr-x  1 root root    6884 Mar 26  2007 mod_evhost.so
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_expire.la
-rwxr-xr-x  1 root root    7068 Mar 26  2007 mod_expire.so
-rwxr-xr-x  1 root root     792 Mar 26  2007 mod_fastcgi.la
-rwxr-xr-x  1 root root   36904 Mar 26  2007 mod_fastcgi.so
-rwxr-xr-x  1 root root     804 Mar 26  2007 mod_indexfile.la
-rwxr-xr-x  1 root root    5756 Mar 26  2007 mod_indexfile.so
-rwxr-xr-x  1 root root     816 Mar 26  2007 mod_mysql_vhost.la
-rwxr-xr-x  1 root root    3188 Mar 26  2007 mod_mysql_vhost.so
-rwxr-xr-x  1 root root     780 Mar 26  2007 mod_proxy.la
-rwxr-xr-x  1 root root   16860 Mar 26  2007 mod_proxy.so
-rwxr-xr-x  1 root root     798 Mar 26  2007 mod_redirect.la
-rwxr-xr-x  1 root root    5044 Mar 26  2007 mod_redirect.so
-rwxr-xr-x  1 root root     792 Mar 26  2007 mod_rewrite.la
-rwxr-xr-x  1 root root    5580 Mar 26  2007 mod_rewrite.so
-rwxr-xr-x  1 root root     792 Mar 26  2007 mod_rrdtool.la
-rwxr-xr-x  1 root root   12700 Mar 26  2007 mod_rrdtool.so
-rwxr-xr-x  1 root root     774 Mar 26  2007 mod_scgi.la
-rwxr-xr-x  1 root root   33240 Mar 26  2007 mod_scgi.so
-rwxr-xr-x  1 root root     816 Mar 26  2007 mod_secdownload.la
-rwxr-xr-x  1 root root    6536 Mar 26  2007 mod_secdownload.so
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_setenv.la
-rwxr-xr-x  1 root root    5564 Mar 26  2007 mod_setenv.so
-rwxr-xr-x  1 root root     822 Mar 26  2007 mod_simple_vhost.la
-rwxr-xr-x  1 root root    6368 Mar 26  2007 mod_simple_vhost.so
-rwxr-xr-x  1 root root     768 Mar 26  2007 mod_ssi.la
-rwxr-xr-x  1 root root   16184 Mar 26  2007 mod_ssi.so
-rwxr-xr-x  1 root root     810 Mar 26  2007 mod_staticfile.la
-rwxr-xr-x  1 root root    9712 Mar 26  2007 mod_staticfile.so
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_status.la
-rwxr-xr-x  1 root root   19628 Mar 26  2007 mod_status.so
-rwxr-xr-x  1 root root     828 Mar 26  2007 mod_trigger_b4_dl.la
-rwxr-xr-x  1 root root    5632 Mar 26  2007 mod_trigger_b4_dl.so
-rwxr-xr-x  1 root root     792 Mar 26  2007 mod_userdir.la
-rwxr-xr-x  1 root root    5896 Mar 26  2007 mod_userdir.so
-rwxr-xr-x  1 root root     804 Mar 26  2007 mod_usertrack.la
-rwxr-xr-x  1 root root    7096 Mar 26  2007 mod_usertrack.so
-rwxr-xr-x  1 root root     786 Mar 26  2007 mod_webdav.la
-rwxr-xr-x  1 root root   16088 Mar 26  2007 mod_webdav.so
drwxr-xr-x  2 root root    4096 Mar 26  2007 pkgconfig
-rw-r--r--  1 root root     782 Mar 26  2007 sudo_noexec.la
-rwxr-xr-x  1 root root    8095 Mar 26  2007 sudo_noexec.so
# ls -la /bin
total 4240
drwxr-xr-x  2 root root   4096 Nov 30 20:28 .
drwxr-xr-x 22 root root   4096 Nov 30 01:34 ..
lrwxrwxrwx  1 root root      7 Mar  7  2002 addgroup -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 adduser -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 ash -> busybox
-rwxr-xr-x  1 root root 620756 Mar 26  2007 bash
-r-xr-xr-x  1 root root   6895 Mar 26  2007 bashbug
-rwsr-xr-x  1 root root 483196 Mar 26  2007 busybox
-rwxr-xr-x  1 root root  15700 Mar 26  2007 cat
-rwxr-xr-x  1 root root   6736 Mar 26  2007 chattr
-rwxr-xr-x  1 root root  38464 Mar 26  2007 chgrp
-rwxr-xr-x  1 root root  34480 Mar 26  2007 chmod
-rwxr-xr-x  1 root root  39840 Mar 26  2007 chown
-rwxr-xr-x  1 root root  52752 Mar 26  2007 cp
-rwxr-xr-x  1 root root  45456 Mar 26  2007 date
-rwxr-xr-x  1 root root  42592 Mar 26  2007 dd
lrwxrwxrwx  1 root root      7 Mar  7  2002 delgroup -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 deluser -> busybox
-rwxr-xr-x  1 root root  39768 Mar 26  2007 df
-rwxr-xr-x  1 root root  79736 Mar 26  2007 dir
lrwxrwxrwx  1 root root      7 Mar  7  2002 dmesg -> busybox
-rwxr-xr-x  1 root root  13788 Mar 26  2007 echo
-rwxr-xr-x  1 root root     33 Mar 26  2007 egrep
-rw-r--r--  1 root root   1003 Mar 26  2007 ep2_inout.ihx
-rwxr-xr-x  1 root root  11112 Mar 26  2007 false
-rwxr-xr-x  1 root root     33 Mar 26  2007 fgrep
lrwxrwxrwx  1 root root      7 Mar  7  2002 getopt -> busybox
-rwxr-xr-x  1 root root  71344 Mar 26  2007 grep
lrwxrwxrwx  1 root root      4 Mar  7  2002 gunzip -> gzip
-rwxr-xr-x  1 root root   4743 Mar 26  2007 gzexe
-rwxr-xr-x  1 root root  59860 Mar 26  2007 gzip
-rwxr-xr-x  1 root root  11932 Mar 26  2007 hostname
lrwxrwxrwx  1 root root      7 Mar  7  2002 ip -> busybox
-r-xr-xr-x  1 root root  14916 Mar 26  2007 kill
-rwxr-xr-x  1 root root  22044 Mar 26  2007 ln
lrwxrwxrwx  1 root root      7 Mar  7  2002 login -> busybox
-rwxr-xr-x  1 root root  79736 Mar 26  2007 ls
-rwxr-xr-x  1 root root   5740 Mar 26  2007 lsattr
-rwxr-xr-x  1 root root 114304 Mar 26  2007 lsof
-rwxr-xr-x  1 root root  19156 Mar 26  2007 mkdir
-rwxr-xr-x  1 root root  17908 Mar 26  2007 mknod
lrwxrwxrwx  1 root root      7 Mar  7  2002 mktemp -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 more -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 mount -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 mt -> busybox
-rwxr-xr-x  1 root root  59088 Mar 26  2007 mv
lrwxrwxrwx  1 root root      7 Mar  7  2002 netstat -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 nice -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 pidof -> busybox
lrwxrwxrwx  1 root root      7 Mar  7  2002 ping -> busybox
-r-xr-xr-x  1 root root  69316 Mar 26  2007 ps
-rwxr-xr-x  1 root root  13820 Mar 26  2007 pwd
-rwxr-xr-x  1 root root  35548 Mar 26  2007 rm
-rwxr-xr-x  1 root root  12532 Mar 26  2007 rmdir
lrwxrwxrwx  1 root root      7 Mar  7  2002 run-parts -> busybox
-rwxr-xr-x  1 root root  92348 Mar 26  2007 sed
lrwxrwxrwx  1 root root      4 Mar  7  2002 sh -> bash
-rwxr-xr-x  1 root root  15564 Mar 26  2007 sleep
lrwxrwxrwx  1 root root      7 Mar  7  2002 stat -> busybox
-rwxr-xr-x  1 root root  36784 Mar 26  2007 stty
lrwxrwxrwx  1 root root      7 Mar  7  2002 su -> busybox
-rwxr-xr-x  1 root root  11372 Mar 26  2007 sync
-rwxr-xr-x  1 root root 202928 Mar 26  2007 tar
-rwxr-xr-x  1 root root  30516 Mar 26  2007 touch
-rwxr-xr-x  1 root root  11108 Mar 26  2007 true
lrwxrwxrwx  1 root root      7 Mar  7  2002 umount -> busybox
-rwxr-xr-x  1 root root  12892 Mar 26  2007 uname
lrwxrwxrwx  1 root root      7 Mar  7  2002 usleep -> busybox
-rwxr-xr-x  1 root root   3600 Mar 26  2007 uuidgen
-rwxr-xr-x  1 root root  79736 Mar 26  2007 vdir
lrwxrwxrwx  1 root root      7 Mar  7  2002 vi -> busybox
-rwxr-xr-x  1 root root 483196 Nov 30 20:28 vi.ori
-rwxr-xr-x  1 root root    626 Mar 26  2007 xfs_admin
-rwxr-xr-x  1 root root    642 Mar 26  2007 xfs_bmap
-rwxr-xr-x  1 root root    658 Mar 26  2007 xfs_check
-rwxr-xr-x  1 root root  40784 Mar 26  2007 xfs_copy
-rwxr-xr-x  1 root root 306760 Mar 26  2007 xfs_db
-rwxr-xr-x  1 root root    754 Mar 26  2007 xfs_freeze
-rwxr-xr-x  1 root root  17860 Mar 26  2007 xfs_growfs
-rwxr-xr-x  1 root root    431 Mar 26  2007 xfs_info
-rwxr-xr-x  1 root root  93464 Mar 26  2007 xfs_io
-rwxr-xr-x  1 root root  51568 Mar 26  2007 xfs_logprint
-rwxr-xr-x  1 root root   1007 Mar 26  2007 xfs_mkfile
-rwxr-xr-x  1 root root    612 Mar 26  2007 xfs_ncheck
-rwxr-xr-x  1 root root  79628 Mar 26  2007 xfs_quota
-rwxr-xr-x  1 root root  13748 Mar 26  2007 xfs_rtcp
lrwxrwxrwx  1 root root      4 Mar  7  2002 zcat -> gzip
lrwxrwxrwx  1 root root      5 Mar  7  2002 zcmp -> zdiff
-rwxr-xr-x  1 root root   1970 Mar 26  2007 zdiff
lrwxrwxrwx  1 root root      5 Mar  7  2002 zegrep -> zgrep
lrwxrwxrwx  1 root root      5 Mar  7  2002 zfgrep -> zgrep
-rwxr-xr-x  1 root root   1521 Mar 26  2007 zforce
-rwxr-xr-x  1 root root   2940 Mar 26  2007 zgrep
-rwxr-xr-x  1 root root     99 Mar 26  2007 zless
-rwxr-xr-x  1 root root   1881 Mar 26  2007 zmore
-rwxr-xr-x  1 root root   3494 Mar 26  2007 znew
# ls -la /sbin
total 2592
-rwxr-xr-x  1 root root  16476 Mar 26  2007 badblocks
-rwxr-xr-x  1 root root   7256 Mar 26  2007 blkid
-rwxr-xr-x  1 root root  14972 Mar 26  2007 dhcpdump
-rwxr-xr-x  1 root root   9696 Mar 26  2007 dumpe2fs
-rwxr-xr-x  1 root root 125596 Mar 26  2007 e2fsck
-rwxr-xr-x  1 root root  22148 Mar 26  2007 e2label
lrwxrwxrwx  1 root root     14 Mar  7  2002 fdisk -> ../bin/busybox
-rwxr-xr-x  1 root root   8192 Mar 26  2007 filefrag
-rwxr-xr-x  1 root root  22148 Mar 26  2007 findfs
-rwxr-xr-x  1 root root  16380 Mar 26  2007 fsck
-rwxr-xr-x  1 root root 125596 Mar 26  2007 fsck.ext2
-rwxr-xr-x  1 root root 125596 Mar 26  2007 fsck.ext3
-rwxr-xr-x  1 root root   2812 Mar 26  2007 fsck.xfs
lrwxrwxrwx  1 root root     14 Mar  7  2002 getty -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 halt -> ../bin/busybox
-rwxr-xr-x  1 root root  59728 Mar 26  2007 hdparm
-rwxr-xr-x  1 root root   1160 Mar 26  2007 hotplug
lrwxrwxrwx  1 root root     14 Mar  7  2002 hwclock -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 ifconfig -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 ifdown -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 ifup -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 init -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 insmod -> ../bin/busybox
-rwxr-xr-x  1 root root  60808 Mar 26  2007 iwconfig
lrwxrwxrwx  1 root root      8 Mar  7  2002 iwgetid -> iwconfig
lrwxrwxrwx  1 root root      8 Mar  7  2002 iwlist -> iwconfig
lrwxrwxrwx  1 root root      8 Mar  7  2002 iwpriv -> iwconfig
lrwxrwxrwx  1 root root      8 Mar  7  2002 iwspy -> iwconfig
-rwxr-xr-x  1 root root   3552 Mar 26  2007 keyring
lrwxrwxrwx  1 root root     14 Mar  7  2002 klogd -> ../bin/busybox
-rwxr-xr-x  1 root root  16192 Mar 26  2007 ldconfig
-rwxr-xr-x  1 root root   6112 Mar 26  2007 logsave
lrwxrwxrwx  1 root root     14 Mar  7  2002 losetup -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 lsmod -> ../bin/busybox
-rwxr-xr-x  1 root root  35176 Mar 26  2007 lspci
-rwxr-xr-x  1 root root 149144 Mar 26  2007 mDNSResponderPosix
-rwxr-xr-x  1 root root 139564 Mar 26  2007 mdadm
lrwxrwxrwx  1 root root     14 Mar  7  2002 mdev -> ../bin/busybox
-rwxr-xr-x  1 root root  31692 Mar 26  2007 mke2fs
-rwxr-xr-x  1 root root  31692 Mar 26  2007 mkfs.ext2
-rwxr-xr-x  1 root root  31692 Mar 26  2007 mkfs.ext3
-rwxr-xr-x  1 root root  73388 Mar 26  2007 mkfs.xfs
-rwxr-xr-x  1 root root   4136 Mar 26  2007 mklost+found
lrwxrwxrwx  1 root root     14 Mar  7  2002 mkswap -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 modprobe -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 pivot_root -> ../bin/busybox
-rwxr-xr-x  1 root root  10748 Mar 26  2007 portmap
lrwxrwxrwx  1 root root     14 Mar  7  2002 poweroff -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 reboot -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 rmmod -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 route -> ../bin/busybox
-rwxr-xr-x  1 root root  21488 Mar 26  2007 setpci
-rwxr-xr-x  1 root root  18708 Mar 26  2007 ssmtp
lrwxrwxrwx  1 root root     14 Mar  7  2002 start-stop-daemon -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 sulogin -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 swapoff -> ../bin/busybox
lrwxrwxrwx  1 root root     14 Mar  7  2002 swapon -> ../bin/busybox
-r-xr-xr-x  1 root root  12008 Mar 26  2007 sysctl
lrwxrwxrwx  1 root root     14 Mar  7  2002 syslogd -> ../bin/busybox
-rwxr-xr-x  1 root root 628628 Mar 26  2007 tcpdump
-rwxr-xr-x  1 root root  22148 Mar 26  2007 tune2fs
lrwxrwxrwx  1 root root     14 Mar  7  2002 udhcpc -> ../bin/busybox
-rwxr-xr-x  1 root root 427844 Mar 26  2007 xfs_repair
lrwxrwxrwx  1 root root     14 Mar  7  2002 zcip -> ../bin/busybox
# ls -la /usr/bin
total 16168
drwxr-xr-x 12 root root    4096 Mar 26  2007 ..
lrwxrwxrwx  1 root root       4 Mar  7  2002 [ -> test
lrwxrwxrwx  1 root root      17 Mar  7  2002 [[ -> ../../bin/busybox
-rwxr-xr-x  1 root root  367380 Mar 26  2007 addr2line
-rwxr-xr-x  1 root root  338904 Mar 26  2007 ar
-rwxr-xr-x  1 root root   88852 Mar 26  2007 arm-linux-uclibc-c++
-rwxr-xr-x  1 root root   88852 Mar 26  2007 arm-linux-uclibc-g++
-rwxr-xr-x  1 root root   88640 Mar 26  2007 arm-linux-uclibc-gcc
-rwxr-xr-x  1 root root   88640 Mar 26  2007 arm-linux-uclibc-gcc-3.4.2
-rwxr-xr-x  1 root root  585060 Mar 26  2007 as
lrwxrwxrwx  1 root root       4 Mar  7  2002 awk -> gawk
-rwxr-xr-x  1 root root   11996 Mar 26  2007 basename
lrwxrwxrwx  1 root root       5 Mar  7  2002 bunzip2 -> bzip2
lrwxrwxrwx  1 root root       5 Mar  7  2002 bzcat -> bzip2
lrwxrwxrwx  1 root root       6 Mar  7  2002 bzcmp -> bzdiff
-rwxr-xr-x  1 root root    2105 Mar 26  2007 bzdiff
lrwxrwxrwx  1 root root       6 Mar  7  2002 bzegrep -> bzgrep
lrwxrwxrwx  1 root root       6 Mar  7  2002 bzfgrep -> bzgrep
-rwxr-xr-x  1 root root    1582 Mar 26  2007 bzgrep
-rwxr-xr-x  1 root root   94900 Mar 26  2007 bzip2
-rwxr-xr-x  1 root root    8052 Mar 26  2007 bzip2recover
lrwxrwxrwx  1 root root       6 Mar  7  2002 bzless -> bzmore
-rwxr-xr-x  1 root root    1259 Mar 26  2007 bzmore
-rwxr-xr-x  1 root root   88852 Mar 26  2007 c++
-rwxr-xr-x  1 root root  367256 Mar 26  2007 c++filt
lrwxrwxrwx  1 root root       3 Mar  7  2002 cc -> gcc
lrwxrwxrwx  1 root root      17 Mar  7  2002 chvt -> ../../bin/busybox
-rwxr-xr-x  1 root root   16800 Mar 26  2007 cksum
-rwxr-xr-x  1 root root   20220 Mar 26  2007 cmp
-rwxr-xr-x  1 root root   14308 Mar 26  2007 comm
-rwxr-xr-x  1 root root   88640 Mar 26  2007 cpp
-rwxr-xr-x  1 root root   85624 Mar 26  2007 csplit
-rwxr-xr-x  1 root root   26908 Mar 26  2007 cut
lrwxrwxrwx  1 root root      17 Mar  7  2002 dc -> ../../bin/busybox
lrwxrwxrwx  1 root root      17 Mar  7  2002 deallocvt -> ../../bin/busybox
-rwxr-xr-x  1 root root   63120 Mar 26  2007 diff
-rwxr-xr-x  1 root root   19304 Mar 26  2007 diff3
-rwxr-xr-x  1 root root   22048 Mar 26  2007 dircolors
-rwxr-xr-x  1 root root   12248 Mar 26  2007 dirname
lrwxrwxrwx  1 root root      17 Mar  7  2002 dos2unix -> ../../bin/busybox
-rwxr-xr-x  1 root root   67240 Mar 26  2007 du
-rwxr-xr-x  1 root root   12256 Mar 26  2007 env
-rwxr-xr-x  1 root root   16360 Mar 26  2007 expand
-rwxr-xr-x  1 root root   79444 Mar 26  2007 expr
-rwxr-xr-x  1 root root   18740 Mar 26  2007 factor
lrwxrwxrwx  1 root root      17 Mar  7  2002 find -> ../../bin/busybox
-rwxr-xr-x  1 root root   19116 Mar 26  2007 fmt
-rwxr-xr-x  1 root root   14692 Mar 26  2007 fold
-r-xr-xr-x  1 root root   10360 Mar 26  2007 free
-rwxr-xr-x  1 root root   88852 Mar 26  2007 g++
-rwxr-xr-x  1 root root  291088 Mar 26  2007 gawk
-rwxr-xr-x  1 root root   88640 Mar 26  2007 gcc
-rwxr-xr-x  1 root root   15992 Mar 26  2007 gccbug
-rwxr-xr-x  1 root root   25244 Mar 26  2007 gcov
-rwxr-xr-x  1 root root 2222400 Mar 26  2007 gdb
-rwxr-xr-x  1 root root   45432 Mar 26  2007 gdbserver
-rwxr-xr-x  1 root root  427724 Mar 26  2007 gprof
-rwxr-xr-x  1 root root    1931 Mar 26  2007 groups
-rwxr-xr-x  1 root root   26912 Mar 26  2007 head
lrwxrwxrwx  1 root root      17 Mar  7  2002 hexdump -> ../../bin/busybox
-rwxr-xr-x  1 root root   11456 Mar 26  2007 hostid
-rwxr-xr-x  1 root root   14788 Mar 26  2007 id
-rwxr-xr-x  1 root root    3089 Mar 26  2007 igawk
-rwxr-xr-x  1 root root   56296 Mar 26  2007 install
-rwxr-xr-x  1 root root   22040 Mar 26  2007 join
-rwxr-xr-x  1 root root   15740 Mar 26  2007 kill
lrwxrwxrwx  1 root root      17 Mar  7  2002 killall -> ../../bin/busybox
-rwxr-xr-x  1 root root  601672 Mar 26  2007 ld
-rwxr-xr-x  1 root root   10464 Mar 26  2007 ldd
lrwxrwxrwx  1 root root      17 Mar  7  2002 less -> ../../bin/busybox
-rwxr-xr-x  1 root root    1261 Mar 26  2007 libusb-config
-rwxr-xr-x  1 root root   11740 Mar 26  2007 link
lrwxrwxrwx  1 root root      17 Mar  7  2002 logger -> ../../bin/busybox
-rwxr-xr-x  1 root root   11500 Mar 26  2007 logname
-rwxr-xr-x  1 root root  139504 Mar 26  2007 make
-rwxr-xr-x  1 root root   28728 Mar 26  2007 md5sum
-rwxr-xr-x  1 root root   13792 Mar 26  2007 mkfifo
-rwxr-xr-x  1 root root   14208 Mar 26  2007 nice
-rwxr-xr-x  1 root root   77876 Mar 26  2007 nl
-rwxr-xr-x  1 root root  380072 Mar 26  2007 nm
-rwxr-xr-x  1 root root   13816 Mar 26  2007 nohup
lrwxrwxrwx  1 root root      17 Mar  7  2002 nslookup -> ../../bin/busybox
-rwxr-xr-x  1 root root   21980 Mar 26  2007 ntfscat
-rwxr-xr-x  1 root root   30096 Mar 26  2007 ntfscluster
-rwxr-xr-x  1 root root   23636 Mar 26  2007 ntfsfix
-rwxr-xr-x  1 root root   51196 Mar 26  2007 ntfsinfo
-rwxr-xr-x  1 root root   27092 Mar 26  2007 ntfsls
-rwxr-xr-x  1 root root   41352 Mar 26  2007 ntpdate
-rwxr-xr-x  1 root root  508080 Mar 26  2007 objcopy
-rwxr-xr-x  1 root root  544820 Mar 26  2007 objdump
-rwxr-xr-x  1 root root   34444 Mar 26  2007 od
lrwxrwxrwx  1 root root      17 Mar  7  2002 openvt -> ../../bin/busybox
lrwxrwxrwx  1 root root      17 Mar  7  2002 passwd -> ../../bin/busybox
-rwxr-xr-x  1 root root   14764 Mar 26  2007 paste
-rwxr-xr-x  1 root root   84200 Mar 26  2007 patch
-rwxr-xr-x  1 root root   13796 Mar 26  2007 pathchk
-rwxr-xr-x  1 root root  294756 Mar 26  2007 pgawk
-rwxr-xr-x  1 root root  294756 Mar 26  2007 pgawk-3.1.5
-r-xr-xr-x  1 root root   14020 Mar 26  2007 pgrep
-rwxr-xr-x  1 root root   22084 Mar 26  2007 pinky
-r-xr-xr-x  1 root root   14020 Mar 26  2007 pkill
-r-xr-xr-x  1 root root   11692 Mar 26  2007 pmap
-rwxr-xr-x  1 root root   44532 Mar 26  2007 pr
-rwxr-xr-x  1 root root   11876 Mar 26  2007 printenv
-rwxr-xr-x  1 root root   20872 Mar 26  2007 printf
-rwxr-xr-x  1 root root   85352 Mar 26  2007 ptx
-r-xr-xr-x  1 root root    7548 Mar 26  2007 pwdx
-rwxr-xr-x  1 root root  338908 Mar 26  2007 ranlib
-rwxr-xr-x  1 root root  215448 Mar 26  2007 readelf
-rwxr-xr-x  1 root root   14676 Mar 26  2007 readlink
-rwxr-xr-x  1 root root  295268 Mar 26  2007 rsync
-rwxr-xr-x  1 root root   39920 Mar 26  2007 scp
-rwxr-xr-x  1 root root   18080 Mar 26  2007 sdiff
-rwxr-xr-x  1 root root   17928 Mar 26  2007 seq
-rwxr-xr-x  1 root root   63432 Mar 26  2007 sftp
-rwxr-xr-x  1 root root   28728 Mar 26  2007 sha1sum
-rwxr-xr-x  1 root root   40396 Mar 26  2007 shred
-rwxr-xr-x  1 root root  322284 Mar 26  2007 size
-r-xr-xr-x  1 root root   14916 Mar 26  2007 skill
-r-xr-xr-x  1 root root   13980 Mar 26  2007 slabtop
lrwxrwxrwx  1 root root       5 Mar  7  2002 slogin -> ./ssh
-r-xr-xr-x  1 root root   14916 Mar 26  2007 snice
-rwxr-xr-x  1 root root   42692 Mar 26  2007 sort
-rwxr-xr-x  1 root root    9216 Mar 26  2007 spawn-fcgi
-rwxr-xr-x  1 root root   22528 Mar 26  2007 split
-rwxr-xr-x  1 root root  209596 Mar 26  2007 ssh
-rwxr-xr-x  1 root root   65000 Mar 26  2007 ssh-add
-rwxr-xr-x  1 root root   52936 Mar 26  2007 ssh-agent
-rwxr-xr-x  1 root root   74440 Mar 26  2007 ssh-keygen
-rwxr-xr-x  1 root root  114388 Mar 26  2007 ssh-keyscan
-rwxr-xr-x  1 root root   10776 Mar 26  2007 sstrip
-rwxr-xr-x  1 root root   31904 Mar 26  2007 stat
lrwxrwxrwx  1 root root      17 Mar  7  2002 strings -> ../../bin/busybox
-rwxr-xr-x  1 root root  508084 Mar 26  2007 strip
---s--x--x  1 root root   90564 Mar 26  2007 sudo
---s--x--x  1 root root   90564 Mar 26  2007 sudoedit
-rwxr-xr-x  1 root root   26136 Mar 26  2007 sum
-rwxr-xr-x  1 root root   73164 Mar 26  2007 tac
-rwxr-xr-x  1 root root   38476 Mar 26  2007 tail
-rwxr-xr-x  1 root root   12948 Mar 26  2007 tee
lrwxrwxrwx  1 root root      17 Mar  7  2002 telnet -> ../../bin/busybox
-rwxr-xr-x  1 root root   24176 Mar 26  2007 test
lrwxrwxrwx  1 root root      17 Mar  7  2002 time -> ../../bin/busybox
-r-xr-xr-x  1 root root    8980 Mar 26  2007 tload
-r-xr-xr-x  1 root root   56376 Mar 26  2007 top
-rwxr-xr-x  1 root root   27544 Mar 26  2007 tr
lrwxrwxrwx  1 root root      17 Mar  7  2002 traceroute -> ../../bin/busybox
-rwxr-xr-x  1 root root   14860 Mar 26  2007 tsort
-rwxr-xr-x  1 root root   11572 Mar 26  2007 tty
-rwxr-xr-x  1 root root   17912 Mar 26  2007 unexpand
-rwxr-xr-x  1 root root   19520 Mar 26  2007 uniq
lrwxrwxrwx  1 root root      17 Mar  7  2002 unix2dos -> ../../bin/busybox
-rwxr-xr-x  1 root root   11616 Mar 26  2007 unlink
-r-xr-xr-x  1 root root    6656 Mar 26  2007 uptime
-rwxr-xr-x  1 root root   12832 Mar 26  2007 users
lrwxrwxrwx  1 root root      17 Mar  7  2002 uudecode -> ../../bin/busybox
lrwxrwxrwx  1 root root      17 Mar  7  2002 uuencode -> ../../bin/busybox
lrwxrwxrwx  1 root root      17 Mar  7  2002 vlock -> ../../bin/busybox
-r-xr-xr-x  1 root root   22596 Mar 26  2007 vmstat
-r-xr-xr-x  1 root root   15940 Mar 26  2007 w
-r-xr-xr-x  1 root root   13100 Mar 26  2007 watch
-rwxr-xr-x  1 root root   20080 Mar 26  2007 wc
lrwxrwxrwx  1 root root      17 Mar  7  2002 wget -> ../../bin/busybox
lrwxrwxrwx  1 root root      17 Mar  7  2002 which -> ../../bin/busybox
-rwxr-xr-x  1 root root   22992 Mar 26  2007 who
-rwxr-xr-x  1 root root   11664 Mar 26  2007 whoami
lrwxrwxrwx  1 root root      17 Mar  7  2002 xargs -> ../../bin/busybox
-rwxr-xr-x  1 root root   11600 Mar 26  2007 yes
# ls -la /usr/sbin
total 1924
drwxr-xr-x  2 root root   4096 Mar 26  2007 .
drwxr-xr-x 12 root root   4096 Mar 26  2007 ..
-rwxr-xr-x  1 root root  12076 Mar 26  2007 chroot
lrwxrwxrwx  1 root root     17 Mar  7  2002 crond -> ../../bin/busybox
-rwxr-xr-x  1 root root  27244 Mar 26  2007 dmsetup
-rwxr-xr-x  1 root root  80288 Mar 26  2007 ethtool
-rwxr-xr-x  1 root root  33008 Mar 26  2007 exportfs
-rwxr-xr-x  1 root root  24244 Mar 26  2007 in.tftpd
lrwxrwxrwx  1 root root     17 Mar  7  2002 inetd -> ../../bin/busybox
-rwxr-xr-x  1 root root 135676 Mar 26  2007 lighttpd
-rwxr-xr-x  1 root root  63508 Mar 26  2007 lsusb
-rwxr-xr-x  1 root root 108988 Mar 26  2007 mkntfs
-rwxr-xr-x  1 root root   8532 Mar 26  2007 nfsstat
-rwxr-xr-x  1 root root    616 Nov  4  2006 nhfsgraph
-rwxr-xr-x  1 root root    587 Nov  4  2006 nhfsnums
-rwxr-xr-x  1 root root    790 Nov  4  2006 nhfsrun
-rwxr-xr-x  1 root root  18536 Mar 26  2007 nhfsstone
-rwxr-xr-x  1 root root  48644 Mar 26  2007 ntfsclone
-rwxr-xr-x  1 root root  23012 Mar 26  2007 ntfscp
-rwxr-xr-x  1 root root   4411 Nov  5  2006 ntfslabel
-rwxr-xr-x  1 root root  58880 Mar 26  2007 ntfsresize
-rwxr-xr-x  1 root root  46624 Mar 26  2007 ntfsundelete
-rwxr-xr-x  1 root root 297172 Mar 26  2007 ntpd
lrwxrwxrwx  1 root root     17 Mar  7  2002 rdate -> ../../bin/busybox
-rwxr-xr-x  1 root root   3424 Mar 26  2007 rpc.lockd
-rwxr-xr-x  1 root root  51688 Mar 26  2007 rpc.mountd
-rwxr-xr-x  1 root root   5000 Mar 26  2007 rpc.nfsd
-rwxr-xr-x  1 root root  14048 Mar 26  2007 rpc.rquotad
-rwxr-xr-x  1 root root  31876 Mar 26  2007 rpc.statd
-rwxr-xr-x  1 root root  26972 Mar 26  2007 sftp-server
-rwxr-xr-x  1 root root   9676 Mar 26  2007 showmount
-rwxr-xr-x  1 root root 148736 Mar 26  2007 smartctl
-rws--x--x  1 root root 119064 Mar 26  2007 ssh-keysign
-rwxr-xr-x  1 root root 240808 Mar 26  2007 sshd
lrwxrwxrwx  1 root root     17 Mar  7  2002 telnetd -> ../../bin/busybox
---x--x--x  1 root root  61260 Mar 26  2007 visudo
# dmesg
<5>Linux version 2.6.17.14 (clarke@mccoy.oxsemi.com.asic.oxsemi.com) (gcc version 4.1.0) #1 PREEMPT Mon Mar 26 12:36:33 BST 2007
<4>CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ)
<4>Machine: Oxsemi NAS
<4>Ignoring unrecognised tag 0x00000000
<4>Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 8192
<7>  DMA zone: 8192 pages, LIFO batch:1
<4>CPU0: D VIVT write-back cache
<4>CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
<4>CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
<4>Built 1 zonelists
<5>Kernel command line: mem=32M console=ttyS0,115200 root=/dev/md1 netdev=0,0,0x0090A94D,0x0EEC,eth0
<4>PID hash table entries: 256 (order: 8, 1024 bytes)
<4>Console: colour dummy device 80x30
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<4>Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>Memory: 32MB = 32MB total
<5>Memory: 29916KB available (2020K code, 349K data, 96K init)
<7>Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)
<4>Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>NET: Registered protocol family 16
<6>Number of DMA channels = 5, version = 4
<4>Allocating 224 SRAM generic DMA descriptors
<4>PCI: Scanning bus 0000:00
<4>PCI: Found 0000:00:07.0 [1106/3119] 000200 00
<4>PCI: Fixups for bus 0000:00
<6>PCI: bus0: Fast back to back transfers disabled
<4>PCI: Bus scan for 0000:00 returning with max=00
<5>SCSI subsystem initialized
<6>NET: Registered protocol family 2
<4>IP route cache hash table entries: 256 (order: -2, 1024 bytes)
<4>TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<4>TCP bind hash table entries: 512 (order: -1, 2048 bytes)
<6>TCP: Hash tables configured (established 1024 bind 512)
<6>TCP reno registered
<1>Hello, LED trigger
<4>NetWinder Floating Point Emulator V0.97 (double precision)
<6>Initializing Cryptographic API
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>io scheduler deadline registered
<6>io scheduler cfq registered
<6>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
<6>serial8250: ttyS0 at MMIO 0x44300000 (irq = 24) is a 16550A
<4>RAMDISK driver initialized: 16 RAM disks of 10240K size 1024 blocksize
<6>loop: loaded (max 8 devices)
<6>VIA Networking Velocity Family Gigabit Ethernet Adapter Driver Ver. 1.13
<6>Copyright (c) 2002, 2003 VIA Networking Technologies, Inc.
<6>Copyright (c) 2004 Red Hat Inc.
<4>PCI: enabling device 0000:00:07.0 (0140 -> 0143)
<6>eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter
<6>eth0: Ethernet Address: 00:90:A9:4D:0E:EC
<7>libata version 1.20 loaded.
<6>ox800sata init 
<6>ox800sata: 924 based sata core.
<6>ata1: SATA max UDMA/133 cmd 0x0 ctl 0x0 bmdma 0x0 irq 18
<6>ata1: SATA link up 1.5 Gbps (SStatus 113)
<7>ata1: dev 0 cfg 49:2f00 82:746b 83:7f61 84:4123 85:7469 86:bc41 87:4123 88:007f
<6>ata1: dev 0 ATA-7, max UDMA/133, 1953525168 sectors: LBA48
<6>ata1: dev 0 configured for UDMA/133
<6>scsi0 : ox800sata
<5>  Vendor: ATA       Model: WDC WD10EACS-00Z  Rev: 01.0
<5>  Type:   Direct-Access                      ANSI SCSI revision: 05
<6>ox800sata: 924 based sata core.
<6>ata2: SATA max UDMA/133 cmd 0x0 ctl 0x0 bmdma 0x0 irq 19
<6>ata2: SATA link up 1.5 Gbps (SStatus 113)
<7>ata2: dev 0 cfg 49:2f00 82:746b 83:7f61 84:4123 85:7469 86:bc41 87:4123 88:007f
<6>ata2: dev 0 ATA-7, max UDMA/133, 1953525168 sectors: LBA48
<6>ata2: dev 0 configured for UDMA/133
<6>scsi1 : ox800sata
<5>  Vendor: ATA       Model: WDC WD10EACS-00Z  Rev: 01.0
<5>  Type:   Direct-Access                      ANSI SCSI revision: 05
<5>SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
<5>sda: Write Protect is off
<7>sda: Mode Sense: 00 3a 00 00
<5>SCSI device sda: drive cache: write back
<5>SCSI device sda: 1953525168 512-byte hdwr sectors (1000205 MB)
<5>sda: Write Protect is off
<7>sda: Mode Sense: 00 3a 00 00
<5>SCSI device sda: drive cache: write back
<6> sda: sda1 sda2 sda3 sda4
<5>sd 0:0:0:0: Attached scsi disk sda
<5>SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
<5>sdb: Write Protect is off
<7>sdb: Mode Sense: 00 3a 00 00
<5>SCSI device sdb: drive cache: write back
<5>SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
<5>sdb: Write Protect is off
<7>sdb: Mode Sense: 00 3a 00 00
<5>SCSI device sdb: drive cache: write back
<6> sdb: sdb1 sdb2 sdb3 sdb4
<5>sd 1:0:0:0: Attached scsi disk sdb
<6>mice: PS/2 mouse device common for all mice
<6>md: linear personality registered for level -1
<6>md: raid1 personality registered for level 1
<6>md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
<6>md: bitmap version 4.39
<6>device-mapper: 4.6.0-ioctl (2006-02-17) initialised: dm-devel@redhat.com
<6>TCP bic registered
<6>NET: Registered protocol family 1
<6>NET: Registered protocol family 17
<6>md: Autodetecting RAID arrays.
<6>md: autorun ...
<6>md: considering sdb4 ...
<6>md:  adding sdb4 ...
<4>md: sdb3 has different UUID to sdb4
<4>md: sdb2 has different UUID to sdb4
<4>md: sdb1 has different UUID to sdb4
<6>md:  adding sda4 ...
<4>md: sda3 has different UUID to sdb4
<4>md: sda2 has different UUID to sdb4
<4>md: sda1 has different UUID to sdb4
<6>md: created md4
<6>md: bind
<6>md: bind
<6>md: running: 
<4>raid1 run
<6>raid1: raid set md4 active with 2 out of 2 mirrors
<6>md: considering sdb3 ...
<6>md:  adding sdb3 ...
<4>md: sdb2 has different UUID to sdb3
<4>md: sdb1 has different UUID to sdb3
<6>md:  adding sda3 ...
<4>md: sda2 has different UUID to sdb3
<4>md: sda1 has different UUID to sdb3
<6>md: created md3
<6>md: bind
<6>md: bind
<6>md: running: 
<4>raid1 run
<6>raid1: raid set md3 active with 2 out of 2 mirrors
<6>md: considering sdb2 ...
<6>md:  adding sdb2 ...
<4>md: sdb1 has different UUID to sdb2
<6>md:  adding sda2 ...
<4>md: sda1 has different UUID to sdb2
<6>md: created md2
<6>md: bind
<6>md: bind
<6>md: running: 
<4>raid1 run
<6>raid1: raid set md2 active with 2 out of 2 mirrors
<6>md: considering sdb1 ...
<6>md:  adding sdb1 ...
<6>md:  adding sda1 ...
<6>md: created md1
<6>md: bind
<6>md: bind
<6>md: running: 
<4>raid1 run
<6>raid1: raid set md1 active with 2 out of 2 mirrors
<6>md: ... autorun DONE.
<6>kjournald starting.  Commit interval 5 seconds
<6>EXT3 FS on md1, internal journal
<6>EXT3-fs: mounted filesystem with ordered data mode.
<4>VFS: Mounted root (ext3 filesystem).
<6>Freeing init memory: 96K
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>kjournald starting.  Commit interval 5 seconds
<6>EXT3 FS on md3, internal journal
<6>EXT3-fs: mounted filesystem with ordered data mode.
<6>kjournald starting.  Commit interval 5 seconds
<6>EXT3 FS on md4, internal journal
<6>EXT3-fs: mounted filesystem with ordered data mode.
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Adding 104312k swap on /dev/md2.  Priority:-1 extents:1 across:104312k
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>wdc-leds:  FAST_TPS=960, SLOW_TPS=32
<6>Registered led device: wdc-leds:power
<6>Registered led device: wdc-leds:activity
<6>Registered led device: wdc-leds:ignore-act
<6>Registered led device: wdc-leds:transition
<6>Registered led device: wdc-leds:fuel-gauge
<6>Registered led device: wdc-leds:rebuilding
<6>Registered led device: wdc-leds:degraded
<6>Registered led device: wdc-leds:over-temp
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<7>Fan probe
<6>WDC_Fan initialized
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>i2c_oxnas_bitbash_init: i2c OX800 driver init
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>usbcore: registered new driver usbfs
<6>usbcore: registered new driver hub
<4>12 May 2005 USB 2.0 'Enhanced' Host Controller (EHCI) Driver for OXNAS@e7000000 Device ID register 42fa05
<6>oxnas-ehci oxnas-ehci: OXNAS EHCI Host Controller
<6>oxnas-ehci oxnas-ehci: new USB bus registered, assigned bus number 1
<6>oxnas-ehci oxnas-ehci: irq 7, io mem 0x00000000
<6>oxnas-ehci oxnas-ehci: USB 0.0 started, EHCI 1.00, driver 12 May 2005
<6>usb usb1: configuration #1 chosen from 1 choice
<6>hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 3 ports detected
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Initializing USB Mass Storage driver...
<6>usbcore: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>WDC Fan speed set 100
<4>Velocity is AUTO mode
<6>WDC Fan speed set 50
<5>eth0: Link autonegation speed 100M bps full duplex
<6>WDC Fan speed set 0
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>Using fractional divider baud 115200, clock 100000000 dlf 40
<6>WDC Fan speed set 50
<4>Velocity is AUTO mode
<5>eth0: Link autonegation speed 100M bps full duplex
<6>WDC Fan speed set 0
<6>WDC Fan speed set 50
#

Links
http://www.welped.com/2007/08/29/hacking-the-mybook-world-edition-into-a-php-powered-web-server/
http://martin.hinner.info/mybook/
http://www.ismprofessional.net/pascucci/documenti/mybook/mybook-hacking-en.html
ftp://212.47.7.226/pub/users/mhi/mybook
http://mybookworld.wikidot.com/forum/t-19757/installing-new-samba
Firmware 01.01.14
Users guide