Feb. 5, 2013
5:03 p.m.
On Tue, 05 Feb 2013 04:59:42 +0800, horseriver said:
hi:
It is not a cpio archive , so that command can not work .
its file system type is tmpfs.
Umm. No. It's not tmpfs. tmpfs is a specific ram/swap based filesystem - basically, take enough 4K pages for the size= parameter and do it in memory. Major user-visible difference from the older 'ramfs' is that tmpfs pages can move to swap space, and ramfs pages are nailed down in RAM. mount -t tmpfs /dev/loop0 /mnt This never actually looks at /dev/loop0 *at all*. You could even say this: mount -t tmpfs none /mnt and it would work just fine. Try leaving the '-t tmpfs' off entirely and let the mount command figure out what type it is, and see if that works any better for you.