Problems with Flash File System creating too many partitions

I’m running 6.2.1B, with a PowerPC 5200.

When I load the devf-artesyn, or when I custom build a devf driver,
I get too many partitions, and too many mounts show up when I do a “df”.
I have 2 EFS filesystems loaded (at 0xff200000, and 0xff400000). Data
below.

Any ideas what can cause this?




When I start the FFS with “devf-artesyn -s 0xff000000,16M -i0”, and 2 EFS
file systems,
I get this:

ls /dev

console fs0p5 io-net ptyp3 socket
ttyp6
dbgmem fs0p6 mem ptyp4 text
ttyp7
fs0 fs0p7 null ptyp5 ttyp0
zero
fs0p0 fs0p8 pipe ptyp6 ttyp1
fs0p1 fs0p9 profiler ptyp7 ttyp2
fs0p2 fs0pA ptyp0 ser1 ttyp3
fs0p3 fs0pB ptyp1 shmem ttyp4
fs0p4 fs0pC ptyp2 slog ttyp5

df

/dev/fs0pB 3584 1894 1689 53% /xbin
/dev/fs0p8 3584 1894 1689 53% /xbin
/dev/fs0p5 3584 1894 1689 53% /xbin
/dev/fs0p2 3584 1894 1689 53% /xbin
/dev/fs0pA 4096 3022 1073 74%
/usr/lib
/dev/fs0p7 4096 3022 1073 74%
/usr/lib
/dev/fs0p4 4096 3022 1073 74%
/usr/lib
/dev/fs0p1 4096 3022 1073 74%
/usr/lib

Some files are in directories, but can not be accessed, i.e. the “ls: No
such file”:

ls /usr/lib

fs-qnx4.so libc.so.2 libm.so.2
io-blk.so libcam.so.2 libsocket.so.2
ldqnx.so.2 libcpp.so.2 terminfo

ls -l /usr/lib

ls: No such file or directory (/usr/lib/fs-qnx4.so)
total 2747
-rwxrwxrwx 1 root 0 144032 Dec 19 2003 io-blk.so
lrwxrwxrwt 1 root 0 20 Feb 17 2004
ldqnx.so.2 → /proc/bo2
-rwxrwxrwx 1 root 0 510573 Dec 19 2003 libc.so.2
-rwxrwxrwx 1 root 0 64727 Dec 19 2003 libcam.so.2
-rwxrwxrwx 1 root 0 683755 Dec 19 2003 libcpp.so.2
lrwxrwxrwt 1 root 0 20 Feb 17 2004
libm.so.2 → /proc/boo2
lrwxrwxrwt 1 root 0 25 Feb 17 2004
libsocket.so.2 → /pro2
drwxrwxrwx 7 root 0 204 Dec 19 2003 terminfo



I one of the file systems with (the other is pretty much similar):

[block_size=256k spare_blocks=1 mount=/xbin min_size=2048K max_size=2048K
perms=+r,+w,+x]

Directory Structure

[search="${QNX_TARGET}/ppcbe/bin"]

#bestcomm5200

#cat

#chgrp

chmod

#chown

#cp

dd

du

echo

#esh

false

#gunzip

#gzip

hostname

kill

#ksh

ln

login

#logout

#ls

mkdir

more

mount

mv

#netmanager

on

pax

#pidin

ps

pwd

rm

#sh

shutdown

#slay

#sloginfo

stty

#su

true

umount

#uname

vi

#df

[search="${QNX_TARGET}/ppcbe/sbin"]

devc-pty

#getty

#io-net

mqueue

#pipe

#ifconfig

#route

[search="${QNX_TARGET}/ppcbe/usr/bin"]

#devn-mpc5201.so

#chat

#cksum

cmp

#crontab

#cut

#date

#diff

egrep

env

expr

#find

#flashctl

#ftp

#head

#id

netstat

#nice

#passwd

#pdebug

ping

#printf

#renice

#rlogin

#rmdir

#rsh

#showmount

sleep

#sort

strings

tail

#tee

#telnet

#tftp

touch

#tr

traceroute

tty

#umask

use

#wc

which

#xargs

[search="${QNX_TARGET}/ppcbe/usr/sbin"]

cron

#dhcp.client

#pppd

#fs-cifs

#fs-nfs2

#ftpd

#nicinfo

inetd

#nfsd

#rlogind

#routed

#rshd

#telnetd

#tftpd

if_up

#slogger

#qconn