OpenQNX :: The QNX Community Portal

May 17, 2008 - 11:58 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 37 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
lpanunzi
Post subject: image of qnx cf card  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
ysinitsky
Post subject: RE: image of qnx cf card  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
lpanunzi
Post subject: RE: image of qnx cf card  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
Tim
Post subject:   PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
mario
Post subject: RE: image of qnx cf card  PostPosted: 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.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ysinitsky
Post subject: RE: image of qnx cf card  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
lpanunzi
Post subject: RE: image of qnx cf card  PostPosted: May 05, 2008 - 05:51 PM
New Member


Joined: Apr 17, 2008
Posts: 3

thanks i will try all your suggestions ..
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.