Re: open image file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgptFrGONE7Bk.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux