The time now is Fri 24 May 2013, 02:02
All times are UTC - 4 |
| Author |
Message |
AJK101
Joined: 17 Dec 2010 Posts: 41 Location: India
|
Posted: Thu 24 Feb 2011, 02:36 Post subject:
[SOLVED]What happens when i delete inbuilt files of puppy Subject description: i tried removing geany, and now it isn't there, but it still exist in sfs. |
|
So, i was wondering if i could remove some applications like geany (since i prefer nicoedit). I went to .packages/builtin_files/geany
found all the files listed there, and deleted them, then i deleted the .desktop files and everything was fine, so i rebooted, wondering if it would reappear or not, it didn't. But when i mounted a copy of puppy.sfs i made on that boot, geany still existed there. I was wondering what exactly happened.
Does my .2fs save file have a completely filesystem? when i boot, it loads the sfs and 2fs files (according to the message). So, could someone please explain?
Last edited by AJK101 on Fri 25 Feb 2011, 09:40; edited 1 time in total
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9389 Location: SwedenEurope
|
Posted: Thu 24 Feb 2011, 04:07 Post subject:
|
|
Thanks GustavoYz you describe it good while I only wild guessed.
I would use the wellminded search engine on Murga Puppy linux forum to find threads about remastering and such
http://www.wellminded.com/puppy/pupsearch.html
Try different keyword search in that one and you find many explanations.
I trust Barry Kauler have a history on how Puppy have changed through the years of Development too and there you have the structure described and what is needed for to make a Puppy as you want it.
If you are good at being structured then you can learn to use Woof and make your very own version with only those things you give priority to and have your own distro version.
_________________
I'm a noob so I use Google Search of Puppy Forum
Last edited by nooby on Thu 24 Feb 2011, 04:24; edited 1 time in total
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 867 Location: .ar
|
Posted: Thu 24 Feb 2011, 04:14 Post subject:
|
|
I think that there is only one method of uninstall built-in apps without entering into the 'Remaster' terrain (I wont contemplate the idea of delete the program files by hand, one by one).
Go to ibiblio repository and install EXACTLY THE SAME PACKAGE that you want to uninstall. Yes, i'm not drunk...
Doing this, you'll overwrite the existent files.
Now, uninstall it from PPM.
If you delete the .desktop file and the plain-text file into /.Packages, you're not uninstalling, just hiding the menu-entry and 'register' of the app.
_________________

|
|
Back to top
|
|
 |
