Skip navigation.
The QNX Community Portal

View topic - Help reading an ETFS image(s)

Help reading an ETFS image(s)

General Help about QNX

Help reading an ETFS image(s)

Postby jwhazel » Mon Mar 03, 2014 8:05 pm

I'm attempting to mount a nand ETFS image that I've acquired. The image is broken apart into 17 different files like img.1, img.2, etc... and based on the raw text, it looks like they all belong to one large filesytem. But I keep getting an error when trying to load it.

Step 1:
Setup the ETFS driver with 1024MB (even though its from a 128MB flash, anything less than 1024 and step 2 will report an error of: error writing transactions to flash: No space left on device):
fs-etfs-ram -C 0 -e -c 0 -m /root/testfs -Dsize=1024

Step 2
Attempt to load all of the files at once:
etfsctl -d /dev/etfs2 -S -e -w img.1 img.2 img.3... -c
First cat all of the files together like: cat img.1 img.2 img.3 > whole.etfs, then attempt to load the completed file like:
etfsctl -d /dev/etfs2 -S -e -w whole.etfs -c

Everytime I'm getting the error: error writing transactions to flash: Invalid argument, and its basically saying it can't execute the -w parameter. Does anyone have any experience with mounting and reading from ETFS files that they'd be interested in helping? I was able to successfully build my own ETFS image with mketfs and mount it, so I'm not sure why I'm having an issue with this one.
New Member
Posts: 1
Joined: Fri Sep 26, 2003 11:00 pm

Re: Help reading an ETFS image(s)

Postby lordmaximus840 » Thu Mar 02, 2017 1:33 pm

Hi jwhazel,

question : does ETFS is like EFS ? more precisely the filesystem you can partially show with the "dumpefs" command on QNX OS ?

Active Member
Posts: 13
Joined: Thu Feb 11, 2016 4:05 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 2 guests