最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】用mkfs.jffs2制作jffs2格式的rootfs镜像文件

Embedded Filesystem crifan 5202浏览 0评论

【背景】

折腾:

【整理】为何要把文件夹形式的rootfs制作成单个rootfs镜像文件

期间,搞懂了为何要把rootfs文件夹,弄成对应格式的镜像文件。

现在就去操作一下。

注意:

此处是已经拿到了别人弄好的rootfs,所以,剩下的事情,只是直接去制作即可。

【折腾过程】

1.此处,已经有了对应的rootfs了:

crifan@ubuntu:RootFileSystem$ ls
CVS  mkfs.jffs2  notes  rootfilesystem.tar.bz2
crifan@ubuntu:RootFileSystem$ ls -lha
total 18M
drwxrwxr-x 3 crifan crifan 4.0K Jul 21 18:29 .
drwxrwxr-x 6 crifan crifan 4.0K Jul 21 18:29 ..
drwxrwxr-x 2 crifan crifan 4.0K Jul 21 18:29 CVS
-rwxrwxr-x 1 crifan crifan 119K Jun  4 06:50 mkfs.jffs2
-rwxrwxr-x 1 crifan crifan  642 Jun  4 06:50 notes
-rwxrwxr-x 1 crifan crifan  17M Jun  4 06:50 rootfilesystem.tar.bz2

2.然后去解压:

crifan@ubuntu:RootFileSystem$ tar xjf rootfilesystem.tar.bz2 
tar: rootfs/dev/hda3: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty1: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd6: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk3: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk0: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd0: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda3: Cannot mknod: Operation not permitted
tar: rootfs/dev/rtc0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyP3: Cannot mknod: Operation not permitted
tar: rootfs/dev/random: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty0: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock6: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp3: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd4: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda1: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda7: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk1: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyP2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyAM2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp0: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty5: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp4: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty7: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ppp: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb1: Cannot mknod: Operation not permitted
tar: rootfs/dev/fb3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp9: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda6: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb5: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd5: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp0: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyAM3: Cannot mknod: Operation not permitted
tar: rootfs/dev/loop1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ram2: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock5: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda2: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk4: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda8: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk5: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp2: Cannot mknod: Operation not permitted
tar: rootfs/dev/fb0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp6: Cannot mknod: Operation not permitted
tar: rootfs/dev/loop0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttygserial: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock4: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda5: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda4: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyS0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda5: Cannot mknod: Operation not permitted
tar: rootfs/dev/null: Cannot mknod: Operation not permitted
tar: rootfs/dev/kmem: Cannot mknod: Operation not permitted
tar: rootfs/dev/mem: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp6: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty6: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb8: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyS2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyS1: Cannot mknod: Operation not permitted
tar: rootfs/dev/mmcblk6: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp4: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty4: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp5: Cannot mknod: Operation not permitted
tar: rootfs/dev/ram1: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda8: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda6: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb4: Cannot mknod: Operation not permitted
tar: rootfs/dev/zero: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda1: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty2: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtdblock2: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda6: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp7: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp8: Cannot mknod: Operation not permitted
tar: rootfs/dev/tty3: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd1: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda5: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda1: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda4: Cannot mknod: Operation not permitted
tar: rootfs/dev/ram: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyAM1: Cannot mknod: Operation not permitted
tar: rootfs/dev/fb2: Cannot mknod: Operation not permitted
tar: rootfs/dev/psaux: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyW0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyP1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp9: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp8: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda4: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp5: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ram3: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda8: Cannot mknod: Operation not permitted
tar: rootfs/dev/sda2: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb6: Cannot mknod: Operation not permitted
tar: rootfs/dev/urandom: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd2: Cannot mknod: Operation not permitted
tar: rootfs/dev/ram0: Cannot mknod: Operation not permitted
tar: rootfs/dev/ubda7: Cannot mknod: Operation not permitted
tar: rootfs/dev/console: Cannot mknod: Operation not permitted
tar: rootfs/dev/fb1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptyp7: Cannot mknod: Operation not permitted
tar: rootfs/dev/hda7: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyp1: Cannot mknod: Operation not permitted
tar: rootfs/dev/ptmx: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyS3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyAM0: Cannot mknod: Operation not permitted
tar: rootfs/dev/mtd3: Cannot mknod: Operation not permitted
tar: rootfs/dev/ttyP0: Cannot mknod: Operation not permitted
tar: rootfs/dev/hdb7: Cannot mknod: Operation not permitted
tar: Exiting with failure status due to previous errors

所以,很明显,是没有权限,所以重新用sudo去解压,就没有权限问题了:

crifan@ubuntu:RootFileSystem$ sudo tar xjf rootfilesystem.tar.bz2

可以看到,已经有了对应的文件夹了:

crifan@ubuntu:RootFileSystem$ ls -lha
total 18M
drwxrwxr-x  4 crifan crifan 4.0K Aug 21 19:48 .
drwxrwxr-x  6 crifan crifan 4.0K Jul 21 18:29 ..
drwxrwxr-x  2 crifan crifan 4.0K Jul 21 18:29 CVS
-rwxrwxr-x  1 crifan crifan 119K Jun  4 06:50 mkfs.jffs2
-rwxrwxr-x  1 crifan crifan  642 Jun  4 06:50 notes
-rwxrwxr-x  1 crifan crifan  17M Jun  4 06:50 rootfilesystem.tar.bz2
drwxr-xr-x 18 crifan crifan 4.0K Aug 17  2012 rootfs

3.再去看看mkfs.jffs2的用法:

crifan@ubuntu:RootFileSystem$ ./mkfs.jffs2 --help
mkfs.jffs2: Usage: mkfs.jffs2 [OPTIONS]
Make a JFFS2 file system image from an existing directory tree

Options:
  -p, --pad[=SIZE]        Pad output to SIZE bytes with 0xFF. If SIZE is
                          not specified, the output is padded to the end of
                          the final erase block
  -r, -d, --root=DIR      Build file system from directory DIR (default: cwd)
  -s, --pagesize=SIZE     Use page size (max data node size) SIZE (default: 4KiB)
  -e, --eraseblock=SIZE   Use erase block size SIZE (default: 64KiB)
  -c, --cleanmarker=SIZE  Size of cleanmarker (default 12)
  -m, --compr-mode=MODE   Select compression mode (default: priortiry)
  -x, --disable-compressor=COMPRESSOR_NAME
                          Disable a compressor
  -X, --enable-compressor=COMPRESSOR_NAME
                          Enable a compressor
  -y, --compressor-priority=PRIORITY:COMPRESSOR_NAME
                          Set the priority of a compressor
  -L, --list-compressors  Show the list of the avaiable compressors
  -t, --test-compression  Call decompress and compare with the original (for test)
  -n, --no-cleanmarkers   Don't add a cleanmarker to every eraseblock
  -o, --output=FILE       Output to FILE (default: stdout)
  -l, --little-endian     Create a little-endian filesystem
  -b, --big-endian        Create a big-endian filesystem
  -D, --devtable=FILE     Use the named FILE as a device table file
  -f, --faketime          Change all file times to '0' for regression testing
  -q, --squash            Squash permissions and owners making all files be owned by root
  -U, --squash-uids       Squash owners making all files be owned by root
  -P, --squash-perms      Squash permissions on all files
      --with-xattr        stuff all xattr entries into image
      --with-selinux      stuff only SELinux Labels into jffs2 image
      --with-posix-acl    stuff only POSIX ACL entries into jffs2 image
  -h, --help              Display this help text
  -v, --verbose           Verbose operation
  -V, --version           Display version information
  -i, --incremental=FILE  Parse FILE and generate appendage output for it

可见,几个常用的参数:

-d,表示指定你的rootfs文件夹

-e,表示eraseblock,即nand flash的block的大小。

-o,表示输出文件

-n,表示不需要cleanmarker ->关于这个事情,经常会遇到jffs2的cleanmarker的警告,好像的确很烦人的,用此参数,貌似就可以消除此警告了?(待确认此点)

4.然后开始真正去制作rootfs镜像,结果没权限:

crifan@ubuntu:RootFileSystem$ ./mkfs.jffs2 -d ./rootfs -v -e 131072 -n -o rootfs.jffs2
mkfs.jffs2: /home/crifan/develop/crosscompile/wihart_gateway_6_0/WiHART_Gateway_6_0/WiHART_Gateway_6_0/BSP/RootFileSystem/rootfs/etc/lighttpd/ssl/domain.com/server.pem: Permission denied

再重新用sudo去执行:

crifan@ubuntu:RootFileSystem$ sudo ./mkfs.jffs2 -d ./rootfs -v -e 131072 -n -o rootfs.jffs2
/
	f 0600      1209 (      480)     0:0   .bash_history
	d 0755         0                 0:0   bin
	d 0755         0                 0:0   dev
	d 0755         0                 0:0   etc
	d 0755         0                 0:0   heartbeat
	d 0755         0                 0:0   home
	d 0755         0                 0:0   html
	d 0755         0                 0:0   lib
	l 0777        11                 0:0   linuxrc -> bin/busybox
	d 0755         0                 0:0   man
	d 0755         0                 0:0   mnt
	d 0755         0                 0:0   proc
	d 0755         0                 0:0   root
	d 0755         0                 0:0   sbin
	d 0755         0                 0:0   sys
	d 0755         0                 0:0   tmp
	d 0755         0                 0:0   usr
	d 0755         0                 0:0   var
