HI,
TS linuxarm-guide-rev-2.3 gives the following to install a new fs image to the
board:
eraseall /dev/mtd/1
Mount the second partition of your on-board flash and extract the new
filesystem:
mount /dev/mtdblock/1 /mnt
tar xzvf /path/to/7250_root_fs.tar.gz -C /mnt
but before blasting everything on the board I want a copy and I want to check I
can write to the device. So I tried the reverse operation first.
I have a copy of the original TSlinux on the nfs server so I boot to it and
mount the mtd block device
mkdir /mnt/tmp
mount /dev/mtdblock/1 /mnt/tmp
$ mount
/dev/root on / type nfs
(rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=192.168.1.3)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
/dev/mtdblock/1 on /mnt/tmp type yaffs2 (rw)
$ ls /mnt/tmp
bin etc initrd mnt sbin var
busyhack fastboot lib proc tmp www
dev home lost+found root usr
So far, so good.
but if I look on the server I see the new directory but it is empty:
bash-4.0#ls -ail /mnt/nfs/mnt/tmp
total 1
451041 drwxr-xr-x 2 root root 2 Apr 4 10:04 .
251430 drwxr-xr-x 6 root root 6 Apr 4 10:04 ..
I create a test file:
bash-4.0#touch !$/test.file
touch /mnt/nfs/mnt/tmp/test.file
bash-4.0#ls -ail /mnt/nfs/mnt/tmp
total 1
451041 drwxr-xr-x 2 root root 3 Apr 4 10:11 .
251430 drwxr-xr-x 6 root root 6 Apr 4 10:04 ..
451042 -rw-r--r-- 1 root root 0 Apr 4 10:11 test.file
But this is not visible on the ARM.
Am I being dumb here or is this inherent nfs brokeness?
TIA , /js
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|