AJK101
Joined: 17 Dec 2010 Posts: 41 Location: India
|
Posted: Thu 24 Feb 2011, 21:41 Post subject:
misunderstanding |
|
okay, you have misunderstood me slightly, i didn't just delete the text file in /rot/.packages i deleted all the files that it listed in the text file. That text file contains all the files that were created by the installer when whoever put them in the main sfs file, and deleted them. BUT i don't know what exactly happens, but it doesn't actually get deleted from the main sfs, as i am guessing puppy doesn't modify that file when shutting down.
Just a run through, i deleted ALL files on my machine corresponding to geany (this was properly done), and then when i restarted (i.e. when the sfs and my save file (2fs) are loaded) it wasn't present. But my sfs file still contains all the geany files (but doesn't load them when i boot the computer)
So, what exactly does puppy do when i delete a file? (cuz it is still present, but doesn't load)
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7756 Location: Stratford, Ontario
|
Posted: Thu 24 Feb 2011, 23:54 Post subject:
|
|
When you delete a file that exists in the sfs, a "whiteout" file is created that masks the original. You can see these hidden files in /initrd/pup_rw. They are named .wh.xxx.
|
|
Back to top
|
|
 |
GustavoYz

Joined: 07 Jul 2010 Posts: 867 Location: .ar
|
Posted: Fri 25 Feb 2011, 01:20 Post subject:
|
|
| rcrsn51 wrote: | | When you delete a file that exists in the sfs, a "whiteout" file is created that masks the original. You can see these hidden files in /initrd/pup_rw. They are named .wh.xxx. |
Exactly.
Your information its stored on the pupsave and not in your SFS, thus the apps are still there but the info inside your pupsave is 'blocking' the files.
If you want to delete those files from the main SFS, you should modify it (all this sounds like a remaster issue to me).
You can always recreate the main SFS manually, see this great scripts from jrb: http://www.murga-linux.com/puppy/viewtopic.php?t=46283
If what you really want its to get a base to build a customized system, the solution to try its called Tiny Core.
But let me tell you my experience: to get a few number of functions working (like a browser, a media player and a text editor), you'll have to install deps and libs... a lot of them.
The resulting 'sys-thingy', its not so much tinier or faster than Puppy and it is no-way-even-close to the puppy inbuilt functionality... But maybe all of this just happens to me.
I bet that rcrsn51 Tiny Core system runs great...
_________________

|
|
Back to top
|
|
 |
AJK101
Joined: 17 Dec 2010 Posts: 41 Location: India
|
Posted: Fri 25 Feb 2011, 06:28 Post subject:
thanks |
|
Ah, i see, got it, thanks a lot
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4354 Location: merriam, kansas
|
Posted: Fri 25 Feb 2011, 09:01 Post subject:
Re: thanks |
|
| AJK101 wrote: | Ah, i see, got it, thanks a lot  |
With a "full" install, any files that are deleted are permanently
gone; and the space they were using is recovered.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
ICPUG
Joined: 24 Jul 2005 Posts: 1278 Location: UK
|
Posted: Fri 25 Feb 2011, 09:10 Post subject:
Re: thanks |
|
| rjbrewer wrote: | | AJK101 wrote: | Ah, i see, got it, thanks a lot  |
With a "full" install, any files that are deleted are permanently
gone; and the space they were using is recovered. |
Until the next update!
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4354 Location: merriam, kansas
|
Posted: Fri 25 Feb 2011, 09:28 Post subject:
Re: thanks |
|
| ICPUG wrote: | | rjbrewer wrote: | | AJK101 wrote: | Ah, i see, got it, thanks a lot  |
With a "full" install, any files that are deleted are permanently
gone; and the space they were using is recovered. |
Until the next update!  |
Meaning?
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
AJK101
Joined: 17 Dec 2010 Posts: 41 Location: India
|
Posted: Fri 25 Feb 2011, 09:39 Post subject:
|
|
I guess he means that it will be deleted until you update the puppy to another version, when the deleted files will be replaced, as according to the update, they are supposed to exist?
Anyway, i am adding solved to the title, thanks for all the help.
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4354 Location: merriam, kansas
|
Posted: Fri 25 Feb 2011, 10:01 Post subject:
|
|
| AJK101 wrote: | I guess he means that it will be deleted until you update the puppy to another version, when the deleted files will be replaced, as according to the update, they are supposed to exist?
Anyway, i am adding solved to the title, thanks for all the help. |
Obviously! Don't add what you've just deleted.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
ICPUG
Joined: 24 Jul 2005 Posts: 1278 Location: UK
|
Posted: Mon 28 Feb 2011, 08:34 Post subject:
|
|
| rjbrewer wrote: | | AJK101 wrote: | I guess he means that it will be deleted until you update the puppy to another version, when the deleted files will be replaced, as according to the update, they are supposed to exist?
Anyway, i am adding solved to the title, thanks for all the help. |
Obviously! Don't add what you've just deleted. |
Not so obvious.
If you update from say version 5.x to 5.x+1 what control do you have to say don't add this cos I don't actually want it. None.
You will have to delete it again or am I missing something?
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4354 Location: merriam, kansas
|
Posted: Mon 28 Feb 2011, 11:34 Post subject:
|
|
| ICPUG wrote: |
If you update from say version 5.x to 5.x+1 what control do you have to say don't add this cos I don't actually want it. None.
You will have to delete it again or am I missing something? |
I think you're starting to catch on.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|