/bin
	l 0777         7                 0:0   addgroup -> busybox
	l 0777         7                 0:0   adduser -> busybox
	l 0777         7                 0:0   ash -> busybox
	l 0777         7                 0:0   awk -> busybox
	f 0755    659504 (   375680)     0:0   bash
	l 0777         7                 0:0   bbconfig -> busybox
	f 4755   1048664 (   656294)     0:0   busybox
	l 0777         7                 0:0   cat -> busybox
	l 0777         7                 0:0   catv -> busybox
	l 0777         7                 0:0   chattr -> busybox
	l 0777         7                 0:0   chgrp -> busybox
	l 0777         7                 0:0   chmod -> busybox
	l 0777         7                 0:0   chown -> busybox
	f 0755      2418 (     1064)     0:0   configure-ssl
	l 0777         7                 0:0   cp -> busybox
	l 0777         7                 0:0   cpio -> busybox
	l 0777         7                 0:0   cut -> busybox
	l 0777         7                 0:0   date -> busybox
	l 0777         7                 0:0   dd -> busybox
	l 0777         7                 0:0   delgroup -> busybox
	l 0777         7                 0:0   deluser -> busybox
	l 0777         7                 0:0   df -> busybox
	l 0777         7                 0:0   dmesg -> busybox
	l 0777         7                 0:0   dumpkmap -> busybox
	l 0777         7                 0:0   echo -> busybox
	l 0777         7                 0:0   ed -> busybox
	l 0777         7                 0:0   egrep -> busybox
	l 0777         7                 0:0   false -> busybox
	l 0777         7                 0:0   fdflush -> busybox
	l 0777         7                 0:0   fgrep -> busybox
	l 0777         7                 0:0   getopt -> busybox
	l 0777         7                 0:0   grep -> busybox
	l 0777         7                 0:0   gunzip -> busybox
	l 0777         7                 0:0   gzip -> busybox
	l 0777         7                 0:0   head -> busybox
	l 0777         7                 0:0   hostname -> busybox
	l 0777         7                 0:0   hush -> busybox
	f 0755     35544 (    18155)     0:0   hwclock
	l 0777         7                 0:0   ip -> busybox
	l 0777         7                 0:0   ipaddr -> busybox
	l 0777         7                 0:0   ipcalc -> busybox
	l 0777         7                 0:0   iplink -> busybox
	l 0777         7                 0:0   iproute -> busybox
	l 0777         7                 0:0   iptunnel -> busybox
	l 0777         7                 0:0   kill -> busybox
	l 0777         7                 0:0   lash -> busybox
	f 0755    529392 (   295559)     0:0   ldconfig
	l 0777         7                 0:0   linux32 -> busybox
	l 0777         7                 0:0   linux64 -> busybox
	l 0777         7                 0:0   ln -> busybox
	l 0777         7                 0:0   login -> busybox
	f 0755    127922 (    65127)     0:0   lrb
	f 0755    127922 (    65439)     0:0   lrx
	f 0755    127922 (    65127)     0:0   lrz
	l 0777         7                 0:0   ls -> busybox
	l 0777         7                 0:0   lsattr -> busybox
	f 0755    135777 (    69714)     0:0   lsb
	f 0755    135777 (    69346)     0:0   lsx
	f 0755    135777 (    69566)     0:0   lsz
	f 0755     11679 (     5109)     0:0   makeweb
	l 0777         7                 0:0   mkdir -> busybox
	l 0777         7                 0:0   mknod -> busybox
	l 0777         7                 0:0   mktemp -> busybox
	l 0777         7                 0:0   more -> busybox
	f 4755     83897 (    42273)     0:0   mount
	l 0777         7                 0:0   mountpoint -> busybox
	l 0777         7                 0:0   msh -> busybox
	l 0777         7                 0:0   mt -> busybox
	l 0777         7                 0:0   mv -> busybox
	l 0777         7                 0:0   netstat -> busybox
	l 0777         7                 0:0   nice -> busybox
	l 0777         7                 0:0   pidof -> busybox
	l 0777         7                 0:0   ping -> busybox
	l 0777         7                 0:0   ping6 -> busybox
	l 0777         7                 0:0   pipe_progress -> busybox
	l 0777         7                 0:0   printenv -> busybox
	f 0755     67708 (    35578)     0:0   ps
	l 0777         7                 0:0   pwd -> busybox
	l 0777         7                 0:0   rm -> busybox
	l 0777         7                 0:0   rmdir -> busybox
	l 0777         7                 0:0   rpm -> busybox
	l 0777         7                 0:0   run-parts -> busybox
	f 0755    126873 (    62351)     0:0   scp
	l 0777         7                 0:0   sed -> busybox
	l 0777         7                 0:0   setarch -> busybox
	f 0755    178292 (    89643)     0:0   sftp
	l 0777         4                 0:0   sh -> bash
	l 0777         7                 0:0   sleep -> busybox
	f 0755   1852874 (   807258)     0:0   slogin
	f 0755   1852874 (   806963)     0:0   ssh
	f 0755   1345370 (   529170)     0:0   ssh-add
	f 0755   1242300 (   484139)     0:0   ssh-agent
	f 0755   1395182 (   556853)     0:0   ssh-keygen
	f 0755   1122777 (   489838)     0:0   ssh-keyscan
	f 0755    331484 (   192316)     0:0   sshd
	l 0777         7                 0:0   stat -> busybox
	l 0777         7                 0:0   stty -> busybox
	l 0777         7                 0:0   su -> busybox
	l 0777         7                 0:0   sync -> busybox
	l 0777         7                 0:0   tar -> busybox
	f 0555     96894 (    48430)     0:0   thttpd
	l 0777         7                 0:0   touch -> busybox
	l 0777         7                 0:0   true -> busybox
	f 4755     46759 (    23558)     0:0   umount
	l 0777         7                 0:0   uname -> busybox
	l 0777         7                 0:0   uncompress -> busybox
	l 0777         7                 0:0   usleep -> busybox
	l 0777         7                 0:0   vi -> busybox
	l 0777         7                 0:0   watch -> busybox
	l 0777         7                 0:0   zcat -> busybox
/dev
	c 0644    5,   1                 0:0   console
	f 0755      3700 (      983)     0:0   dev.sh
	f 0644      7820 (     1380)     0:0   dev.txt
	c 0640   29,   0                 0:0   fb0
	c 0640   29,  32                 0:0   fb1
	c 0640   29,  64                 0:0   fb2
	c 0640   29,  96                 0:0   fb3
	b 0640    3,   0                 0:0   hda
	b 0640    3,   1                 0:0   hda1
	b 0640    3,   2                 0:0   hda2
	b 0640    3,   3                 0:0   hda3
	b 0640    3,   4                 0:0   hda4
	b 0640    3,   5                 0:0   hda5
	b 0640    3,   6                 0:0   hda6
	b 0640    3,   7                 0:0   hda7
	b 0640    3,   8                 0:0   hda8
	b 0640    3,  64                 0:0   hdb
	b 0640    3,  65                 0:0   hdb1
	b 0640    3,  66                 0:0   hdb2
	b 0640    3,  67                 0:0   hdb3
	b 0640    3,  68                 0:0   hdb4
	b 0640    3,  69                 0:0   hdb5
	b 0640    3,  70                 0:0   hdb6
	b 0640    3,  71                 0:0   hdb7
	b 0640    3,  72                 0:0   hdb8
	c 0640    1,   2                 0:0   kmem
	b 0640    7,   0                 0:0   loop0
	b 0640    7,   1                 0:0   loop1
	c 0640    1,   1                 0:0   mem
	b 0644  254,   0                 0:0   mmcblk0
	b 0644  254,   1                 0:0   mmcblk1
	b 0644  254,   2                 0:0   mmcblk2
	b 0644  254,   3                 0:0   mmcblk3
	b 0644  254,   4                 0:0   mmcblk4
	b 0644  254,   5                 0:0   mmcblk5
	b 0644  254,   6                 0:0   mmcblk6
	c 0640   90,   0                 0:0   mtd0
	c 0640   90,   2                 0:0   mtd1
	c 0640   90,   4                 0:0   mtd2
	c 0640   90,   6                 0:0   mtd3
	c 0640   90,   8                 0:0   mtd4
	c 0640   90,  10                 0:0   mtd5
	c 0640   90,  12                 0:0   mtd6
	b 0640   31,   0                 0:0   mtdblock0
	b 0640   31,   1                 0:0   mtdblock1
	b 0640   31,   2                 0:0   mtdblock2
	b 0640   31,   3                 0:0   mtdblock3
	b 0640   31,   4                 0:0   mtdblock4
	b 0640   31,   5                 0:0   mtdblock5
	b 0640   31,   6                 0:0   mtdblock6
	d 0755         0                 0:0   net
	c 0644    1,   3                 0:0   null
	c 0644  108,   0                 0:0   ppp
	c 0644   10,   1                 0:0   psaux
	c 0644    5,   2                 0:0   ptmx
	d 0755         0                 0:0   pts
	c 0644    2,   0                 0:0   ptyp0
	c 0644    2,   1                 0:0   ptyp1
	c 0644    2,   2                 0:0   ptyp2
	c 0644    2,   3                 0:0   ptyp3
	c 0644    2,   4                 0:0   ptyp4
	c 0644    2,   5                 0:0   ptyp5
	c 0644    2,   6                 0:0   ptyp6
	c 0644    2,   7                 0:0   ptyp7
	c 0644    2,   8                 0:0   ptyp8
	c 0644    2,   9                 0:0   ptyp9
	b 0640    1,   1                 0:0   ram
	b 0640    1,   0                 0:0   ram0
	b 0640    1,   1                 0:0   ram1
	b 0640    1,   2                 0:0   ram2
	b 0640    1,   3                 0:0   ram3
	c 0644    1,   8                 0:0   random
	l 0777         4                 0:0   rtc -> rtc0
	c 0644  254,   0                 0:0   rtc0
	b 0640    8,   0                 0:0   sda
	b 0640    8,   1                 0:0   sda1
	b 0640    8,   2                 0:0   sda2
	b 0640    8,   3                 0:0   sda3
	b 0640    8,   4                 0:0   sda4
	b 0640    8,   5                 0:0   sda5
	b 0640    8,   6                 0:0   sda6
	b 0640    8,   7                 0:0   sda7
	b 0640    8,   8                 0:0   sda8
	d 0755         0                 0:0   shm
	c 0644    5,   0                 0:0   tty
	c 0644    4,   0                 0:0   tty0
	c 0644    4,   1                 0:0   tty1
	c 0644    4,   2                 0:0   tty2
	c 0644    4,   3                 0:0   tty3
	c 0644    4,   4                 0:0   tty4
	c 0644    4,   5                 0:0   tty5
	c 0644    4,   6                 0:0   tty6
	c 0644    4,   7                 0:0   tty7
	c 0644  204,  16                 0:0   ttyAM0
	c 0644  204,  17                 0:0   ttyAM1
	c 0644  204,  18                 0:0   ttyAM2
	c 0644  204,  19                 0:0   ttyAM3
	c 0644   57,   0                 0:0   ttyP0
	c 0644   57,   1                 0:0   ttyP1
	c 0644   57,   2                 0:0   ttyP2
	c 0644   57,   3                 0:0   ttyP3
	c 0644    4,  64                 0:0   ttyS0
	c 0600    4,  65                 0:0   ttyS1
	c 0644    4,  66                 0:0   ttyS2
	c 0644    4,  67                 0:0   ttyS3
	c 0644    4,  68                 0:0   ttyW0
	c 0644  127,   0                 0:0   ttygserial
	c 0644    3,   0                 0:0   ttyp0
	c 0644    3,   1                 0:0   ttyp1
	c 0644    3,   2                 0:0   ttyp2
	c 0644    3,   3                 0:0   ttyp3
	c 0644    3,   4                 0:0   ttyp4
	c 0644    3,   5                 0:0   ttyp5
	c 0644    3,   6                 0:0   ttyp6
	c 0644    3,   7                 0:0   ttyp7
	c 0644    3,   8                 0:0   ttyp8
	c 0644    3,   9                 0:0   ttyp9
	b 0640   98,   0                 0:0   ubda
	b 0640   98,   1                 0:0   ubda1
	b 0640   98,   2                 0:0   ubda2
	b 0640   98,   3                 0:0   ubda3
	b 0640   98,   4                 0:0   ubda4
	b 0640   98,   5                 0:0   ubda5
	b 0640   98,   6                 0:0   ubda6
	b 0640   98,   7                 0:0   ubda7
	b 0640   98,   8                 0:0   ubda8
	c 0644    1,   9                 0:0   urandom
	c 0644    1,   5                 0:0   zero
