Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 20:24
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
[SOLVED]What happens when i delete inbuilt files of puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [14 Posts]  
Author Message
AJK101

Joined: 17 Dec 2010
Posts: 41
Location: India

PostPosted: 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
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: 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 use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Thu 24 Feb 2011, 04:24; edited 1 time in total
Back to top
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 895
Location: .ar

PostPosted: 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...Razz
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
View user's profile Send private message 
AJK101

Joined: 17 Dec 2010
Posts: 41
Location: India

PostPosted: 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
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 8939
Location: Stratford, Ontario

PostPosted: 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
View user's profile Send private message 
GustavoYz


Joined: 07 Jul 2010
Posts: 895
Location: .ar

PostPosted: 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... Cool

_________________

Back to top
View user's profile Send private message 
AJK101

Joined: 17 Dec 2010
Posts: 41
Location: India

PostPosted: Fri 25 Feb 2011, 06:28    Post subject: thanks  

Ah, i see, got it, thanks a lot Smile
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Fri 25 Feb 2011, 09:01    Post subject: Re: thanks  

AJK101 wrote:
Ah, i see, got it, thanks a lot Smile


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.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1289
Location: UK

PostPosted: Fri 25 Feb 2011, 09:10    Post subject: Re: thanks  

rjbrewer wrote:
AJK101 wrote:
Ah, i see, got it, thanks a lot Smile


With a "full" install, any files that are deleted are permanently
gone; and the space they were using is recovered.


Until the next update! Very Happy
Back to top
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: Fri 25 Feb 2011, 09:28    Post subject: Re: thanks  

ICPUG wrote:
rjbrewer wrote:
AJK101 wrote:
Ah, i see, got it, thanks a lot Smile


With a "full" install, any files that are deleted are permanently
gone; and the space they were using is recovered.


Until the next update! Very Happy


Meaning?

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
AJK101

Joined: 17 Dec 2010
Posts: 41
Location: India

PostPosted: 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
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: 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.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
ICPUG

Joined: 24 Jul 2005
Posts: 1289
Location: UK

PostPosted: 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
View user's profile Send private message 
rjbrewer


Joined: 22 Jan 2008
Posts: 4422
Location: merriam, kansas

PostPosted: 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. Shocked

_________________

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [14 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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
[ Time: 0.0780s ][ Queries: 11 (0.0034s) ][ GZIP on ]