open image file
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Tue Feb 5 12:03:43 EST 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/70699028/attachment.bin
More information about the Kernelnewbies
mailing list