/dev/net
/dev/pts
/dev/shm
/etc
	f 0644      3820 (     1879)     0:0   DIR_COLORS
	f 0644        48 (      116)     0:0   adjtime
	f 0644       318 (      274)     0:0   boot_env.conf
	f 0644        49 (      117)     0:0   busybox.conf
	f 0644       123 (      158)     0:0   dustmgr-version
	f 0644         4 (       72)     0:0   firmware-revision
	f 0644       377 (      261)     0:0   fstab
	f 0644       731 (      473)     0:0   group
	f 0644         9 (       77)     0:0   gshadow
	d 0755         0                 0:0   ha.d
	f 0644        17 (       85)     0:0   host.conf
	f 0644         8 (       76)     0:0   hostname
	f 0644         8 (       76)     0:0   hostname.orig
	f 0644        28 (       96)     0:0   hosts
	f 0644       162 (      207)     0:0   hosts.allow
	f 0644       346 (      307)     0:0   hosts.deny
	f 0644        28 (       96)     0:0   hosts.orig
	d 0755         0                 0:0   init.d
	f 0644       497 (      329)     0:0   inittab
	f 0644       402 (      307)     0:0   inittab.orig
	f 0644       709 (      431)     0:0   inputrc
	f 0644       705 (      500)     0:0   ipkg.conf
	f 0644       687 (      490)     0:0   ipkg.conf.default
	f 0644      5265 (     1537)     0:0   ld.so.cache
	f 0644         0 (        0)     0:0   ld.so.conf
	d 0755         0                 0:0   lighttpd
	f 0755     11943 (     4353)     0:0   lighttpd.conf
	f 0644      1017 (      878)     0:0   localtime
	f 0644      1017 (      878)     0:0   localtime.default
	d 0755         0                 0:0   logrotate.d
	d 0755         0                 0:0   manager.d
	f 0644     13127 (     4639)     0:0   mime.types
	f 0644        80 (      148)     0:0   modules
	f 0644       201 (      211)     0:0   modules.conf
	f 0644       234 (      211)     0:0   mtab
	d 0755         0                 0:0   network
	f 0644      1173 (      654)     0:0   nsswitch.conf
	f 0644       714 (      469)     0:0   ntp.conf
	f 0644       711 (      469)     0:0   ntp.conf.default
	f 0644         6 (       74)     0:0   ntp.drift
	f 0644      2027 (      940)     0:0   passwd
	f 0644      2027 (      940)     0:0   passwd.default
	f 0644      2027 (      940)     0:0   passwd.orig
	d 0755         0                 0:0   pcmcia
	d 0755         0                 0:0   ppp
	f 0644       289 (      266)     0:0   printcap
	f 0644       485 (      395)     0:0   profile
	f 0644       485 (      395)     0:0   profile.orig
	f 0644      2627 (     1665)     0:0   protocols
	f 0644       683 (      416)     0:0   rc.conf
	f 0755       185 (      212)     0:0   rc.local
	d 0755         0                 0:0   rc0.d
	d 0755         0                 0:0   rc1.d
	d 0755         0                 0:0   rc2.d
	d 0755         0                 0:0   rc3.d
	d 0755         0                 0:0   rc4.d
	d 0755         0                 0:0   rc5.d
	d 0755         0                 0:0   rc6.d
	f 0755      1521 (      774)     0:0   rcS
	f 0644        24 (       92)     0:0   resolv.conf
	f 0644         0 (        0)     0:0   securetty
	f 0644      5974 (     1990)     0:0   services
	f 0600      1353 (      513)     0:0   shadow
	f 0600      1353 (      513)     0:0   shadow-
	f 0644      1174 (      387)     0:0   shadow-.default
	f 0600      1332 (      491)     0:0   shadow.bak
	f 0600      1353 (      513)     0:0   shadow.default
	f 0644        93 (      117)     0:0   shells
	d 0500         0                 0:0   ssh
	f 0440      1893 (      817)     0:0   sudoers
	d 0755         0                 0:0   templates.d
	f 0644        44 (      112)     0:0   ttyS0.conf
	f 0644        44 (      112)     0:0   ttyS0.conf.default
	f 0644       276 (      298)     0:0   ttyS1.conf
	f 0644       276 (      298)     0:0   ttyS1.conf.default
	f 0644        11 (       79)     0:0   tzRegion
	f 0644        11 (       79)     0:0   tzRegion.default
	d 0755         0                 0:0   whgsscripts
/etc/ha.d
	f 0644       722 (      434)     0:0   README.config
	f 0600        42 (      110)     0:0   authkeys
	f 0755       729 (      488)     0:0   ha.cf
	f 0755       650 (      463)     0:0   harc
	f 0755        35 (      103)     0:0   haresources
	d 0755         0                 0:0   rc.d
	d 0755         0                 0:0   resource.d
	f 0644      3843 (     1660)     0:0   shellfuncs
/etc/ha.d/rc.d
	f 0755      1326 (      799)     0:0   ask_resources
	f 0755       323 (      294)     0:0   hb_takeover
	f 0755      1255 (      796)     0:0   ip-request
	f 0755      1031 (      681)     0:0   ip-request-resp
	f 0755        80 (      148)     0:0   status
/etc/ha.d/resource.d
	f 0755      2103 (     1127)     0:0   AudibleAlarm
	f 0755      1377 (      641)     0:0   Delay
	f 0755      7345 (     3487)     0:0   Filesystem
	f 0755      4137 (     1827)     0:0   ICP
	f 0755     25684 (    11905)     0:0   IPaddr
	f 0755      8134 (     3812)     0:0   IPaddr2
	f 0755      5258 (     2706)     0:0   IPsrcaddr
	f 0755     33488 (    17364)     0:0   IPv6addr
	f 0755      3534 (     1572)     0:0   LVM
	f 0755      5525 (     2767)     0:0   LinuxSCSI
	f 0755      1849 (     1083)     0:0   MailTo
	f 0755      2900 (     1356)     0:0   OCF
	f 0755      6826 (     3263)     0:0   Raid1
	f 0755      3331 (     1579)     0:0   SendArp
	f 0755      9000 (     4085)     0:0   ServeRAID
	f 0755      9626 (     4612)     0:0   WAS
	f 0755      1904 (     1098)     0:0   WinPopup
	f 0755      2659 (     1255)     0:0   Xinetd
	f 0755      8471 (     4023)     0:0   apache
	f 0755      5667 (     2679)     0:0   db2
	f 0755       993 (      581)     0:0   ha-manager
	f 0755      4227 (     1886)     0:0   portblock
/etc/init.d
	f 0755      1909 (     1009)     0:0   bootmisc.sh
	f 0755       731 (      477)     0:0   checkfs.sh
	f 0755      3165 (     1620)     0:0   checkroot.sh
	f 0755     15564 (     5674)     0:0   dcc
	f 0555       599 (      437)     0:0   dyn_nodes
	f 0755       874 (      463)     0:0   filesystems
	f 0755       281 (      282)     0:0   halt
	f 0755     23989 (    10876)     0:0   heartbeat
	f 0755       128 (      177)     0:0   hostname.sh
	f 0755      1024 (      611)     0:0   hwclock.sh
	f 0755       834 (      492)     0:0   manager-standby
	f 0755       949 (      606)     0:0   modutils
	f 0755       627 (      465)     0:0   mountall.sh
	f 0755       932 (      559)     0:0   mountmmc
	f 0755       565 (      331)     0:0   networking
	f 0755      1131 (      604)     0:0   ntpd
	f 0555      3516 (     1533)     0:0   pcmcia
	f 0755      1070 (      511)     0:0   portmap
	f 0755       197 (      238)     0:0   reboot
	f 0755       516 (      338)     0:0   restore-factory-script
	f 0755       218 (      237)     0:0   sendsigs
	f 0755      1753 (      846)     0:0   skeleton
	f 0755      1712 (      607)     0:0   sshd
	f 0755       794 (      442)     0:0   stunnel
	f 0744      1360 (      742)     0:0   syslog
	f 0755       943 (      499)     0:0   thttpd
	f 0755       430 (      358)     0:0   umountfs
/etc/lighttpd
	d 0755         0                 0:0   ssl
/etc/lighttpd/ssl
	d 0600         0                 0:0   domain.com
/etc/lighttpd/ssl/domain.com
	f 0644      2160 (     1554)     0:0   server.pem
/etc/logrotate.d
	f 0644        72 (      125)     0:0   heartbeat
/etc/manager.d
	f 0755      4750 (     1865)     0:0   common-funcs
	f 0644      3168 (     1091)     0:0   constants
	f 0755      2023 (      393)     0:0   datalog.conf
	f 0644      2023 (      393)     0:0   datalog.conf.default
	f 0755      2530 (      445)     0:0   dcc.conf
	f 0600       317 (      229)     0:0   gpio.conf
	f 0755      3426 (      616)     0:0   serial.conf
	f 0644      3426 (      616)     0:0   serial.conf.default
	f 0755      2047 (      400)     0:0   watchdog.conf
	f 0644      2047 (      395)     0:0   watchdog.conf.default
	f 0755      2045 (      402)     0:0   xmlrpc.conf
	f 0644      2045 (      402)     0:0   xmlrpc.conf.default
/etc/network
	d 0755         0                 0:0   if-down.d
	d 0755         0                 0:0   if-post-down.d
	d 0755         0                 0:0   if-pre-up.d
	d 0755         0                 0:0   if-up.d
	f 0644         0 (        0)     0:0   ifstate
	f 0644       488 (      338)     0:0   interfaces
	f 0644       360 (      279)     0:0   interfaces.dhcp
	f 0644       488 (      339)     0:0   interfaces.eth0
	f 0644       360 (      279)     0:0   interfaces.eth1
	f 0644       440 (      324)     0:0   interfaces.old
	f 0644       440 (      324)     0:0   interfaces.orig
	f 0644       440 (      324)     0:0   interfaces.static
