[Previous] [Contents] [Index] [Next]

dumpifs

Dump an image filesystem

Syntax:

dumpifs [-vxb -u file] image [files]

Options:

-b
When using the -x option, extract to the basenames of the files.
-u file
If the image is compressed, put an uncompressed copy in file.
-v
Verbose operation. Specify more than one v to display more information.
-x
Extract the files specified after the image. If you also specify -b, the files are put into the current directory; if you don't specify -b, the files are extracted to the pathname specified in the image.

Description:

The dumpifs utility dumps the contents of an image filesystem. It can also be used to extract files from the image filesystem.

Examples:

$ dumpifs shell.ifs
   Offset     Size  Name
        0      288  *.boot
      288      100  Startup-header flags1=0x1 paddr_bias=0
      388     6008  startup.*
     6390       59  Image-header mountpoint=/
     63ec      1ac  Image-directory
     ----     ----  Root-dirent
     6598       8c  proc/boot/data1
     6624       5c  proc/boot/.script
     6680       14  proc/boot/data2
     7000    2c02c  proc/boot/procnto
    34000    12ad0  proc/boot/devc-con
    47000     b66c  proc/boot/esh
    53000     d7fc  proc/boot/ls
    61000     7394  proc/boot/cat
Checksums: image=0x6d5fb484 startup=0x274d7c89

Caveats:

This utility will not work on an image that has been built using a filter such as srec (for more information on image filters, see mkifs). If you wanted to run dumpifs on such an image, you would build the image omitting the filter stage in your mkifs build file (you would then need to run the filter by hand later in order to make a viable image for your target).

See also:

mkifs


[Previous] [Contents] [Index] [Next]