Active Topics

 


Reply
Thread Tools
MountainX's Avatar
Posts: 415 | Thanked: 193 times | Joined on Jun 2009 @ A place with no mountains
#11
Originally Posted by solpete View Post
arent they kept in the trashbin? Anyway you could always restore them using restore software. They are not gone 4ever
If you are asking whether "rm" moves files to the trashbin, no it does not. It deletes (removes).
__________________
Hi! I would like to help make your experience on these forums better. If I can help with anything, just ask!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 Intro, Frequently Asked Questions (FAQ)

Choosing open source is an important purchasing decision for your future. The closed source model of computing is a form of exploitation -- of us! Open source empowers us. Be smart -- chose open source.
 
Posts: 45 | Thanked: 3 times | Joined on Nov 2009 @ South Florida
#12
Originally Posted by Tomaszd View Post
You want to wipe the root partition? Don't, you'll brick your device. Just re-flash and be done with it.
Flashing doesnt erase everything is the issue and I dont want to erase the root partition. I want to erase all the leftover data that I put in and 3rd party apps have put in that Maemo doesnt seem to delete on flashing or uninstalling.
 
Posts: 45 | Thanked: 3 times | Joined on Nov 2009 @ South Florida
#13
Originally Posted by konttori View Post
open xterm and type:
rm -r /home/user/.*
and press enter. Say bye bye to your contacts, calendar entries, application settings, configs and so forth.
Thanks, so /home/user/ is where all my data is kept?. What about for instance where 3rd party apps store their data (like Irreco's saved remotes for instance)? In the same directory or is there another for that?

Thanks again, trying to figure out how Maemo organizes things for future reference.
 
Posts: 287 | Thanked: 127 times | Joined on Oct 2009 @ Sweden
#14
Everything related to you as a user should be in /home/user (and any settings you add to a program, like downloading saved remotes), remotes that came with the might be there, in /opt or elsewhere but if they came with the app then they should be uninstalled together with it as well.

Note that I don't know how Irreco works, so I included both possibilities. Running dpkg --contents on the irreco package should show whether they came with it or not, or you might know whether you downloaded them or not.
 
Posts: 45 | Thanked: 3 times | Joined on Nov 2009 @ South Florida
#15
Originally Posted by floffe View Post
Everything related to you as a user should be in /home/user (and any settings you add to a program, like downloading saved remotes), remotes that came with the might be there, in /opt or elsewhere but if they came with the app then they should be uninstalled together with it as well.

Note that I don't know how Irreco works, so I included both possibilities. Running dpkg --contents on the irreco package should show whether they came with it or not, or you might know whether you downloaded them or not.
Ok last question, what is the /opt folder? What usually gets saved there, just app data?
Is it safe to do rm /home/user/* and rm /opt/* and then flash the firmware again and finally be at the true out of box state?
 
MountainX's Avatar
Posts: 415 | Thanked: 193 times | Joined on Jun 2009 @ A place with no mountains
#16
Originally Posted by TheUnlockr.com View Post
Ok last question, what is the /opt folder? What usually gets saved there, just app data?
Is it safe to do rm /home/user/* and rm /opt/* and then flash the firmware again and finally be at the true out of box state?
As far as I have seen, Maemo adheres to the Linux file system hierarchy standards -- specifically like Debian, afaik. See this link:
http://wiki.debian.org/FilesystemHierarchyStandard

In Ubuntu, nothing is put in /opt by default. That's where I put packages that are not in the official repositories.

I suspect that on a fresh N900 /opt is empty -- I do not have my N900 handy, so I can't check right now.

FYI, under home, "user" is your username, not the word "user" on a normal Linux system. On the N900, I have never looked...

And I suspect the experts here will tell you that the best way to "finally be at the true out of box state" is to erase the root partition...

However, I should point out one other thing. Maemo doesn't have a registry like Windows. Even if some stuff from uninstalled apps is left behind, the chances of it having any effect on the operating system whatsoever after you reflash are slim to none. For testing, I cannot imagine that these remnants would be of any concern after you reflash. To my knowledge, Linux doesn't work that way. Problems like that are more of a Windows thing.

If your concern is privacy, then wiping the memory might be what you need. But I think your earlier post said testing was your objective.
__________________
Hi! I would like to help make your experience on these forums better. If I can help with anything, just ask!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 Intro, Frequently Asked Questions (FAQ)

Choosing open source is an important purchasing decision for your future. The closed source model of computing is a form of exploitation -- of us! Open source empowers us. Be smart -- chose open source.
 
Posts: 474 | Thanked: 283 times | Joined on Oct 2009 @ Oxford, UK
#17
Originally Posted by MountainX View Post
However, I should point out one other thing. Maemo doesn't have a registry like Windows.
As it's using parts of Gnome, it certainly does have a registry like Windows.*

Google for gconf.

It's just as opaque and mysterious as the Windows registry too.

Note: I'm assuming, because Gnome uses gconf and Maemo 5 uses parts of Gnome. Don't have a device to check yet.
 
MountainX's Avatar
Posts: 415 | Thanked: 193 times | Joined on Jun 2009 @ A place with no mountains
#18
Originally Posted by jjx View Post
As it's using parts of Gnome, it certainly does have a registry like Windows.*

Google for gconf.

It's just as opaque and mysterious as the Windows registry too.

Note: I'm assuming, because Gnome uses gconf and Maemo 5 uses parts of Gnome. Don't have a device to check yet.
You don't have an N900, but do you run Linux? I'm running Linux on all my computers now, and I would disagree that it is as "opaque and mysterious as the Windows registry". Is that your opinion, your experience or something you read somewhere? Just curious.

gconf is for user preferences, afaik. In my experience, Linux does not have registry problems like Windows. And, at least on my desktop, my gconf stuff is stored under my home directory.

EDIT: sorry, I wish I knew more about exactly how the N900 was set up. I realize the general Linux discussion is getting off topic. I'll let others carry forward who can speak specifically to the N900.
__________________
Hi! I would like to help make your experience on these forums better. If I can help with anything, just ask!

Useful links for newcomers: New members say hello , New users start here, Community subforum, Beginners' wiki page, Maemo5 Intro, Frequently Asked Questions (FAQ)

Choosing open source is an important purchasing decision for your future. The closed source model of computing is a form of exploitation -- of us! Open source empowers us. Be smart -- chose open source.

Last edited by MountainX; 2009-11-27 at 01:31.
 
Posts: 474 | Thanked: 283 times | Joined on Oct 2009 @ Oxford, UK
#19
Originally Posted by MountainX View Post
You don't have an N900, but do you run Linux? I'm running Linux on all my computers now, and I would disagree that it is as "opaque and mysterious as the Windows registry". Is that your opinion, your experience or something you read somewhere? Just curious.
Sorry, I'm a complete noob.

I've only been using and developing Linux every day since 1994, on all of my primary machines for work (even for Windows and DOS development I've tended to cross-compile from a Linux environment) and personal use, oh, and did I mention the servers

Yes, I run Linux.

The "registry" problem is getting slowly worse, imho. A lot (but still a minority) of things that used to be in documented config files in /etc or $HOME are slowly creeping their way into undocumented structured config files here and there.

On a modern Linux desktop, with wireless networks configured using NetworkManager, where are the profiles for each access point stored? That's not really "user preferences". I can't tell where they are because there are multiple old sets of access point info buried in the .gconf directory, from older versions of the software. Sounds like "registry cleaner" territory to me...

gconf is for user preferences, afaik. In my experience, Linux does not have registry problems like Windows. And, at least on my desktop, my gconf stuff is stored under my home directory.
Trust me, if you have a Linux desktop config running for 15 years as mine has (carried forward across machines), then you will accumulate cruft, interference from old configs, and registry-like mysteries in just the same way as Windows

It's not just the .gconf directory on a full Linux desktop. See also .gconfd, .gnome2, .gnome2_private, .gvfs, etc.

But you're right, "rm -rf $HOME/.??* $HOME/*" should sort it out
 

The Following User Says Thank You to jjx For This Useful Post:
Posts: 45 | Thanked: 3 times | Joined on Nov 2009 @ South Florida
#20
Lets not fight gentlemen lol
Since you both seem to know a lot about Linux in general.
Can you tell me what directories to wipe to get everything that the N900 didnt come with off?

I was reading that heirarchy you linked and that helps ALOT thanks! But curious what files you guys think would do it, and what the terminal command would be?

Im assuming rm /home/* and then rm /opt/* or will that kill the device?

Thanks again!

Last edited by TheUnlockr.com; 2009-11-27 at 04:31.
 
Reply

Tags
old thread


 
Forum Jump


All times are GMT. The time now is 03:46.