/etc/network/if-down.d
/etc/network/if-post-down.d
/etc/network/if-pre-up.d
	f 0755       749 (      461)     0:0   config-mac-addr
/etc/network/if-up.d
/etc/pcmcia
	f 0755      6389 (     3010)     0:0   network
	f 0644      1501 (      875)     0:0   network.opts
	f 0644      1501 (      875)     0:0   network.opts.orig
/etc/ppp
	f 0644       371 (      314)     0:0   options
	f 0644       371 (      314)     0:0   options.default
	f 0644       456 (      365)     0:0   options.orig
	f 0644       179 (      212)     0:0   options.ttyS0
	f 0644       241 (      255)     0:0   options.ttyS1
	f 0644       241 (      255)     0:0   options.ttyS1.default
	f 0644        34 (      102)     0:0   winclient.chat
/etc/rc0.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755      1043 (      516)     0:0   oldS95http-redirect
/etc/rc1.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5908)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/rc2.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/rc3.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/rc4.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/rc5.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/rc6.d
	f 0755      1024 (      611)     0:0   K25hwclock
	f 0755       128 (      177)     0:0   S05hostname
	f 0755       874 (      463)     0:0   S10filesystems
	f 0755       949 (      606)     0:0   S11modutils
	f 0755      1024 (      611)     0:0   S15hwclock
	f 0755       565 (      331)     0:0   S15networking
	f 0755      1128 (      604)     0:0   S30ntpd
	f 0755       932 (      559)     0:0   S40mountmmc
	f 0755      1070 (      511)     0:0   S40portmap
	f 0755      1712 (      607)     0:0   S50sshd
	f 0755       335 (      279)     0:0   S57restore-factory
	f 0755     15252 (     5562)     0:0   S60dcc
	f 0755       943 (      499)     0:0   S80thttpd
	f 0755       794 (      442)     0:0   S90stunnel
	f 0755      1043 (      516)     0:0   S95http-redirect
/etc/ssh
	f 0500    132839 (    23775)     0:0   moduli
	f 0755      1418 (      783)     0:0   ssh_config
	f 0500       668 (      612)     0:0   ssh_host_dsa_key
	f 0500       602 (      571)     0:0   ssh_host_dsa_key.pub
	f 0500      1675 (     1366)     0:0   ssh_host_rsa_key
	f 0500       394 (      413)     0:0   ssh_host_rsa_key.pub
	f 0755      2986 (     1486)     0:0   sshd_config
/etc/templates.d
	f 0644       672 (      469)     0:0   ntp.conf
	f 0644       890 (      546)     0:0   stunnel.conf
	f 0644        62 (      195)     0:0   tty.conf
/etc/whgsscripts
	f 0644      2353 (      824)     0:0   StartWHGS.sh
	f 0644       986 (      608)     0:0   bootscript.sh
	f 0644       890 (      310)     0:0   creatlinks.sh
	f 0644      7534 (     1980)     0:0   firmWareUpgrade.sh
	f 0644        92 (      140)     0:0   newFirmWare.sh
	f 0644       205 (      228)     0:0   rssi.sh
	f 0644       427 (      322)     0:0   wpa.sh
/heartbeat
	f 0755     25200 (    13434)     0:0   send_arp
/home
	d 0755         0                 0:0   dcc
	d 0755         0                 0:0   dust
	d 0755         0                 0:0   dustcli
	f 0755     12560 (     5467)     0:0   gpio
	d 0755         0                 0:0   install
	f 0755     15671 (     6932)     0:0   ser
/home/dcc
/home/dust
/home/dustcli
/home/install
	l 0777         1                 0:0   openssh -> /
/html
	d 0755         0                 0:0   CVS
	f 0755      9163 (     2505)     0:0   Configuration_General.htm
	f 0755     54216 (     7464)     0:0   Configuration_IP_Configuration.htm
	f 0755     13031 (     2583)     0:0   Configuration_Modbus_Slave.htm
	f 0755      5630 (     1664)     0:0   Configuration_Passwords.htm
	f 0755     12926 (     2935)     0:0   Configuration_StoreRetrieveSettings.htm
	f 0755      3700 (     1169)     0:0   Configuration_WHART_Gateway_Profile.htm
	f 0755     13590 (     3145)     0:0   Configuration_WHART_Motes.htm
	f 0755      5932 (     1578)     0:0   Configuration_WHART_Motes_Statastics.htm
	f 0755      3482 (      913)     0:0   Configuration_WHART_Motes_default.htm
	f 0755     26491 (     4989)     0:0   Configuration_WHART_Network.htm
	f 0755     33207 (     6615)     0:0   Configuration_WLAN_Security.htm
	f 0755     21154 (     4393)     0:0   Configuration_WLAN_Settings.htm
	f 0755      1307 (      573)     0:0   Copyright.htm
	f 0755     14557 (     3194)     0:0   DeviceInformation_General.htm
	f 0644      1170 (      599)     0:0   FirmWareUpgrade.htm
	f 0755      1786 (      861)     0:0   Header.htm
	f 0755      8962 (     2118)     0:0   HomeMain.htm
	f 0755      4774 (     1303)     0:0   Maintenance_Reboot.htm
	f 0755      7660 (     2120)     0:0   Maintenance_SoftwareUpdates.htm
	f 0755      6692 (     1783)     0:0   Maintenance_Utilities.htm
	f 0755      4402 (     1490)     0:0   Monitoring_SystemLog.htm
	f 0755      6882 (     1479)     0:0   Monitoring_WLAN_Performance.htm
	f 0644       496 (      385)     0:0   RestorefactoryDefault.htm
	f 0644       554 (      402)     0:0   SetfactoryDefault.htm
	d 0755         0                 0:0   XML
	d 0755         0                 0:0   cgi-bin
	f 0755       717 (      437)     0:0   download.htm
	f 0755      1166 (      541)     0:0   frame.htm
	f 0644      2397 (      725)     0:0   image.htm
	d 0755         0                 0:0   images
	f 0755       590 (      398)     0:0   index.htm
	f 0755      4548 (     1988)     0:0   login.htm
	f 0755     21440 (     4080)     0:0   menu.htm
	f 0755      4317 (     1433)     0:0   ping_new.htm
	d 0755         0                 0:0   scripts
	f 0644       547 (      396)     0:0   upload.htm
/html/CVS
	f 0644      1840 (      501)     0:0   Entries
	f 0755        49 (      117)     0:0   Repository
	f 0755        52 (      120)     0:0   Root
/html/XML
	d 0755         0                 0:0   CVS
	f 0644       259 (      279)     0:0   DeviceInfo.xml
	f 0755      3481 (     1361)     0:0   currentConfiguration.xml
	f 0755      3470 (     1361)     0:0   defaultConfiguration.xml
	f 0644       259 (      279)     0:0   defaultDeviceInfo.xml
/html/XML/CVS
	f 0644       215 (      169)     0:0   Entries
	f 0755        53 (      121)     0:0   Repository
	f 0755        52 (      120)     0:0   Root
/html/cgi-bin
	d 0755         0                 0:0   CVS
	f 0755       123 (      191)     0:0   Configuration.cgi
	f 0755       124 (      187)     0:0   MoteStat.cgi
	f 0755       148 (      196)     0:0   WlanStatus.cgi
	f 0755        10 (       78)     0:0   aptype
	f 0755       795 (      487)     0:0   download-config.cgi
	f 0755       274 (      282)     0:0   download-log.cgi
	f 0755     12459 (     5758)     0:0   encrypt
	f 0755        22 (       90)     0:0   encryptstatus
	f 0755        15 (       83)     0:0   filestat
	f 0755     13366 (     5876)     0:0   upload
	f 0755      3568 (     1370)     0:0   uploadfile-config.cgi
	f 0755      1536 (      766)     0:0   uploadfile.cgi
	f 0755      1536 (      766)     0:0   uploadfirmwarefile.cgi
	f 0755     17980 (     8305)     0:0   validatePassphrase
	f 0755       222 (      253)     0:0   wbmMain.cgi
	f 0755     77439 (    33323)     0:0   wbmMain.cgi.exec
/html/cgi-bin/CVS
	f 0644       760 (      277)     0:0   Entries
	f 0755        57 (      125)     0:0   Repository
	f 0755        52 (      120)     0:0   Root
/html/images
	d 0755         0                 0:0   CVS
	f 0755       776 (      844)     0:0   Folder.PNG
	f 0755       774 (      842)     0:0   FolderOpened.PNG
	f 0755      3927 (     3995)     0:0   PhoenixLogoLightBkgnd.PNG
	f 0755      9148 (     9352)     0:0   PhoenixLogoLightBkgndNew.PNG
	f 0755      5894 (     5764)     0:0   PhoenixModule.gif
	f 0755     10655 (    10859)     0:0   PhoenixOmnexLightBkgnd.PNG
	f 0755     53776 (    49016)     0:0   RAD-80211-XD-WM.jpg
	f 0755     17459 (    17799)     0:0   RAD_80211_XD.PNG
	f 0755     38373 (    37867)     0:0   RAD_80211_XD_small.jpg
	f 0755       579 (      647)     0:0   Text.PNG
	f 0755       423 (      491)     0:0   TextBlue.PNG
	f 0755        43 (      111)     0:0   spacer.gif
/html/images/CVS
	f 0644       641 (      257)     0:0   Entries
	f 0755        56 (      124)     0:0   Repository
	f 0755        52 (      120)     0:0   Root
/html/scripts
	d 0755         0                 0:0   CVS
	f 0755     14923 (     4060)     0:0   ClientSecurity.js
	f 0755    110485 (    30080)     0:0   Configuration.js
	f 0755      2226 (      953)     0:0   Cookie.js
	f 0755     24982 (     6999)     0:0   Device.js
	f 0755      9577 (     2366)     0:0   LanIpConfig.js
	f 0755     16608 (     4063)     0:0   Main.css
	f 0755     14509 (     4597)     0:0   Main.js
	f 0755     17032 (     3852)     0:0   Main.orig.css
	f 0755     12581 (     4540)     0:0   MainPC.js
	f 0644      4208 (     1275)     0:0   Mote.js
	f 0755      3507 (     1249)     0:0   Passwd.js
	f 0755      1346 (      610)     0:0   Upload.js
	f 0755      1321 (      570)     0:0   UserAuth.css
	f 0755      1100 (      486)     0:0   ip.js
	f 0755        79 (      141)     0:0   login.js
	f 0755     28279 (     6298)     0:0   prev37~.htm
	f 0755     10077 (     4366)     0:0   quirksmode.js
	f 0755      6451 (     2610)     0:0   sort.js
