[Galaxy S I9000 Android Development] lenrek:
Run mount, busybox df -h and goto data/ and system/ directory, run ls -l to verify the links are correct. Try ls data and media, make sure you end up in the right place.

This is what I get after running the commands to check the filesystm structure:

Below are from my SGS.

$>./adb shell mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/stl9 /system rfs rw,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
[B]/dev/block/mmcblk1p2 /disk ext4 rw,noatime,nodiratime,barrier=1,data=ordered 0 0[/B]
/dev/block/mmcblk0p2 /data rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl10 /dbdata rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl11 /cache rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,vfat,llw,check=no,gid/uid/rwx,iocharset=utf8 0 0
/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0102,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block//vold/179:9 /sdcard/sd vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

$> ./adb shell busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 162.8M 0 162.8M 0% /dev
df: /mnt/.lfs: Function not implemented
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/stl9 295.3M 269.0M 26.2M 91% /system
[B]/dev/block/mmcblk1p2 957.4M 123.1M 785.6M 14% /disk[/B]
/dev/block/mmcblk0p2 1.9G 186.7M 1.7G 10% /data
/dev/block/stl10 107.2M 18.4M 88.8M 17% /dbdata
/dev/block/stl11 30.1M 1.5M 28.5M 5% /cache
/dev/block/stl3 5.9M 4.0M 1.9M 68% /efs
/dev/block//vold/179:1
13.4G 2.2G 11.2G 17% /sdcard
/dev/block//vold/179:9
13.9G 716.1M 13.2G 5% /sdcard/sd

c-prompt> adb shell
$ su -
# ls -l /system/
rwxr-xr-x root root 2010-06-06 12:03 lib
drwxr-xr-x root root 2010-07-20 11:17 app
drwxr-xr-x root shell 2010-07-20 03:17 xbin
[B]lrwsrwsrwt root root 2010-07-20 03:25 media -> /disk/media[/B]
drwxr-xr-x root root 2010-06-06 04:03 usr
drwxr-xr-x root shell 2010-07-20 11:17 bin
drwxr-xr-x root root 2010-06-06 12:03 framework
drwxr-xr-x root root 2010-06-06 12:03 fonts
drwxr-xr-x root root 2010-06-06 12:03 etc
drwxr-xr-x root root 2010-06-06 04:03 firmware
drwxr-xr-x root root 2010-06-06 04:03 cameradata
-rw-r--r-- root root 506 2010-06-06 04:03 default.prop
-rw-r--r-- root root 1651 2010-06-06 04:03 build.prop
-rw-r--r-- root root 9 2010-07-20 03:17 CSCVersion.txt
-rw-r--r-- root root 1242 2010-07-20 03:17 SW_Configuration.xml
drwxr-xr-x root root 2010-07-20 02:57 csc
-rw-r--r-- root root 2287 2010-07-20 03:17 CSCFiles.txt
drwxrwxrwx root root 2010-07-20 02:57 wallpaper

# ls -l /data/
drwxrwx--x system root 2010-07-20 13:39 gps
drwxrwx--t system misc 2010-07-20 10:58 misc
drwxrwx--x wifi wifi 2010-07-20 05:21 wifi
drwxrwx--x shell shell 2010-07-20 10:58 local
[B]lrwsrwsrwt root root 2010-07-20 03:23 data -> /disk/data[/B]
drwxrwx--x system system 2010-07-20 13:07 app-private
drwxrwx--x system system 2010-07-20 15:21 app
drwx------ root root 2010-07-20 07:08 property
drwxrwxrwx root root 2010-07-20 02:58 log
drwxrwxrwx root root 2010-07-20 02:58 dump
lrwsrwsrwt root root 2010-07-20 03:36 dalvik-cache -> /disk/dalvik-cache
drwxrwx--- root root 2010-07-20 02:58 lost+found
drwxrwxrwx system system 2010-07-20 02:58 anr
drwxrwxr-x system system 2010-07-20 15:21 system
drwx------ system system 2010-07-20 05:21 backup
drwxr-xr-x system system 2010-07-20 03:06 tombstones

Run ls on /disk/media and /disk/data, make sure the files are there.