![]() |
Re: Maemo Mapper v1.4 for 770/N800
Quote:
Thanks again for your prompt and comprehensive reply. Sounds like I have to "become root" in order to see and backup the /home/user/.gpe and /home/user directory ....correct? Neil |
Re: Maemo Mapper v1.4 for 770/N800
Gnuite, cracking update!
Do you think ViaMicelin maps will upload - they are cartographically pleasing on the eye and easy to glance at to check progress on a journey here's a link and an example of the HTML script: <script src='http://www.viamichelin.fr/viamichelin/int/jsp/map/netLink.jsp?mapId=-tycqq63ovcy6dp&lang=int&dx=565&dy=255&empriseW=113 0&empriseH=510&map=http://www2.viamichelin.com/vmw2/maf/dyn/controller/NetLink?mapId=-tycqq63ovcy6dp%26lang=int%26dx=565%26dy=255%26empr iseW=1130%26empriseH=510' type='text/javascript'></script> Also from the other week I have had some joy in extracting the MSR MapCruncher (http://research.microsoft.com/mapcruncher/) derived tiles and restoring/naming/filing them with shell script from the XML file, but as yet only for small areas ~ 15km x15 km; it slightly mandraulic, but I will tidy it up. |
Re: Maemo Mapper v1.4 for 770/N800
Quote:
cp -r /home/user /media/mmc1/user.bak (replace "/media/mmc1/user.bak" with wherever you want to put the backup.) |
Re: Maemo Mapper v1.4 for 770/N800
Quote:
Sorry if I'm being a pain, but, I guess I don't know the difference between being in root and xterm. I thought xterm was like getting a "C: Prompt "window in Msoft XP. I thought one had to install "BecomeRoot" in order to get a "C: prompt" (or $ or # or whatever). Can anyone point me in the right direction so that I can understand this better? |
Re: Maemo Mapper v1.4 for 770/N800
xterm is just a window which gives you a command line. The xterm application is launched from the user interface, which is executing as the 'user' account (non-admin), and all applications launched from one account will be of the same account (user) unless special measures are taken (which is not the case for the xterm app). In other words, xterm gives you a command line for the 'user' account. In order to change to the 'root' account you have to run another privileged command from the command line, and to get that you would also need to install the 'becomeroot' package. But you don't need to be root (=administrator) to make a backup of your home directory or to write to the SD card(s).
To execute the backup command described by gnuite you must: 1) Install osso-xterm 2) Launch X Terminal application from the menu (it'll be in one of the submenus after installation of osso-xterm) 3) Enter the command (cp -r .... as described by gnuite) and return, using the keyboard that'll pop up when you start X Terminal. |
Re: Maemo Mapper v1.4 for 770/N800
Quote:
So, fpp, do you mean that you copied /home/user directory to your mmc, upgraded to Gregale, and then copied /home/user directory back to your tablet's onboard memory? Can you please tell me the exact command to copy it back? I don't know where to copy it back to! I do know now that I have to gain root to copy it back from the mmc. Thank you, Neil |
Re: Maemo Mapper v1.4 for 770/N800
So, in xterm, I just entered:
cp -r /home/user/media/mmc1/backups/user.bak the "reply' was: cp: unable to create /media/mmc1/backups/user.bak .gpe-calendar-rendezvous' : operation not permitted Hmmm. Not permitted? Any idea what's up with that? Thanks, one step closer, Neil |
Re: Maemo Mapper v1.4 for 770/N800
seems you missed a space to specify which path is source and which is destination.
cp -r /home/user/ /media/mmc1/backups/ this will recursively (-r option) copy the contents of users home dir to the mmc card, in a folder called backups that must exist prior to running the command. note the space between user/ and /media. i am not sure why your are specifying a file name for the backup, though. |
Re: Maemo Mapper v1.4 for 770/N800
Quote:
cp -r /home/user /media/mmc1/user.bak note the space between the word "user" and the "/media/etc, etc". Do I need to have the second '/ ' sign that you inserted above after "user" ? Also, I only specified a file name for the backup because that is how Gnuite had it in his earlier post. Thanks, Neil |
Re: Maemo Mapper v1.4 for 770/N800
the trailing / indicate explicitly that you are referencing a directory as opposed to a file. force of habit, from work. not required, but sometimes helpful.
having a file name at the end of the destination string forces the copy to write everything into one file. the data gets munged AFAIK. |
All times are GMT. The time now is 01:09. |
vBulletin® Version 3.8.8