/html/scripts/CVS
	f 0644       777 (      272)     0:0   Entries
	f 0755        57 (      125)     0:0   Repository
	f 0755        52 (      120)     0:0   Root
/lib
	f 0644       546 (      291)     0:0   Mcrt1.o
	f 0644      1855 (      770)     0:0   Scrt1.o
	f 0644      1855 (      770)     0:0   crt1.o
	f 0644      2576 (     1004)     0:0   crti.o
	f 0644      2180 (      783)     0:0   crtn.o
	f 0644      6145 (     1260)     0:0   dustlib.txt
	f 0644      2204 (      925)     0:0   gcrt1.o
	f 0755    113272 (    58971)     0:0   ld-2.3.6.so
	l 0777        11                 0:0   ld-linux.so.2 -> ld-2.3.6.so
	d 0755         0                 0:0   ldscripts
	f 0755      8710 (     3558)     0:0   libBrokenLocale-2.3.6.so
	l 0777        20                 0:0   libBrokenLocale.so -> libBrokenLocale.so.1
	l 0777        24                 0:0   libBrokenLocale.so.1 -> libBrokenLocale-2.3.6.so
	f 0755     18863 (     7482)     0:0   libSegFault.so
	f 0755     17562 (     7821)     0:0   libanl-2.3.6.so
	l 0777        11                 0:0   libanl.so -> libanl.so.1
	l 0777        15                 0:0   libanl.so.1 -> libanl-2.3.6.so
	f 0644     33418 (    15168)     0:0   libbridge.a
	l 0777        19                 0:0   libbusybox.so -> libbusybox.so.1.2.2
	l 0777        19                 0:0   libbusybox.so.1 -> libbusybox.so.1.2.2
	l 0777        19                 0:0   libbusybox.so.1.2 -> libbusybox.so.1.2.2
	f 0644    136140 (    72065)     0:0   libbusybox.so.1.2.2
	f 0755   1425540 (   685136)     0:0   libc-2.3.6.so
	f 0644       195 (      233)     0:0   libc.so
	l 0777        13                 0:0   libc.so.6 -> libc-2.3.6.so
	f 0644       205 (      237)     0:0   libc.so_orig
	f 0755     26885 (    12657)     0:0   libcrypt-2.3.6.so
	l 0777        13                 0:0   libcrypt.so -> libcrypt.so.1
	l 0777        17                 0:0   libcrypt.so.1 -> libcrypt-2.3.6.so
	f 0755     16457 (     7107)     0:0   libdl-2.3.6.so
	l 0777        10                 0:0   libdl.so -> libdl.so.2
	l 0777        14                 0:0   libdl.so.2 -> libdl-2.3.6.so
	l 0777        13                 0:0   libgcc_s.so -> libgcc_s.so.1
	f 0644     62373 (    25961)     0:0   libgcc_s.so.1
	d 0755         0                 0:0   libgcc_s.so.1.dir
	l 0777        11                 0:0   libiw.so -> libiw.so.29
	f 0755     38152 (    17767)     0:0   libiw.so.29
	f 0755    546841 (   347900)     0:0   libm-2.3.6.so
	l 0777         9                 0:0   libm.so -> libm.so.6
	l 0777        13                 0:0   libm.so.6 -> libm-2.3.6.so
	f 0755     22770 (     9633)     0:0   libmemusage.so
	f 0755     91971 (    42043)     0:0   libnsl-2.3.6.so
	l 0777        11                 0:0   libnsl.so -> libnsl.so.1
	l 0777        15                 0:0   libnsl.so.1 -> libnsl-2.3.6.so
	f 0755     37996 (    18429)     0:0   libnss_compat-2.3.6.so
	l 0777        18                 0:0   libnss_compat.so -> libnss_compat.so.2
	l 0777        22                 0:0   libnss_compat.so.2 -> libnss_compat-2.3.6.so
	f 0755     21299 (    10485)     0:0   libnss_dns-2.3.6.so
	l 0777        15                 0:0   libnss_dns.so -> libnss_dns.so.2
	l 0777        19                 0:0   libnss_dns.so.2 -> libnss_dns-2.3.6.so
	f 0755     52785 (    22262)     0:0   libnss_files-2.3.6.so
	l 0777        17                 0:0   libnss_files.so -> libnss_files.so.2
	l 0777        21                 0:0   libnss_files.so.2 -> libnss_files-2.3.6.so
	f 0755     22890 (    10095)     0:0   libnss_hesiod-2.3.6.so
	l 0777        18                 0:0   libnss_hesiod.so -> libnss_hesiod.so.2
	l 0777        22                 0:0   libnss_hesiod.so.2 -> libnss_hesiod-2.3.6.so
	f 0755     50547 (    22869)     0:0   libnss_nis-2.3.6.so
	l 0777        15                 0:0   libnss_nis.so -> libnss_nis.so.2
	l 0777        19                 0:0   libnss_nis.so.2 -> libnss_nis-2.3.6.so
	f 0755     56933 (    24883)     0:0   libnss_nisplus-2.3.6.so
	l 0777        19                 0:0   libnss_nisplus.so -> libnss_nisplus.so.2
	l 0777        23                 0:0   libnss_nisplus.so.2 -> libnss_nisplus-2.3.6.so
	f 0755     10010 (     4170)     0:0   libpcprofile.so
	f 0755    102542 (    40391)     0:0   libpthread-0.10.so
	f 0644       207 (      236)     0:0   libpthread.so
	l 0777        18                 0:0   libpthread.so.0 -> libpthread-0.10.so
	f 0644       217 (      242)     0:0   libpthread.so_orig
	f 0755     82190 (    39258)     0:0   libresolv-2.3.6.so
	l 0777        14                 0:0   libresolv.so -> libresolv.so.2
	l 0777        18                 0:0   libresolv.so.2 -> libresolv-2.3.6.so
	f 0755     47817 (    20928)     0:0   librt-2.3.6.so
	l 0777        10                 0:0   librt.so -> librt.so.1
	l 0777        14                 0:0   librt.so.1 -> librt-2.3.6.so
	f 0755      1494 (      654)     0:0   libstdc++.la
	l 0777        18                 0:0   libstdc++.so -> libstdc++.so.6.0.3
	l 0777        18                 0:0   libstdc++.so.6 -> libstdc++.so.6.0.3
	f 0755   3877197 (  1605006)     0:0   libstdc++.so.6.0.3
	f 0755      1402 (      629)     0:0   libsupc++.la
	f 0755     30536 (    11718)     0:0   libthread_db-1.0.so
	l 0777        17                 0:0   libthread_db.so -> libthread_db.so.1
	l 0777        19                 0:0   libthread_db.so.1 -> libthread_db-1.0.so
	f 0755     14181 (     5924)     0:0   libutil-2.3.6.so
	l 0777        12                 0:0   libutil.so -> libutil.so.1
	l 0777        16                 0:0   libutil.so.1 -> libutil-2.3.6.so
/lib/ldscripts
	f 0644      6644 (     2465)     0:0   armelf.x
	f 0644      6635 (     2461)     0:0   armelf.xbn
	f 0644      6335 (     2444)     0:0   armelf.xc
	f 0644      6644 (     2469)     0:0   armelf.xn
	f 0644      4568 (     1786)     0:0   armelf.xr
	f 0644      6364 (     2445)     0:0   armelf.xs
	f 0644      6072 (     2621)     0:0   armelf.xsc
	f 0644      4614 (     1821)     0:0   armelf.xu
	f 0644      6766 (     2550)     0:0   armelf_linux.x
	f 0644      6670 (     2486)     0:0   armelf_linux.xbn
	f 0644      6457 (     2486)     0:0   armelf_linux.xc
	f 0644      6766 (     2554)     0:0   armelf_linux.xn
	f 0644      4524 (     1765)     0:0   armelf_linux.xr
	f 0644      6461 (     2478)     0:0   armelf_linux.xs
	f 0644      6169 (     2424)     0:0   armelf_linux.xsc
	f 0644      4570 (     1800)     0:0   armelf_linux.xu
/lib/libgcc_s.so.1.dir
	f 0644       202 (      188)     0:0   install.sh
	f 0644     62373 (    25961)     0:0   libgcc_s.so.1
	f 0644       214 (      194)     0:0   uninstall.sh
/man
	d 0755         0                 0:0   man5
	d 0755         0                 0:0   man7
	d 0755         0                 0:0   man8
/man/man5
	f 0644      9235 (     3880)     0:0   iftab.5
/man/man7
	f 0644      2512 (     1204)     0:0   wireless.7
/man/man8
	f 0644      6408 (     3083)     0:0   brctl.8
	f 0644      4987 (     2480)     0:0   ifrename.8
	f 0644     18406 (     8548)     0:0   iwconfig.8
	f 0644      3087 (     1513)     0:0   iwevent.8
	f 0644      2724 (     1311)     0:0   iwgetid.8
	f 0644      3877 (     1660)     0:0   iwlist.8
	f 0644      3060 (     1382)     0:0   iwpriv.8
	f 0644      2911 (     1421)     0:0   iwspy.8
/mnt
	d 0755         0                 0:0   nfs
	d 0755         0                 0:0   ramfs
/mnt/nfs
/mnt/ramfs
	d 0755         0                 0:0   tmp
	d 0755         0                 0:0   var
/mnt/ramfs/tmp
/mnt/ramfs/var
	d 0755         0                 0:0   run
/mnt/ramfs/var/run
	f 0644         3 (       71)     0:0   dcc.pid
	f 0644         3 (       71)     0:0   http-redirect.pid
	f 0644         4 (       72)     0:0   http-redirect_wrapper.pid
	f 0644        16 (       84)     0:0   ifstate
	f 0644         4 (       72)     0:0   stunnel.pid
	f 0644       384 (      116)     0:0   utmp
	f 0644         3 (       71)     0:0   watchdog.pid
	f 0644         3 (       71)     0:0   xmlrpcd.pid
/proc
/root
	d 0700         0                 0:0   .ssh
	f 0755     84292 (    13128)     0:0   DPI.xsd
	f 0755     36825 (     6482)     0:0   DPICommon.xsd
	f 0755      2198 (      677)     0:0   Notifications.xsd
	f 0644      1713 (      788)     0:0   dcc-config.xml
	f 0644      1430 (      716)     0:0   dcc-config.xml.prev
	f 0644      1713 (      788)     0:0   dcc-default.xml
	f 0644     17352 (     4722)     0:0   dcc.ini
	f 0644     17352 (     4722)     0:0   dcc.ini.default
	f 0600        59 (      120)     0:0   smm-default.joinkey
	f 0600        30 (       98)     0:0   smm-default.passwd
	f 0600        59 (      120)     0:0   smm.joinkey
	f 0600        30 (       98)     0:0   smm.passwd
	f 0644        30 (       98)     0:0   smm.passwd.prev
