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 Thu 24 Jul 2014, 16:21
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Deleted files reappear in RAM next load
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Ted Dog


Joined: 13 Sep 2005
Posts: 2292
Location: Heart of Texas

PostPosted: Sun 31 Mar 2013, 00:27    Post_subject:  Deleted files reappear in RAM next load
Sub_title: relearning the old ways
 

The save session multisession code has been so convoluted over the past few years, its become hard to debug.

It was a simple few lines of code originally Wink Now the only thing I see left of my original stuff was the never meant to be in the resulting code was (unless it has not, which is an error)

Came across an unexpected bug when stress testing unmodified save session code and I wonder if any one else noticed. I did saves of iso files I am downloading throughout the day They got large so I did a savesession and then deleted those 600M of files from RAM. Later the computer was acting slow and seems like my router burped so I shutdown with savesession and rebooted every thing. ON my reboot those large files where loaded into RAM.
reloadbug.png
 Description   
 Filesize   56.26 KB
 Viewed   366 Time(s)

reloadbug.png

Back to top
View user's profile Send_private_message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10927
Location: Arizona USA

PostPosted: Sun 31 Mar 2013, 17:59    Post_subject:  

Could the 4 GB barrier somehow be responsible? I confess that I've never tried to save a file larger than a few hundred MB in a session, and that was years ago. Lately I only save on my multisession DVD small stuff such as .pets that I install and find that I like. Anything not directly related to running my multisession Puppy, I save on an external drive.
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2292
Location: Heart of Texas

PostPosted: Sun 31 Mar 2013, 20:37    Post_subject:  

no only 5 to 600 meg. I think the .wh_ files are not being respected on reload, Or files deleted in RW mode do not generate a .wh_ file due to auf layering changes. I cut and pasted code to be able to see the growisofs warnings which are not produced on the 2> error trapping log file. And see that the ,wh_ files are being burned to disc.
Back to top
View user's profile Send_private_message 
partsman

Joined: 06 Jun 2012
Posts: 245
Location: OHIO,USA

PostPosted: Sun 31 Mar 2013, 23:19    Post_subject:  

Hi Ted Dog
just wondering what puppy version this happend to you on ?
I have several m/s dvds and i like m/s puppy just thought i might try to duplicate the problem Very Happy I personaly love to use m/s dvd method i think it is wonderful for beginers as well as long time puppy users who dont have a hard drive or are limited on space etc. thanks for sharing

_________________
"PUPPY" POWERED BY PEOPLE
AKITA LINUX kernel 2.6.32.28
Wink
Back to top
View user's profile Send_private_message 
partsman

Joined: 06 Jun 2012
Posts: 245
Location: OHIO,USA

PostPosted: Wed 06 Nov 2013, 13:22    Post_subject:  

@ Ted Dog
I too have had this problem ! what I found was that if you save with button on the desktop the files will reappear ! But if you shutdown then save when prompted the files will be deleted Wink

_________________
"PUPPY" POWERED BY PEOPLE
AKITA LINUX kernel 2.6.32.28
Wink
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8028

PostPosted: Wed 06 Nov 2013, 16:42    Post_subject:  

Quote:
Or files deleted in RW mode do not generate a .wh_ file


If you add a file and then delete it in a session, no .wh._ file will be generated as it has simply been removed as far as the union is concerned. (there is nothing underneath to hide in other words)
So there would not be a whiteout file to save at shutdown.
I suppose the shutdown script should check previous sessions before saving but that would cumbersome (you may have made several session saves for example)... its really just a limitation of the system as it is.

Actually the older unionfs had the opposite behaviour...it would have generated a whiteout in this case but also copied any file that was looked at into the read write layer so tended to build up lots of unecessary whiteouts and duplicate files.

The multisession scripts have changed little...just the layering system behaves slightly differently.

Snapmerge has a similar quirk... edit a core file then delete it... the original returns after boot... (or something very similar)

mike
Back to top
View user's profile Send_private_message 
Ted Dog


Joined: 13 Sep 2005
Posts: 2292
Location: Heart of Texas

PostPosted: Wed 06 Nov 2013, 23:00    Post_subject:  

This whiteout bug is tricky, may have found the cause in fatdogs64 rewritten version. But have not looked if the same IF then ELSE logic code fragment exists in 32bit world but it may have the same effect.
Could you direct me into which ever version you found the bug.
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 » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
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.0576s ][ Queries: 13 (0.0056s) ][ GZIP on ]