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 Sat 25 Oct 2014, 14:58
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 Posts_count  
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  192 Time(s) 
gno-save.png
 Description   
 Filesize   12.75 KB
 Viewed   492 Time(s)

gno-save.png

Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5037
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: 5037
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0467s ][ Queries: 12 (0.0063s) ][ GZIP on ]