/root/.ssh
	f 0644       393 (      409)     0:0   known_hosts
/sbin
	l 0777        14                 0:0   adjtimex -> ../bin/busybox
	f 0755     60635 (    27334)     0:0   brctl
	l 0777        14                 0:0   cmp -> ../bin/busybox
	l 0777        14                 0:0   devfsd -> ../bin/busybox
	l 0777        14                 0:0   e2fsck -> ../bin/busybox
	l 0777        14                 0:0   e2label -> ../bin/busybox
	l 0777        14                 0:0   fdisk -> ../bin/busybox
	l 0777        14                 0:0   findfs -> ../bin/busybox
	l 0777        14                 0:0   freeramdisk -> ../bin/busybox
	l 0777        14                 0:0   fsck -> ../bin/busybox
	l 0777        14                 0:0   fsck.ext2 -> ../bin/busybox
	l 0777        14                 0:0   fsck.ext3 -> ../bin/busybox
	l 0777        14                 0:0   fsck.minix -> ../bin/busybox
	l 0777        14                 0:0   getty -> ../bin/busybox
	l 0777        14                 0:0   halt -> ../bin/busybox
	l 0777        14                 0:0   hdparm -> ../bin/busybox
	l 0777        14                 0:0   ifconfig -> ../bin/busybox
	l 0777        14                 0:0   ifdown -> ../bin/busybox
	f 0755     30350 (    14580)     0:0   ifrename
	l 0777        14                 0:0   ifup -> ../bin/busybox
	l 0777        14                 0:0   init -> ../bin/busybox
	l 0777        14                 0:0   insmod -> ../bin/busybox
	f 0755     27033 (    13350)     0:0   iwconfig
	f 0755     18273 (     8761)     0:0   iwevent
	f 0755     13781 (     6414)     0:0   iwgetid
	f 0755     35333 (    17405)     0:0   iwlist
	f 0755     15244 (     7407)     0:0   iwpriv
	f 0755     14029 (     6393)     0:0   iwspy
	l 0777        14                 0:0   klogd -> ../bin/busybox
	l 0777        14                 0:0   loadkmap -> ../bin/busybox
	l 0777        14                 0:0   logread -> ../bin/busybox
	l 0777        14                 0:0   losetup -> ../bin/busybox
	l 0777        14                 0:0   lsmod -> ../bin/busybox
	l 0777        14                 0:0   makedevs -> ../bin/busybox
	f 0755     11679 (     5110)     0:0   makeweb
	l 0777        14                 0:0   mdev -> ../bin/busybox
	l 0777        14                 0:0   mke2fs -> ../bin/busybox
	l 0777        14                 0:0   mkfs.ext2 -> ../bin/busybox
	l 0777        14                 0:0   mkfs.ext3 -> ../bin/busybox
	l 0777        14                 0:0   mkfs.minix -> ../bin/busybox
	l 0777        14                 0:0   mkswap -> ../bin/busybox
	l 0777        14                 0:0   modprobe -> ../bin/busybox
	l 0777        14                 0:0   nameif -> ../bin/busybox
	l 0777        14                 0:0   pivot_root -> ../bin/busybox
	f 0755     35950 (    15987)     0:0   portmap
	l 0777        14                 0:0   poweroff -> ../bin/busybox
	l 0777        14                 0:0   reboot -> ../bin/busybox
	l 0777        14                 0:0   rmmod -> ../bin/busybox
	l 0777        14                 0:0   route -> ../bin/busybox
	l 0777        14                 0:0   runlevel -> ../bin/busybox
	l 0777        14                 0:0   setconsole -> ../bin/busybox
	l 0777        14                 0:0   start-stop-daemon -> ../bin/busybox
	l 0777        14                 0:0   sulogin -> ../bin/busybox
	l 0777        14                 0:0   swapoff -> ../bin/busybox
	l 0777        14                 0:0   swapon -> ../bin/busybox
	l 0777        14                 0:0   switch_root -> ../bin/busybox
	l 0777        14                 0:0   sysctl -> ../bin/busybox
	l 0777        14                 0:0   syslogd -> ../bin/busybox
	l 0777        14                 0:0   tune2fs -> ../bin/busybox
	f 0755     19664 (    11388)     0:0   udhcpc
	l 0777        14                 0:0   vconfig -> ../bin/busybox
	l 0777        14                 0:0   watchdog -> ../bin/busybox
	l 0777        14                 0:0   wc -> ../bin/busybox
	l 0777        14                 0:0   zcip -> ../bin/busybox
/sys
/tmp
/usr
	d 0755         0                 0:0   bin
	d 0755         0                 0:0   lib
	d 0755         0                 0:0   sbin
	d 0755         0                 0:0   share
	d 0755         0                 0:0   var
	d 0755         0                 0:0   whgslog
/usr/bin
	f 0644        35 (      103)     0:0   .cvsignore
	f 0755    153788 (    70644)     0:0   captured
	f 2755     11808 (     5900)     0:0   cl_status
	l 0777        17                 0:0   clear -> ../../bin/busybox
	f 0755      1178 (      641)     0:0   clear-motes
	f 0755      2915 (     1332)     0:0   config-login
	f 0755      3252 (     1346)     0:0   config-redundancy
	f 0755      1316 (      598)     0:0   convert-stty-args
	f 0755      3064 (     1286)     0:0   create-network-snapshot
	f 0755      6574 (     2391)     0:0   datalog
	l 0777        11                 0:0   dcc -> dcc-2.2.1.1
	f 0755   1605536 (   848291)     0:0   dcc-2.2.1.1
	l 0777        17                 0:0   diff -> ../../bin/busybox
	f 0755        52 (      120)     0:0   dust-start-serial
	f 0755     20114 (    13709)     0:0   dust_cksum
	f 0755       648 (      450)     0:0   enable-config
	f 0755    182923 (    81537)     0:0   ethtool
	l 0777        17                 0:0   expr -> ../../bin/busybox
	l 0777        17                 0:0   find -> ../../bin/busybox
	f 0755     49872 (    30152)     0:0   find-config-file
	l 0777        17                 0:0   free -> ../../bin/busybox
	l 0777        17                 0:0   id -> ../../bin/busybox
	f 0755       820 (      529)     0:0   ifswitch-to-dhcp
	f 0755      2452 (     1051)     0:0   ifswitch-to-static
	f 0755    119960 (    67315)     0:0   ipkg
	l 0777        17                 0:0   killall -> ../../bin/busybox
	l 0777        17                 0:0   mesg -> ../../bin/busybox
	l 0777        17                 0:0   mkfifo -> ../../bin/busybox
	f 0755    405380 (   198156)     0:0   nwconsole
	l 0777        17                 0:0   passwd -> ../../bin/busybox
	l 0777        17                 0:0   printf -> ../../bin/busybox
	f 0755     27040 (    14616)     0:0   qsdecode
	f 0755      1629 (      721)     0:0   restore-dcc-conf
	f 0755      2776 (      985)     0:0   restore-factory-conf
	f 0755    586296 (   285310)     0:0   seriald
	f 0755       459 (      360)     0:0   set-conf-param
	f 0755      2121 (     1012)     0:0   set-serial
	f 0755      1345 (      647)     0:0   set-serial-func
	f 0755      8307 (     3354)     0:0   set-time
	f 0755     10801 (     4185)     0:0   setup-manager
	f 0755       853 (      569)     0:0   start-serial
	f 4111     90456 (    47922)     0:0   sudo
	l 0777        17                 0:0   telnet -> ../../bin/busybox
	l 0777        17                 0:0   tftp -> ../../bin/busybox
	l 0777        17                 0:0   top -> ../../bin/busybox
	l 0777        17                 0:0   traceroute -> ../../bin/busybox
	f 0755     19664 (    11388)     0:0   udhcpc
	l 0777        17                 0:0   unzip -> ../../bin/busybox
	f 0755      2347 (     1162)     0:0   update-redundant-config
	f 2755    110400 (    53315)     0:0   watchdog
	l 0777        17                 0:0   wc -> ../../bin/busybox
	f 0755    110400 (    53040)     0:0   wdserver
	d 0755         0                 0:0   whgsbin
	l 0777        17                 0:0   which -> ../../bin/busybox
	l 0777        17                 0:0   who -> ../../bin/busybox
	l 0777        17                 0:0   whoami -> ../../bin/busybox
	f 0755   1018124 (   509751)     0:0   xmlrpcd
/usr/bin/whgsbin
	f 0755    687396 (   238957)     0:0   armWHGSMainApp
	f 0755     42738 (    19044)     0:0   daemon
	f 0755     10769 (     4689)     0:0   getenv
	f 0755     10542 (     4599)     0:0   getmac
	f 0755    261944 (   112790)     0:0   lighttpd
	f 0755     14877 (     6623)     0:0   motestat
	f 0755     10738 (     4679)     0:0   restore-whgs-conf
	f 0755     12495 (     5475)     0:0   rssi
	f 0755     10206 (     4315)     0:0   timer
	f 0755     16466 (     7175)     0:0   wpa
	f 0755   2196572 (  1150655)     0:0   wpa_supplicant
