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 28 Nov 2014, 12:05
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Using whiteouts
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Mon 26 Dec 2011, 17:53    Post subject:  

big_bass wrote:
jpeps

white outs is an interesting subject since we have mounted sfs'

a lot of things have already been done
this will interest you with more information


Hi Joe,

I recall getting involved in this during the development of sfs-on-the-fly, and wrote my own scripts to monitor and/or delete them so things would load correctly. Since we have them, I thought maybe there was some other usefulness.

I updated this so it works with all directories. Various buttons:

set mark: check to add a new mark. New files are anything written after setting the mark.

Files: finds new files in selected directory (can edit)
Build: Adds files from the "files" list to a build list (can edit)
Block: Creates whiteouts for files on the list. For "/mnt" directory, it simply moves files to .files.swp so they can be restored if desired.
Restore: Restores files by removing the whiteouts, or in /mnt/ moving the .swp file back to it's original name
Delete: Deletes the whiteout and files.

edit: one use is easy management of .mozilla caches

note: for cli usage, run "no-save -h" for options (works for /usr files).
gno-save-2.0.pet
Description 
pet

 Download 
Filename  gno-save-2.0.pet 
Filesize  2.64 KB 
Downloaded  194 Time(s) 
gno-save.png
 Description   
 Filesize   12.75 KB
 Viewed   668 Time(s)

gno-save.png

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


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Tue 27 Dec 2011, 00:27    Post subject:  

Whiteouts and other necessities of unions are signs of induced complication.
When you have to patch holes in something like this, it`s not a good thing.

Unions work well and have come a long way, but they`re not necessary.
In the spirit of KISS... Why complicate things when it`s not an advantage?
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Tue 27 Dec 2011, 01:45    Post subject:  

sunburnt wrote:

In the spirit of KISS... Why complicate things when it`s not an advantage?


To use it to my advantage
Back to top
View user's profile Send private message 
sunburnt


Joined: 08 Jun 2005
Posts: 5042
Location: Arizona, U.S.A.

PostPosted: Tue 27 Dec 2011, 23:34    Post subject:  

Hi jpeps; I understand what you mean.

I`m sure you understand what I mean also... Cool
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0511s ][ Queries: 12 (0.0101s) ][ GZIP on ]