• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Disappear: files and directories

TOMOTH

Lurker
Hello Everyone;

I've been doing a lot of work on my S-S Galaxy 10.1 tablet.

This morning I adb into it and now /root is empty of files, and the /tmp directory I created is no longer there.

QUESTIONS:

o Is there a grim-reaper that runs under the Android O/S?

o Where should I make my home directory so that my files don't get deleted?

regards,
TOMOTH
 
Hi TOMOTH. Welcome to AndroidForums. To help you get a better answer your question, I have moved your thread to the Samsung Galaxy Tab 10.1 forum.

If your Tab is a model 2 or 3, please let me know and I will re-move it to that appropriate forum.

Perhaps you could explain what you mean by "grim-reaper"?
 
Hello Sepero;

On my Linux box (Fedora 16), there is (was - after I got done with it) a program goes around and deletes things. I call is "the grim reaper".

It removes all sorts of files - especially in /tmp.

(If I continue, it will turn into a rant-and-rave, so I'll stop at that).

ANYWAY,

Where is the shellfile or <cron> file that tells the system to delete stuff?

regards,
TOMOTH
 
There is no cron that I'm aware of on Android, but I'm sure something temporary files do get erased on reboot.

In an Android OS, there are 2 primary partitions: /system and /data

/system is generally only modified with firmware updates, is read-only, contains the OS files.

/data contains all system editable settings, installed apps, and app settings.

If you want to store large amounts of files, you would generally do that on a micro sdcard.

Where are you trying to store files and having them erased?
 
Oh yeah, some places like / (root) can be mounted using a ram filesystem, so they are automatically erased when the system powers off.
 
Hello Sepero;

Ahh now it's starting to make sense: I saw a note (while surfing root websites) and now I understand what they meant about RAM filesystems being deleted when powered-down.

Also, when I have having a similar problem with my Fedora 16 system (deleting files in /tmp that were more than a month old) one of the guys said that I shouldn't keep things in there because the future versions of Linux will be using RAM FS for things like /tmp.

Yes, I was putting my files in /root.

Now, I've created /data/user/home/root and put my files in there. Seems to have taken care of the problem.

Oh - I don't have a lot of files I want to put on the tablet - just some shellfiles so I can play around with the O/S.

One last question: Is there a website that you know of that has information about how iOS (I think that's the name of the O/S running on Androids) works?

Thanks for all your help, Sepeco.

regards,
TOMOTH
 
"Linux" is the kernel.

"Android" is the OS.

"IOS" is the OS used on Apple devices.

Here is the wiki for Android.

And for learning about the system- I learned most of what I know from Googling it. ;)
 
Back
Top Bottom