/usr/lib
	d 0755         0                 0:0   heartbeat
	d 0755         0                 0:0   ipkg
	l 0777        17                 0:0   libapphb.so -> libapphb.so.0.0.0
	l 0777        17                 0:0   libapphb.so.0 -> libapphb.so.0.0.0
	f 0755      6460 (     3131)     0:0   libapphb.so.0.0.0
	f 0644     33418 (    15168)     0:0   libbridge.a
	f 0755    136140 (    72072)     0:0   libbusybox.so
	f 0755    136140 (    71870)     0:0   libbusybox.so.1
	f 0755    136140 (    72105)     0:0   libbusybox.so.1.2
	f 0755    136140 (    71870)     0:0   libbusybox.so.1.2.2
	l 0777        16                 0:0   libckpt.so -> libckpt.so.0.0.0
	l 0777        16                 0:0   libckpt.so.0 -> libckpt.so.0.0.0
	f 0755     31588 (    15255)     0:0   libckpt.so.0.0.0
	l 0777        14                 0:0   libcrypto.so -> libcrypto.so.0
	l 0777        18                 0:0   libcrypto.so.0 -> libcrypto.so.0.9.7
	f 0555   1264353 (   645268)     0:0   libcrypto.so.0.9.7
	l 0777        12                 0:0   libcurses.a -> libncurses.a
	f 0644    166342 (    71880)     0:0   libdmallocthcxx.a
	f 0644    164830 (    71151)     0:0   libdmallocxx.a
	f 0644    281442 (   109881)     0:0   libedit.a
	f 0755       877 (      591)     0:0   libedit.la
	l 0777        17                 0:0   libedit.so -> libedit.so.0.0.26
	l 0777        17                 0:0   libedit.so.0 -> libedit.so.0.0.26
	f 0755    402397 (   164532)     0:0   libedit.so.0.0.26
	f 0644    305962 (   130405)     0:0   libexpat.a
	f 0644       757 (      513)     0:0   libexpat.la
	l 0777        17                 0:0   libexpat.so -> libexpat.so.0.5.0
	l 0777        17                 0:0   libexpat.so.0 -> libexpat.so.0.5.0
	f 0755    118152 (    60721)     0:0   libexpat.so.0.5.0
	f 0644     88498 (    37237)     0:0   libform.a
	f 0644    442016 (   213457)     0:0   libform_g.a
	l 0777        21                 0:0   libglib-1.2.so.0 -> libglib-1.2.so.0.0.10
	f 0755    378304 (   183486)     0:0   libglib-1.2.so.0.0.10
	f 0644    518116 (   241642)     0:0   libglib.a
	f 0755       713 (      502)     0:0   libglib.la
	l 0777        21                 0:0   libglib.so -> libglib-1.2.so.0.0.10
	l 0777        20                 0:0   libhbclient.so -> libhbclient.so.0.0.0
	l 0777        20                 0:0   libhbclient.so.0 -> libhbclient.so.0.0.0
	f 0755     68044 (    14345)     0:0   libhbclient.so.0.0.0
	f 0644     46770 (    20738)     0:0   libmenu.a
	f 0644    251112 (   123448)     0:0   libmenu_g.a
	f 0755    109358 (    40397)     0:0   libncurses++.a
	f 0644    443568 (   190425)     0:0   libncurses.a
	f 0644   1782470 (   859709)     0:0   libncurses_g.a
	f 0644    467928 (   228141)     0:0   libnet.a
	f 0644     20612 (     7713)     0:0   libpanel.a
	f 0644    107328 (    52251)     0:0   libpanel_g.a
	f 0644    203268 (    88846)     0:0   libpcap.a
	l 0777        16                 0:0   libpils.so -> libpils.so.0.0.0
	l 0777        16                 0:0   libpils.so.0 -> libpils.so.0.0.0
	f 0755     57216 (    27413)     0:0   libpils.so.0.0.0
	l 0777        17                 0:0   libplumb.so -> libplumb.so.0.0.0
	l 0777        17                 0:0   libplumb.so.0 -> libplumb.so.0.0.0
	f 0755     80036 (    39427)     0:0   libplumb.so.0.0.0
	f 0755     49240 (    27520)     0:0   libproc-3.2.7.so
	l 0777        23                 0:0   librecoverymgr.so -> librecoverymgr.so.0.0.0
	l 0777        23                 0:0   librecoverymgr.so.0 -> librecoverymgr.so.0.0.0
	f 0755      6248 (     3087)     0:0   librecoverymgr.so.0.0.0
	l 0777        11                 0:0   libssl.so -> libssl.so.0
	l 0777        15                 0:0   libssl.so.0 -> libssl.so.0.9.7
	f 0555    218950 (   114181)     0:0   libssl.so.0.9.7
	l 0777        19                 0:0   libstonith.so -> libstonith.so.0.0.0
	l 0777        19                 0:0   libstonith.so.0 -> libstonith.so.0.0.0
	f 0755      8244 (     4084)     0:0   libstonith.so.0.0.0
	l 0777        12                 0:0   libtermcap.a -> libncurses.a
	f 0644   4428824 (  1690646)     0:0   libulxmlrpcpp.a
	f 0755       890 (      572)     0:0   libulxmlrpcpp.la
	l 0777        23                 0:0   libulxmlrpcpp.so -> libulxmlrpcpp.so.10.0.0
	l 0777        23                 0:0   libulxmlrpcpp.so.10 -> libulxmlrpcpp.so.10.0.0
	f 0755    751268 (   363222)     0:0   libulxmlrpcpp.so.10.0.0
	f 0755    100824 (    56650)     0:0   libz.a
	d 0755         0                 0:0   pils
	d 0755         0                 0:0   pkgconfig
	d 0755         0                 0:0   stonith
	l 0777        17                 0:0   terminfo -> ../share/terminfo
	d 0755         0                 0:0   whgslib
/usr/lib/heartbeat
	f 0755     12404 (     5249)     0:0   BasicSanityCheck
	f 0755     17692 (     8609)     0:0   ResourceManager
	f 0755       776 (      499)     0:0   TestHeartbeatComm
	f 0755      8456 (     4166)     0:0   api_test
	f 0755      8572 (     4801)     0:0   findif
	f 0755       670 (      463)     0:0   ha_config
	f 0755       698 (      510)     0:0   hb_standby
	f 0755       541 (      435)     0:0   hb_takeover
	f 0755    126856 (    67145)     0:0   heartbeat
	f 0755     13976 (     6966)     0:0   ipctest
	f 0755      7504 (     3808)     0:0   ipctransientclient
	f 0755      7096 (     3574)     0:0   ipctransientserver
	f 0755     13152 (     6540)     0:0   ipfail
	f 0755      1562 (      935)     0:0   mach_down
	d 0755         0                 0:0   plugins
	f 0755      2318 (     1281)     0:0   req_resource
/usr/lib/heartbeat/plugins
	d 0755         0                 0:0   AppHBNotification
	d 0755         0                 0:0   HBauth
	d 0755         0                 0:0   HBcomm
/usr/lib/heartbeat/plugins/AppHBNotification
	f 0644     47080 (    23160)     0:0   recmgr.a
	f 0755      5188 (     2354)     0:0   recmgr.so
/usr/lib/heartbeat/plugins/HBauth
	f 0644     29380 (    15447)     0:0   crc.a
	f 0755      5608 (     3205)     0:0   crc.so
	f 0644     40800 (    19902)     0:0   md5.a
	f 0755      8556 (     4420)     0:0   md5.so
	f 0644     43876 (    21679)     0:0   sha1.a
	f 0755     14476 (     7686)     0:0   sha1.so
/usr/lib/heartbeat/plugins/HBcomm
	f 0644     68872 (    32783)     0:0   bcast.a
	f 0755     13672 (     6540)     0:0   bcast.so
	f 0644     76522 (    36158)     0:0   mcast.a
	f 0755     14012 (     6824)     0:0   mcast.so
	f 0644     67890 (    32836)     0:0   ping.a
	f 0755     11044 (     5321)     0:0   ping.so
	f 0644     72048 (    34477)     0:0   ping_group.a
	f 0755     12704 (     6306)     0:0   ping_group.so
	f 0644     74742 (    35934)     0:0   serial.a
	f 0755     13604 (     6833)     0:0   serial.so
	f 0644     69020 (    32897)     0:0   ucast.a
	f 0755     12804 (     6240)     0:0   ucast.so
/usr/lib/ipkg
	d 0755         0                 0:0   info
	d 0755         0                 0:0   lists
	f 0644      1810 (      730)     0:0   status
/usr/lib/ipkg/info
	f 0644       250 (      264)     0:0   dust-dcc-libs.control
	f 0644       112 (      131)     0:0   dust-dcc-libs.list
	f 0755       177 (      169)     0:0   dust-dcc.conffiles
	f 0644       346 (      320)     0:0   dust-dcc.control
	f 0644       963 (      467)     0:0   dust-dcc.list
	f 0755      4513 (     2034)     0:0   dust-dcc.postinst
	f 0755      2353 (     1182)     0:0   dust-dcc.preinst
	f 0755       359 (      307)     0:0   dust-dcc.prerm
	f 0644       154 (      160)     0:0   dust-system-conf.conffiles
	f 0644       320 (      306)     0:0   dust-system-conf.control
	f 0644       965 (      432)     0:0   dust-system-conf.list
	f 0755      2794 (     1159)     0:0   dust-system-conf.postinst
	f 0755       390 (      321)     0:0   dust-system-conf.preinst
	f 0644       387 (      342)     0:0   dust-web-config.control
	f 0644      4119 (     1266)     0:0   dust-web-config.list
	f 0755      1929 (      858)     0:0   dust-web-config.postinst
	f 0755       150 (      182)     0:0   dust-web-config.prerm
	f 0755        57 (      119)     0:0   heartbeat.conffiles
	f 0755       321 (      315)     0:0   heartbeat.control
	f 0644      4041 (     1036)     0:0   heartbeat.list
	f 0755       542 (      367)     0:0   heartbeat.postinst
	f 0755       169 (      199)     0:0   heartbeat.prerm
/usr/lib/ipkg/lists
/usr/lib/pils
	d 0755         0                 0:0   plugins
/usr/lib/pils/plugins
	d 0755         0                 0:0   InterfaceMgr
/usr/lib/pils/plugins/InterfaceMgr
	f 0644     35122 (    17388)     0:0   generic.a
	f 0755      9112 (     4410)     0:0   generic.so
/usr/lib/pkgconfig
	f 0644       327 (      291)     0:0   libedit.pc
/usr/lib/stonith
	d 0755         0                 0:0   plugins
/usr/lib/stonith/plugins
	d 0755         0                 0:0   stonith
/usr/lib/stonith/plugins/stonith
	f 0644     68854 (    31561)     0:0   apcmaster.a
	f 0755     15788 (     7611)     0:0   apcmaster.so
	f 0644     66524 (    31192)     0:0   apcsmart.a
	f 0755     13316 (     6589)     0:0   apcsmart.so
	f 0644     70512 (    32567)     0:0   baytech.a
	f 0755     16576 (     7858)     0:0   baytech.so
	f 0644     54062 (    25862)     0:0   external.a
	f 0755      8532 (     4263)     0:0   external.so
	f 0644     55252 (    26592)     0:0   ibmhmc.a
	f 0755     10100 (     4900)     0:0   ibmhmc.so
	f 0644     58582 (    27601)     0:0   meatware.a
	f 0755      9888 (     4829)     0:0   meatware.so
	f 0644     53094 (    25220)     0:0   null.a
	f 0755      8116 (     3925)     0:0   null.so
	f 0644     65192 (    30313)     0:0   nw_rpc100s.a
	f 0755     13068 (     6187)     0:0   nw_rpc100s.so
	f 0644     60520 (    28398)     0:0   rcd_serial.a
	f 0755     11388 (     5394)     0:0   rcd_serial.so
	f 0644     67890 (    31290)     0:0   rps10.a
	f 0755     15336 (     7321)     0:0   rps10.so
	f 0644     53520 (    25536)     0:0   ssh.a
	f 0755      8452 (     4208)     0:0   ssh.so
	f 0644     68222 (    31794)     0:0   wti_nps.a
	f 0755     14872 (     7187)     0:0   wti_nps.so
