| Author |
Message |
|
|
Post subject: image of qnx cf card
Posted: May 05, 2008 - 06:13 AM
|
|
New Member
Joined: Apr 17, 2008
Posts: 3
|
|
hi,
i'd like to create an image of my cf .
have you any suggestion or can you suggest to me a tool to make this?
thanks a lot |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: image of qnx cf card
Posted: May 05, 2008 - 01:59 PM
|
|
Active Member
Joined: Dec 14, 2005
Posts: 39
|
|
Hello Lpanunzi,
Could you please elaborate what you mean by the “image of CF”?
Is it a bit-to-bit copy on a different media, such as a hard drive?
If so, please post output of
mount
here.
pidin info will be also helpful.
Thanks,
Yuriy |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: image of qnx cf card
Posted: May 05, 2008 - 04:18 PM
|
|
New Member
Joined: Apr 17, 2008
Posts: 3
|
|
hello ysinitsky,
thanks for your answer..
i 'll try to explain more what i'd like to do...
indeed i've a qnx os in a compact flash and i'd be able to make a backup and restore of this media.
Do you know a tool or a qnx command line to do this???
thanks |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: May 05, 2008 - 05:05 PM
|
|
Senior Member
Joined: Mar 10, 2004
Posts: 516
|
|
Lpannuzi,
There is no QNX utility to do this.
The *only* thing you can do at the moment is use a Windows based program like Norton Ghost and do an image backup of the CF (I'd done this and it works).
The problem is that your image can only be restored to an exact same model and size of CF (so if you have a 1 Gig SanDisk, you can only restore to a 1 gig Sandisk, not a 2 gig nor a CF by another manufacturer). For that reason alone, I wouldn't recommend this method.
You are far better off just creating a tarball of everything on the CF drive and storing that because it can be restored to any size or make of CF drive.
Tim |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: image of qnx cf card
Posted: May 05, 2008 - 05:05 PM
|
|
QNX Master
Joined: Sep 01, 2002
Posts: 2675
|
|
cp /dev/hd0 file. This will create an image call file but it can only be restore on a media with the same size.
Or you can backup its content with pax/tar. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: image of qnx cf card
Posted: May 05, 2008 - 05:24 PM
|
|
Active Member
Joined: Dec 14, 2005
Posts: 39
|
|
Hello Lpanunzi,
You can use dd, for example
dd if=/dev/hd7 of=image_of_flash_on_dev_hd7
or cp
cp dev/hd7 image_of_flash_on_dev_hd7
This assumes:
1. Your CF is /dev/hd7
2. Your current directory resides on a file system which has enough room for the entire image.
Thanks,
Yuriy |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: image of qnx cf card
Posted: May 05, 2008 - 05:51 PM
|
|
New Member
Joined: Apr 17, 2008
Posts: 3
|
|
| thanks i will try all your suggestions .. |
|
|
| |
|
|
|
 |
|
|