directory is disappeared.
Yi, Ji-soo
killcat at korea.com
Mon Sep 24 17:37:33 EDT 2001
Let me show you what I did.
I download a root imag for iPAQ H3630 from handhelds.org. I looks likes the below:
~/img$ ll task-bootstrap/
total 14
drwxr-xr-x 2 root root 940 5월 14 16:30 bin/
drwxr-xr-x 3 root root 3025 5월 14 16:28 dev/
drwxr-xr-x 20 root root 886 5월 14 16:31 etc/
drwxr-xr-x 2 root root 35 4월 19 21:18 home/
drwxr-xr-x 4 root root 1370 5월 14 16:29 lib/
-rwxr-xr-x 1 root root 654 3월 17 2001 linuxrc*
drwxr-xr-x 4 root root 75 4월 19 21:18 mnt/
drwxr-xr-x 2 root root 35 4월 19 21:18 proc/
drwxr-xr-x 2 root root 35 5월 11 18:24 root/
drwxr-xr-x 2 root root 997 5월 14 16:31 sbin/
lrwxrwxrwx 1 root root 13 9월 23 21:23 tmp -> mnt/ramfs/tmp
drwxr-xr-x 6 root root 114 5월 14 16:29 usr/
lrwxrwxrwx 1 root root 13 9월 23 21:23 var -> mnt/ramfs/var
I did
./mkfs.jffs2.1.8.glibc2.1 -r task-bootstrap/ -o root.jffs2 -e 0x40000 -p
(Because my glibc is 2.1.2)
After I upload this on iPAQ using Bootldr, and boot it up.
There was some suspected message like this, but seems to work ok.
Inode #2 was a directory with children - removing those too...
Inode #3 was a directory with children - removing those too...
Inode #6 was a directory with children - removing those too...
(blablabla...)
Well, the belows are doing 'ls' on my iPAQ, /usr directory is disappeared! What's wrong with me?
# ls -al
total 2
drwxr-xr-x 1 root root 0 Dec 23 2009 .
drwxr-xr-x 1 root root 0 Dec 23 2009 ..
-rw-r--r-- 1 root root 308 Mar 15 2001 .ramfs.tar.gz
drwxr-xr-x 1 root root 0 May 14 2001 bin
drwxr-xr-x 1 root root 0 May 14 2001 dev
drwxr-xr-x 1 root root 0 May 14 2001 etc
drwxr-xr-x 1 root root 0 Apr 19 2001 home
drwxr-xr-x 1 root root 0 Sep 24 2001 lib
-rwxr-xr-x 1 root root 654 Mar 16 2001 linuxrc
drwxr-xr-x 1 root root 0 Apr 19 2001 mnt
dr-xr-xr-x 20 root root 0 Dec 23 2009 proc
drwxr-xr-x 1 root root 0 May 11 2001 root
drwxr-xr-x 1 root root 0 May 14 2001 sbin
lrwxrwxrwx 1 root root 13 Sep 24 2001 tmp -> mnt/ramfs/tmp
lrwxrwxrwx 1 root root 13 Sep 24 2001 var -> mnt/ramfs/var
More information about the linux-mtd
mailing list