/usr/lib/whgslib
	f 0644     33418 (    15359)     0:0   libbridge.a
	f 0755     50680 (    20343)     0:0   libcgi.so
	l 0777        16                 0:0   libcurl.so -> libcurl.so.4.1.1
	l 0777        16                 0:0   libcurl.so.4 -> libcurl.so.4.1.1
	f 0755    202576 (   111071)     0:0   libcurl.so.4.1.1
	l 0777        17                 0:0   libexpat.so -> libexpat.so.1.5.2
	l 0777        17                 0:0   libexpat.so.1 -> libexpat.so.1.5.2
	f 0755    308379 (   149775)     0:0   libexpat.so.1.5.2
	l 0777        11                 0:0   libiw.so -> libiw.so.29
	f 0755     38152 (    17767)     0:0   libiw.so.29
	l 0777        17                 0:0   liblog4c.so -> liblog4c.so.3.1.0
	l 0777        17                 0:0   liblog4c.so.3 -> liblog4c.so.3.1.0
	f 0755    239784 (   103156)     0:0   liblog4c.so.3.1.0
	l 0777        16                 0:0   libpcre.so -> libpcre.so.0.0.1
	l 0777        16                 0:0   libpcre.so.0 -> libpcre.so.0.0.1
	f 0755    100803 (    57445)     0:0   libpcre.so.0.0.1
	l 0777        16                 0:0   libxml2.so -> libxml2.so.2.7.2
	l 0777        16                 0:0   libxml2.so.2 -> libxml2.so.2.7.2
	f 0755   2520158 (  1297188)     0:0   libxml2.so.2.7.2
	l 0777        19                 0:0   libxmlrpc.so -> libxmlrpc.so.3.6.15
	l 0777        19                 0:0   libxmlrpc.so.3 -> libxmlrpc.so.3.6.15
	f 0755    117002 (    57493)     0:0   libxmlrpc.so.3.6.15
	l 0777        26                 0:0   libxmlrpc_client.so -> libxmlrpc_client.so.3.6.15
	l 0777        26                 0:0   libxmlrpc_client.so.3 -> libxmlrpc_client.so.3.6.15
	f 0755     70803 (    36520)     0:0   libxmlrpc_client.so.3.6.15
	l 0777        24                 0:0   libxmlrpc_util.so -> libxmlrpc_util.so.3.6.15
	l 0777        24                 0:0   libxmlrpc_util.so.3 -> libxmlrpc_util.so.3.6.15
	f 0755     25983 (    11552)     0:0   libxmlrpc_util.so.3.6.15
	l 0777        28                 0:0   libxmlrpc_xmlparse.so -> libxmlrpc_xmlparse.so.3.6.15
	l 0777        28                 0:0   libxmlrpc_xmlparse.so.3 -> libxmlrpc_xmlparse.so.3.6.15
	f 0755     90641 (    49823)     0:0   libxmlrpc_xmlparse.so.3.6.15
	l 0777        26                 0:0   libxmlrpc_xmltok.so -> libxmlrpc_xmltok.so.3.6.15
	l 0777        26                 0:0   libxmlrpc_xmltok.so.3 -> libxmlrpc_xmltok.so.3.6.15
	f 0755    153697 (    73398)     0:0   libxmlrpc_xmltok.so.3.6.15
	f 0755     10971 (     4766)     0:0   mod_access.so
	f 0755     23080 (     9818)     0:0   mod_accesslog.so
	f 0755     11570 (     4988)     0:0   mod_alias.so
	f 0755     37984 (    16048)     0:0   mod_auth.so
	f 0755     33520 (    14913)     0:0   mod_cgi.so
	f 0755     13498 (     5749)     0:0   mod_cml.so
	f 0755     22589 (     9859)     0:0   mod_compress.so
	f 0755     26672 (    11837)     0:0   mod_dirlisting.so
	f 0755     10699 (     4677)     0:0   mod_evasive.so
	f 0755     14029 (     6134)     0:0   mod_evhost.so
	f 0755     15012 (     6494)     0:0   mod_expire.so
	f 0755     16001 (     6960)     0:0   mod_extforward.so
	f 0755     77167 (    33789)     0:0   mod_fastcgi.so
	f 0755     13427 (     5891)     0:0   mod_flv_streaming.so
	f 0755     12045 (     5186)     0:0   mod_indexfile.so
	f 0755      7561 (     2986)     0:0   mod_magnet.so
	f 0755      7787 (     3099)     0:0   mod_mysql_vhost.so
	f 0755     31933 (    13832)     0:0   mod_proxy.so
	f 0755     13719 (     6007)     0:0   mod_redirect.so
	f 0755     16466 (     7114)     0:0   mod_rewrite.so
	f 0755     17865 (     7839)     0:0   mod_rrdtool.so
	f 0755     59258 (    26047)     0:0   mod_scgi.so
	f 0755     13669 (     5919)     0:0   mod_secdownload.so
	f 0755     12003 (     5228)     0:0   mod_setenv.so
	f 0755     13156 (     5726)     0:0   mod_simple_vhost.so
	f 0755     44135 (    19003)     0:0   mod_ssi.so
	f 0755     18981 (     8078)     0:0   mod_staticfile.so
	f 0755     27440 (    12039)     0:0   mod_status.so
	f 0755     12891 (     5531)     0:0   mod_trigger_b4_dl.so
	f 0755     14328 (     6006)     0:0   mod_userdir.so
	f 0755     14042 (     6048)     0:0   mod_usertrack.so
	f 0755     34616 (    14912)     0:0   mod_webdav.so
	f 0644    596308 (   336299)     0:0   owlan211g.ko
/usr/sbin
	f 0755     29695 (    13598)     0:0   boot_printenv
	f 0755     60635 (    27088)     0:0   brctl
	l 0777        17                 0:0   chroot -> ../../bin/busybox
	l 0777        17                 0:0   httpd -> ../../bin/busybox
	l 0777        17                 0:0   inetd -> ../../bin/busybox
	f 0755      5136 (     2734)     0:0   meatclient
	f 0755    343292 (   210720)     0:0   ntpd
	f 0755     50616 (    28903)     0:0   ntpdate
	f 0755    134648 (    74969)     0:0   ntpdc
	f 0755    119520 (    68126)     0:0   ntpq
	f 0755     12200 (     7480)     0:0   ntptime
	l 0777        17                 0:0   rdate -> ../../bin/busybox
	l 0777        17                 0:0   readprofile -> ../../bin/busybox
	f 0755      7376 (     3756)     0:0   stonith
	l 0777        17                 0:0   telnetd -> ../../bin/busybox
	f 0755       618 (      438)     0:0   thttpd_wrapper
/usr/share
	d 0755         0                 0:0   locale
	d 0755         0                 0:0   udhcpc
	f 0644     39784 (    40195)     0:0   zones.tar.gz
/usr/share/locale
	d 0755         0                 0:0   de
/usr/share/locale/de
	d 0755         0                 0:0   LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES
	f 0644     13711 (     6595)     0:0   lrzsz.mo
/usr/share/udhcpc
	f 0755       801 (      506)     0:0   default.script
/usr/var
/usr/whgslog
	f 0644         0 (        0)     0:0   DEVICESEMAPHORE.FILE
	f 0644         0 (        0)     0:0   SEMAPHORE.FILE
	f 0644         0 (        0)     0:0   XMLSEMAPHORE.FILE
	f 0755      2130 (      693)     0:0   log4crc
/var
	d 0755         0                 0:0   run
/var/run
	f 0644         3 (       71)     0:0   dcc.pid
	f 0644        16 (       84)     0:0   ifstate
	f 0644       384 (      116)     0:0   utmp
	f 0644         3 (       71)     0:0   watchdog.pid
	f 0644         3 (       71)     0:0   xmlrpcd.pid


Compression mode: priority
Compressors:
      none             compr: 120 blocks (204350)  decompr: 0 blocks
       lzo (prio:80) - compr: 0 blocks (0/0)  decompr: 0 blocks 
      zlib (prio:60) + compr: 13195 blocks (23003892/51630547)  decompr: 0 blocks 
     rtime (prio:50) + compr: 0 blocks (0/0)  decompr: 0 blocks 
Compression errors: 0

5.然后就可以看到,弄出来的rootfs镜像文件了:

crifan@ubuntu:RootFileSystem$ ls -lha
total 41M
drwxrwxr-x  4 crifan crifan 4.0K Aug 21 19:49 .
drwxrwxr-x  6 crifan crifan 4.0K Jul 21 18:29 ..
drwxrwxr-x  2 crifan crifan 4.0K Jul 21 18:29 CVS
-rwxrwxr-x  1 crifan crifan 119K Jun  4 06:50 mkfs.jffs2
-rwxrwxr-x  1 crifan crifan  642 Jun  4 06:50 notes
-rwxrwxr-x  1 crifan crifan  17M Jun  4 06:50 rootfilesystem.tar.bz2
drwxr-xr-x 18 root   root   4.0K Aug 17  2012 rootfs
-rw-r--r--  1 crifan crifan  24M Aug 21 20:01 rootfs.jffs2

即24M大小的rootfs.jffs2那个文件:

generated jffs2 rootfs file 24MB

 

【总结】

可见,制作起来,相对不复杂。只是制作之前,要搞懂很多参数的使用,才是需要注意的。

此处所用命令是:

sudo ./mkfs.jffs2 -d ./rootfs -v -e 131072 -n -o rootfs.jffs2

解释:

  • sudo:不用sudo,会出现无权限,无法执行
  • -d rootfs文件夹:表示所用的rootfs文件夹是啥
  • -v:verbose,输出详细信息
  • -e xxx:block的大小是多少,此处131072=128KB。你需要根据你自己的nand flash的erase block的大小,改为你自己的值
  • -n:–no-cleanmarkers,不(给每个eraseblock)添加cleanmarker
  • -o xxx:output输出的文件名。名字可以随便写,但是一般常写成:rootfs.arm.jffs2,rootfs.arm.yaffs2之类的名字,以方便理解。

转载请注明:在路上 » 【记录】用mkfs.jffs2制作jffs2格式的rootfs镜像文件

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
84 queries in 0.167 seconds, using 22.23MB memory